Class FixedLocationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.rest.FixedLocationRequestBody
-
- All Implemented Interfaces:
Serializable
public class FixedLocationRequestBody extends Object implements Serializable
FixedLocationRequestBody carries the parameters for marking a location as a fixed physical location.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FixedLocationRequestBody()Default constructorFixedLocationRequestBody(FixedLocationRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetCoordinates()Return the position of the location.StringgetMapProjection()Return the map projection used to define the coordinates.StringgetPostalAddress()Return the postal address of the location (if appropriate).StringgetTimeZone()Return the time zone for the location.inthashCode()Return hash code for this objectvoidsetCoordinates(String coordinates)Set up the position of the location.voidsetMapProjection(String mapProjection)Set up the map projection used to define the coordinates.voidsetPostalAddress(String postalAddress)Set up the postal address of the location (if appropriate).voidsetTimeZone(String timeZone)Set up the time zone for the location.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
FixedLocationRequestBody
public FixedLocationRequestBody()
Default constructor
-
FixedLocationRequestBody
public FixedLocationRequestBody(FixedLocationRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getCoordinates
public String getCoordinates()
Return the position of the location.- Returns:
- string coordinates
-
setCoordinates
public void setCoordinates(String coordinates)
Set up the position of the location.- Parameters:
coordinates- string coordinates
-
getMapProjection
public String getMapProjection()
Return the map projection used to define the coordinates.- Returns:
- name
-
setMapProjection
public void setMapProjection(String mapProjection)
Set up the map projection used to define the coordinates.- Parameters:
mapProjection- name
-
getPostalAddress
public String getPostalAddress()
Return the postal address of the location (if appropriate).- Returns:
- address
-
setPostalAddress
public void setPostalAddress(String postalAddress)
Set up the postal address of the location (if appropriate).- Parameters:
postalAddress- address
-
getTimeZone
public String getTimeZone()
Return the time zone for the location.- Returns:
- timezone identifier
-
setTimeZone
public void setTimeZone(String timeZone)
Set up the time zone for the location.- Parameters:
timeZone- timezone identifier
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-