Class FixedLocationRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FixedLocationRequestBody
FixedLocationRequestBody carries the parameters for marking a location as a fixed physical location.
-
Constructor Summary
ConstructorDescriptionDefault 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 toString
-
Constructor Details
-
FixedLocationRequestBody
public FixedLocationRequestBody()Default constructor -
FixedLocationRequestBody
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 -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-