org.opengis.ct
Class CT_Parameter

java.lang.Object
  extended byorg.opengis.ct.CT_Parameter
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

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

A named parameter value.

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
CT_Parameter()
          Construct an empty parameter.
CT_Parameter(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

CT_Parameter

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


CT_Parameter

public CT_Parameter(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.