Class FixedLocation

  • All Implemented Interfaces:
    java.io.Serializable

    public class FixedLocation
    extends java.lang.Object
    implements java.io.Serializable
    FixedLocation describes a specific fixed physical location.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getCoordinates()
      Return the coordinates for the location.
      java.lang.String getMapProjection()
      Return the name of the map projection scheme used to define the coordinates.
      java.lang.String getPostalAddress()
      Return the postal address for the location.
      java.lang.String getTimeZone()
      Returns the time zone of the location.
      int hashCode()
      Return has code based on properties.
      void setCoordinates​(java.lang.String coordinates)
      Set up coordinates of the location.
      void setMapProjection​(java.lang.String mapProjection)
      Set up the name of the map projection scheme used to define the coordinates.
      void setPostalAddress​(java.lang.String postalAddress)
      Set up postal address of the location.
      void setTimeZone​(java.lang.String timeZone)
      Set up the time zone of the location.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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​(java.lang.String coordinates)
        Set up coordinates of the location.
        Parameters:
        coordinates - String
      • getCoordinates

        public java.lang.String getCoordinates()
        Return the coordinates for the location.
        Returns:
        String coordinates
      • getMapProjection

        public java.lang.String getMapProjection()
        Return the name of the map projection scheme used to define the coordinates.
        Returns:
        string name
      • setMapProjection

        public void setMapProjection​(java.lang.String mapProjection)
        Set up the name of the map projection scheme used to define the coordinates.
        Parameters:
        mapProjection - string name
      • setPostalAddress

        public void setPostalAddress​(java.lang.String postalAddress)
        Set up postal address of the location.
        Parameters:
        postalAddress - String
      • getPostalAddress

        public java.lang.String getPostalAddress()
        Return the postal address for the location.
        Returns:
        String postalAddress
      • setTimeZone

        public void setTimeZone​(java.lang.String timeZone)
        Set up the time zone of the location.
        Parameters:
        timeZone - string
      • getTimeZone

        public java.lang.String getTimeZone()
        Returns the time zone of the location.
        Returns:
        string
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return has code based on properties.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int