org.opengis.cs
Class CS_ProjectionParameter

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

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

A named projection parameter value. The linear units of parameters' values match the linear units of the containing projected coordinate system. The angular units of parameter values match the angular units of the geographic coordinate system that the projected coordinate system is based on. (Notice that this is different from CT_Parameter, where the units are always meters and degrees.)

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

Field Summary
 java.lang.String name
          The parameter name.
private static long serialVersionUID
          Use serialVersionUID from first draft for interoperability with CSS 1.00.
 double value
          The parameter value.
 
Constructor Summary
CS_ProjectionParameter()
          Construct an empty parameter.
CS_ProjectionParameter(java.lang.String name, double value)
          Construct a named parameter.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this parameter.
 boolean equals(java.lang.Object object)
          Compares the specified object with this parameter for equality.
 int hashCode()
          Returns a hash value for this parameter.
 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
The parameter name.


value

public double value
The parameter value.

Constructor Detail

CS_ProjectionParameter

public CS_ProjectionParameter()
Construct an empty parameter. Caller must initialize name and value.


CS_ProjectionParameter

public CS_ProjectionParameter(java.lang.String name,
                              double value)
Construct a named parameter.

Parameters:
name - The parameter name.
value - The parameter value.
Method Detail

hashCode

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


clone

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


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.