Class AxisName

java.lang.Object
org.apache.sis.referencing.factory.sql.AxisName

final class AxisName extends Object
A (name, description) pair for a coordinate system axis.
Since:
0.7
Version:
0.7
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final String
    The coordinate system axis description, or null if none.
    (package private) final String
    The coordinate system axis name (never null).
  • Constructor Summary

    Constructors
    Constructor
    Description
    AxisName(String name, String description)
    Creates a new coordinate system axis name.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
    Compares this name with the specified object for equality.
    int
    Returns a hash code for this object.
    Returns a string representation of this object, for debugging purpose only.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

      final String name
      The coordinate system axis name (never null).
    • description

      final String description
      The coordinate system axis description, or null if none.
  • Constructor Details

    • AxisName

      AxisName(String name, String description)
      Creates a new coordinate system axis name.
  • Method Details

    • hashCode

      public int hashCode()
      Returns a hash code for this object.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Compares this name with the specified object for equality.
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Returns a string representation of this object, for debugging purpose only.
      Overrides:
      toString in class Object