Class FixedLocation
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.FixedLocation
FixedLocation describes a specific fixed physical location.
-
Constructor Summary
ConstructorDescriptionDefault constructorFixedLocation
(FixedLocation 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 coordinates for the location.Return the name of the map projection scheme used to define the coordinates.Return the postal address for the location.Returns the time zone of the location.int
hashCode()
Return hash code based on properties.void
setCoordinates
(String coordinates) Set up coordinates of the location.void
setMapProjection
(String mapProjection) Set up the name of the map projection scheme used to define the coordinates.void
setPostalAddress
(String postalAddress) Set up postal address of the location.void
setTimeZone
(String timeZone) Set up the time zone of the location.toString()
Standard toString method.
-
Constructor Details
-
FixedLocation
public FixedLocation()Default constructor -
FixedLocation
Copy/clone constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
setCoordinates
Set up coordinates of the location.- Parameters:
coordinates
- String
-
getCoordinates
Return the coordinates for the location.- Returns:
- String coordinates
-
getMapProjection
Return the name of the map projection scheme used to define the coordinates.- Returns:
- string name
-
setMapProjection
Set up the name of the map projection scheme used to define the coordinates.- Parameters:
mapProjection
- string name
-
setPostalAddress
Set up postal address of the location.- Parameters:
postalAddress
- String
-
getPostalAddress
Return the postal address for the location.- Returns:
- String postalAddress
-
setTimeZone
Set up the time zone of the location.- Parameters:
timeZone
- string
-
getTimeZone
Returns the time zone of the location.- Returns:
- string
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-