@ThreadSafe public class CoordinateTransform extends Object implements Comparable<CoordinateTransform>
Modifier and Type | Class and Description |
---|---|
static class |
CoordinateTransform.Builder<T extends CoordinateTransform.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected String |
authority |
protected String |
name |
protected List<ucar.unidata.util.Parameter> |
params |
protected TransformType |
transformType |
Modifier | Constructor and Description |
---|---|
protected |
CoordinateTransform(CoordinateTransform.Builder<?> builder,
NetcdfDataset ncd) |
|
CoordinateTransform(String name,
String authority,
TransformType transformType)
Deprecated.
Use CoordinateTransform.builder()
|
protected |
CoordinateTransform(String name,
String authority,
TransformType transformType,
List<ucar.unidata.util.Parameter> params)
Create a Coordinate Transform.
|
Modifier and Type | Method and Description |
---|---|
protected CoordinateTransform.Builder<?> |
addLocalFieldsToBuilder(CoordinateTransform.Builder<? extends CoordinateTransform.Builder<?>> b) |
void |
addParameter(ucar.unidata.util.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.
|
ucar.unidata.util.Parameter |
findParameterIgnoreCase(String name)
Convenience function; look up Parameter by name, ignoring case.
|
AttributeContainer |
getAttributeContainer() |
String |
getAuthority() |
String |
getName() |
com.google.common.collect.ImmutableList<ucar.unidata.util.Parameter> |
getParameters() |
TransformType |
getTransformType() |
int |
hashCode()
Override Object.hashCode() to be consistent with equals.
|
CoordinateTransform.Builder<?> |
toBuilder() |
String |
toString() |
protected String name
protected String authority
protected final TransformType transformType
protected List<ucar.unidata.util.Parameter> params
protected CoordinateTransform(String name, String authority, TransformType transformType, List<ucar.unidata.util.Parameter> params)
name
- name of transform, must be unique within the Coordinate System.authority
- naming authoritytransformType
- type of transform.params
- list of Parameters.@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.protected CoordinateTransform(CoordinateTransform.Builder<?> builder, NetcdfDataset ncd)
@Deprecated public void addParameter(ucar.unidata.util.Parameter param)
param
- add this Parameterpublic String getName()
public AttributeContainer getAttributeContainer()
public String getAuthority()
public TransformType getTransformType()
public com.google.common.collect.ImmutableList<ucar.unidata.util.Parameter> getParameters()
public ucar.unidata.util.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()
protected CoordinateTransform.Builder<?> addLocalFieldsToBuilder(CoordinateTransform.Builder<? extends CoordinateTransform.Builder<?>> b)
public static CoordinateTransform.Builder<?> builder()