org.opengis.cs
Class CS_AxisInfo

java.lang.Object
  extended byorg.opengis.cs.CS_AxisInfo
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class CS_AxisInfo
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Details of axis. This is used to label axes, and indicate the orientation.

Since:
1.00
Version:
1.01
Author:
Martin Daly, Martin Desruisseaux
See Also:
Serialized Form

Field Summary
 java.lang.String name
          Human readable name for axis.
 CS_AxisOrientationEnum orientation
          Gets enumerated value for orientation.
private static long serialVersionUID
          Use serialVersionUID from first draft for interoperability with CSS 1.00.
 
Constructor Summary
CS_AxisInfo()
          Construct an empty AxisInfo.
CS_AxisInfo(java.lang.String name, CS_AxisOrientationEnum orientation)
          Construct an AxisInfo.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this AxisInfo.
 boolean equals(java.lang.Object object)
          Compares the specified object with this parameter for equality.
 int hashCode()
          Returns a hash value for this AxisInfo.
 java.lang.String toString()
          Returns a string représentation of this parameter.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Use serialVersionUID from first draft for interoperability with CSS 1.00.

See Also:
Constant Field Values

name

public java.lang.String name
Human readable name for axis. Possible values are X, Y, Long, Lat or any other short string.


orientation

public CS_AxisOrientationEnum orientation
Gets enumerated value for orientation.

Constructor Detail

CS_AxisInfo

public CS_AxisInfo()
Construct an empty AxisInfo. Caller must initialize name and orientation.


CS_AxisInfo

public CS_AxisInfo(java.lang.String name,
                   CS_AxisOrientationEnum orientation)
Construct an AxisInfo.

Parameters:
name - The axis name.
orientation - The axis orientation.
Method Detail

hashCode

public int hashCode()
Returns a hash value for this AxisInfo. This value need not remain consistent between different implementations of the same class.


clone

public java.lang.Object clone()
Returns a copy of this AxisInfo.


equals

public boolean equals(java.lang.Object object)
Compares the specified object with this parameter for equality.


toString

public java.lang.String toString()
Returns a string représentation of this parameter. The returned string is implementation dependent. It is usually provided for debugging purposes only.