@ThreadSafe public class CoordinateTransform extends Object implements Comparable<CoordinateTransform>
Modifier and Type | Class and Description |
---|---|
static class |
CoordinateTransform.Builder<T extends CoordinateTransform.Builder<T>> |
Constructor and Description |
---|
CoordinateTransform(String name,
String authority,
TransformType transformType)
Deprecated.
Use CoordinateTransform.builder()
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(Parameter param)
Deprecated.
Use CoordinateTransform.builder()
|
static CoordinateTransform.Builder<?> |
builder()
Get Builder for this class that allows subclassing.
|
int |
compareTo(CoordinateTransform oct) |
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.
|
AttributeContainer |
getAttributeContainer() |
String |
getAuthority() |
String |
getName() |
List<Parameter> |
getParameters() |
TransformType |
getTransformType() |
int |
hashCode()
Override Object.hashCode() to be consistent with equals.
|
CoordinateTransform.Builder<?> |
toBuilder() |
String |
toString() |
@Deprecated public CoordinateTransform(String name, String authority, TransformType transformType)
name
- name of transform, must be unique within the NcML.authority
- naming authoritytransformType
- type of transform.@Deprecated public void addParameter(Parameter param)
param
- add this Parameterpublic String getName()
public AttributeContainer getAttributeContainer()
public String getAuthority()
public TransformType getTransformType()
public Parameter findParameterIgnoreCase(String name)
name
- the name of the attributepublic boolean equals(Object oo)
public int hashCode()
public int compareTo(CoordinateTransform oct)
compareTo
in interface Comparable<CoordinateTransform>
public CoordinateTransform.Builder<?> toBuilder()
public static CoordinateTransform.Builder<?> builder()