Class DigitalLocationProperties

java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.DigitalLocationProperties
All Implemented Interfaces:
Serializable

public class DigitalLocationProperties extends ClassificationProperties
DigitalLocationProperties carries the parameters for marking a location as a digital (cyber) location.
See Also:
  • Constructor Details

    • DigitalLocationProperties

      public DigitalLocationProperties()
      Default constructor
    • DigitalLocationProperties

      public DigitalLocationProperties(DigitalLocationProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getNetworkAddress

      public String getNetworkAddress()
      Return the network address used to connect to the location.
      Returns:
      string name - often a URL
    • setNetworkAddress

      public void setNetworkAddress(String networkAddress)
      Set up the network address used to connect to the location.
      Parameters:
      networkAddress - string name - often a URL
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ClassificationProperties
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class ClassificationProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ClassificationProperties
      Returns:
      int hash code