Class FixedLocationProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.FixedLocationProperties
- All Implemented Interfaces:
Serializable
FixedLocationProperties carries the parameters for marking a location as a fixed physical 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 position of the location.Return the map projection used to define the coordinates.Return the postal address of the location (if appropriate).Return the time zone for the location.int
hashCode()
Return hash code for this objectvoid
setCoordinates
(String coordinates) Set up the position of the location.void
setMapProjection
(String mapProjection) Set up the map projection used to define the coordinates.void
setPostalAddress
(String postalAddress) Set up the postal address of the location (if appropriate).void
setTimeZone
(String timeZone) Set up the time zone for the location.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
FixedLocationProperties
public FixedLocationProperties()Default constructor -
FixedLocationProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getCoordinates
Return the position of the location.- Returns:
- string coordinates
-
setCoordinates
Set up the position of the location.- Parameters:
coordinates
- string coordinates
-
getMapProjection
Return the map projection used to define the coordinates.- Returns:
- name
-
setMapProjection
Set up the map projection used to define the coordinates.- Parameters:
mapProjection
- name
-
getPostalAddress
Return the postal address of the location (if appropriate).- Returns:
- address
-
setPostalAddress
Set up the postal address of the location (if appropriate).- Parameters:
postalAddress
- address
-
getTimeZone
Return the time zone for the location.- Returns:
- timezone identifier
-
setTimeZone
Set up the time zone for the location.- Parameters:
timeZone
- timezone identifier
-
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
-