Class CyberLocationProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.locations.CyberLocationProperties
CyberLocationProperties indicates that a location is a cyber location rather than a physical location.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the address for the location.inthashCode()Return hash code based on properties.voidsetAddress(String address) Set up address of the location.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
CyberLocationProperties
public CyberLocationProperties()Default constructor -
CyberLocationProperties
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Details
-
setAddress
Set up address of the location.- Parameters:
address- String
-
getAddress
Return the address for the location.- Returns:
- String address
-
toString
Standard toString method.- Overrides:
toStringin classClassificationProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classClassificationProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classClassificationProperties- Returns:
- int
-