|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.dataset.CoordinateTransform
@ThreadSafe public class CoordinateTransform
A CoordinateTransform is an abstraction of a function from a CoordinateSystem to a "reference" CoordinateSystem, such as lat, lon.
Field Summary | |
---|---|
protected String |
authority
|
protected String |
name
|
protected List<Parameter> |
params
|
protected TransformType |
transformType
|
Constructor Summary | |
---|---|
CoordinateTransform(String name,
String authority,
TransformType transformType)
Create a Coordinate Transform. |
Method Summary | |
---|---|
void |
addParameter(Parameter param)
add a parameter |
int |
compareTo(Object o)
|
boolean |
equals(Object oo)
Instances which have same name, authority and parameters are equal. |
Parameter |
findParameterIgnoreCase(String name)
Convenience function; look up Parameter by name, ignoring case. |
String |
getAuthority()
get the naming authority |
String |
getName()
get the name |
List<Parameter> |
getParameters()
get list of ProjectionParameter objects. |
TransformType |
getTransformType()
get the transform type |
int |
hashCode()
Override Object.hashCode() to be consistent with equals. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final String name
protected final String authority
protected final TransformType transformType
protected List<Parameter> params
Constructor Detail |
---|
public CoordinateTransform(String name, String authority, TransformType transformType)
name
- name of transform, must be unique within the NcML.authority
- naming authoritytransformType
- type of transform.Method Detail |
---|
public void addParameter(Parameter param)
param
- add this Parameterpublic String getName()
public String getAuthority()
public TransformType getTransformType()
public List<Parameter> getParameters()
public Parameter findParameterIgnoreCase(String name)
name
- the name of the attribute
public boolean equals(Object oo)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |