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:
  • Constructor Details

    • FixedLocationRequestBody

      public FixedLocationRequestBody()
      Default constructor
    • FixedLocationRequestBody

      public FixedLocationRequestBody(FixedLocationRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code