Class LocationProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.locations.LocationProperties
LocationProperties is a class for representing a generic location.
-
Constructor Summary
ConstructorDescriptionDefault constructorLocationProperties
(LocationProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare 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.Return the code value or symbol used to identify the location - typically unique.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the description of the location.void
setDisplayName
(String displayName) Set up a human memorable name for the location.void
setIdentifier
(String identifier) Set up the code value or symbol used to identify the location - typically unique.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
LocationProperties
public LocationProperties()Default constructor -
LocationProperties
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getIdentifier
Return the code value or symbol used to identify the location - typically unique.- Returns:
- string identifier
-
setIdentifier
Set up the code value or symbol used to identify the location - typically unique.- Parameters:
identifier
- string identifier
-
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:
toString
in 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:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int
-