Class FixedLocation
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.FixedLocation
-
- All Implemented Interfaces:
Serializable
public class FixedLocation extends Object implements Serializable
FixedLocation describes a specific fixed physical location.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FixedLocation()Default constructorFixedLocation(FixedLocation template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetCoordinates()Return the coordinates for the location.StringgetMapProjection()Return the name of the map projection scheme used to define the coordinates.StringgetPostalAddress()Return the postal address for the location.StringgetTimeZone()Returns the time zone of the location.inthashCode()Return has code based on properties.voidsetCoordinates(String coordinates)Set up coordinates of the location.voidsetMapProjection(String mapProjection)Set up the name of the map projection scheme used to define the coordinates.voidsetPostalAddress(String postalAddress)Set up postal address of the location.voidsetTimeZone(String timeZone)Set up the time zone of the location.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
FixedLocation
public FixedLocation()
Default constructor
-
FixedLocation
public FixedLocation(FixedLocation template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
setCoordinates
public void setCoordinates(String coordinates)
Set up coordinates of the location.- Parameters:
coordinates- String
-
getCoordinates
public String getCoordinates()
Return the coordinates for the location.- Returns:
- String coordinates
-
getMapProjection
public String getMapProjection()
Return the name of the map projection scheme used to define the coordinates.- Returns:
- string name
-
setMapProjection
public void setMapProjection(String mapProjection)
Set up the name of the map projection scheme used to define the coordinates.- Parameters:
mapProjection- string name
-
setPostalAddress
public void setPostalAddress(String postalAddress)
Set up postal address of the location.- Parameters:
postalAddress- String
-
getPostalAddress
public String getPostalAddress()
Return the postal address for the location.- Returns:
- String postalAddress
-
setTimeZone
public void setTimeZone(String timeZone)
Set up the time zone of the location.- Parameters:
timeZone- string
-
getTimeZone
public String getTimeZone()
Returns the time zone of the location.- Returns:
- string
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-