Class LocationProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.LocationProperties
- All Implemented Interfaces:
Serializable
LocationProperties is a class for representing a physical or digital location.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLocationProperties(LocationProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the description of the location.Return a human memorable name for the location.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the description of the location.voidsetDisplayName(String displayName) Set up a human memorable name for the location.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
LocationProperties
public LocationProperties()Default constructor -
LocationProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getDisplayName
Return a human memorable name for the location.- Returns:
- string name
-
setDisplayName
Set up a human memorable name for the location.- Parameters:
displayName- string name
-
getDescription
Return the description of the location.- Returns:
- string text
-
setDescription
Set up the description of the location.- Parameters:
description- string text
-
toString
Standard toString method.- Overrides:
toStringin classReferenceableProperties- 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 classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-