Class DigitalLocationProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.DigitalLocationProperties
- All Implemented Interfaces:
Serializable
DigitalLocationProperties carries the parameters for marking a location as a digital (cyber) location.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the network address used to connect to the location.int
hashCode()
Return hash code for this objectvoid
setNetworkAddress
(String networkAddress) Set up the network address used to connect to the location.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
DigitalLocationProperties
public DigitalLocationProperties()Default constructor -
DigitalLocationProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getNetworkAddress
Return the network address used to connect to the location.- Returns:
- string name - often a URL
-
setNetworkAddress
Set up the network address used to connect to the location.- Parameters:
networkAddress
- string name - often a URL
-
toString
JSON-style toString- Overrides:
toString
in classClassificationProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int hash code
-