Class HemisphereOptions

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class HemisphereOptions
    extends java.lang.Object
    implements java.lang.Cloneable
    This class represents hemisphere listing options.
    Version:
    $Revison: $
    Author:
    B. Harris
    • Constructor Summary

      Constructors 
      Constructor Description
      HemisphereOptions()
      Constructs a HemispherOptions object with a default value.
      HemisphereOptions​(boolean north, boolean south)
      Constructs a HemispherOptions object with the given attribute values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      boolean isNorth()
      Gets the value indicating whether the northern hemisphere is to be included.
      boolean isSouth()
      Gets the value indicating whether the southern hemisphere is to be included.
      void setNorth​(boolean value)
      Sets the value indicating whether the northern hemisphere is to be included.
      void setSouth​(boolean value)
      Sets the value indicating whether the southern hemisphere is to be included.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HemisphereOptions

        public HemisphereOptions()
        Constructs a HemispherOptions object with a default value.
      • HemisphereOptions

        public HemisphereOptions​(boolean north,
                                 boolean south)
        Constructs a HemispherOptions object with the given attribute values.
        Parameters:
        north - specifies whether the northern hemisphere is to be included
        south - specifies whether the southern hemisphere is to be included
    • Method Detail

      • isNorth

        public boolean isNorth()
        Gets the value indicating whether the northern hemisphere is to be included.
        Returns:
        true if the northern hemisphere is to be included, false if not
        See Also:
        setNorth(boolean)
      • setNorth

        public void setNorth​(boolean value)
        Sets the value indicating whether the northern hemisphere is to be included.
        Parameters:
        value - new value
        See Also:
        isNorth()
      • isSouth

        public boolean isSouth()
        Gets the value indicating whether the southern hemisphere is to be included.
        Returns:
        true if the southern hemisphere is to be included, false if not
        See Also:
        setSouth(boolean)
      • setSouth

        public void setSouth​(boolean value)
        Sets the value indicating whether the southern hemisphere is to be included.
        Parameters:
        value - new value
        See Also:
        isSouth()
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object