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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalLocationProperties()Default constructorDigitalLocationProperties(DigitalLocationProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetNetworkAddress()Return the network address used to connect to the location.inthashCode()Return hash code for this objectvoidsetNetworkAddress(String networkAddress)Set up the network address used to connect to the location.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
DigitalLocationProperties
public DigitalLocationProperties()
Default constructor
-
DigitalLocationProperties
public DigitalLocationProperties(DigitalLocationProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classClassificationProperties- 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:
equalsin classClassificationProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classClassificationProperties- Returns:
- int hash code
-
-