public class SimpleGeometryFeature extends java.lang.Object implements VariableSimpleIF
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
user |
Constructor and Description |
---|
SimpleGeometryFeature(java.lang.String name,
DataType dataType,
AttributeContainer atts,
java.lang.String coordSysName,
java.lang.String units,
java.lang.String description,
java.lang.Object user,
GeometryType geometryType) |
Modifier and Type | Method and Description |
---|---|
AttributeContainer |
attributes()
Attributes for the variable.
|
int |
compareTo(VariableSimpleIF o) |
Attribute |
findAttributeIgnoreCase(java.lang.String name)
find the attribute for the variable with the given name, ignoring case.
|
java.util.List<Attribute> |
getAttributes()
Attributes for the variable.
|
SimpleGeometryCS |
getCoordSys() |
java.lang.String |
getCoordSysName() |
DataType |
getDataType()
Variable's data type
|
java.lang.String |
getDescription()
description of the Variable
|
java.util.List<Dimension> |
getDimensions()
Dimension List.
|
java.lang.String |
getFullName()
full, backslash escaped name of the data Variable
|
java.lang.String |
getGeometryDescription() |
GeometryType |
getGeometryType() |
CoordinateAxis |
getIDAxis()
Retrieves the ID Axis that corresponds to this geometry.
|
java.lang.String |
getName()
Name of the data Variable.
|
int |
getRank()
Variable rank
|
int[] |
getShape()
Variable shape
|
java.lang.String |
getShortName()
short name of the data Variable
|
java.lang.String |
getUnitsString()
Units of the Variable.
|
java.lang.Object |
getUserObject() |
CoordinateAxis |
getXAxis()
Retrieves the x Axis that corresponds to this geometry.
|
CoordinateAxis |
getYAxis()
Retrieves the y Axis that corresponds to this geometry.
|
CoordinateAxis |
getZAxis()
Retrieves the z Axis that corresponds to this geometry.
|
SimpleGeometry |
readGeometry(int index)
Get the data associated with the index
|
void |
setCoordSys(SimpleGeometryCS coordSys) |
java.lang.String |
toString() |
void |
toString(java.util.Formatter f,
Indent indent) |
public SimpleGeometryFeature(java.lang.String name, DataType dataType, AttributeContainer atts, java.lang.String coordSysName, java.lang.String units, java.lang.String description, java.lang.Object user, GeometryType geometryType)
name
- name of the featuredataType
- data typeatts
- list of attriburtescoordSysName
- name of the coordinate systemunits
- units to be useddescription
- description of the featureuser
- user responsible for featuregeometryType
- type of geometrypublic void setCoordSys(SimpleGeometryCS coordSys)
public java.lang.String getName()
VariableSimpleIF
getName
in interface VariableSimpleIF
public DataType getDataType()
VariableSimpleIF
getDataType
in interface VariableSimpleIF
public AttributeContainer attributes()
VariableSimpleIF
attributes
in interface VariableSimpleIF
public java.util.List<Attribute> getAttributes()
VariableSimpleIF
getAttributes
in interface VariableSimpleIF
public Attribute findAttributeIgnoreCase(java.lang.String name)
VariableSimpleIF
findAttributeIgnoreCase
in interface VariableSimpleIF
name
- attribute namepublic java.lang.String getUnitsString()
VariableSimpleIF
getUnitsString
in interface VariableSimpleIF
public java.lang.String getDescription()
VariableSimpleIF
getDescription
in interface VariableSimpleIF
public java.lang.String getCoordSysName()
public java.lang.Object getUserObject()
public GeometryType getGeometryType()
public java.lang.String getGeometryDescription()
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(java.util.Formatter f, Indent indent)
@Nonnull public SimpleGeometryCS getCoordSys()
public CoordinateAxis getXAxis()
public CoordinateAxis getYAxis()
public CoordinateAxis getZAxis()
public CoordinateAxis getIDAxis()
public SimpleGeometry readGeometry(int index)
index
- number associated with the geometrypublic java.lang.String getFullName()
VariableSimpleIF
getFullName
in interface VariableSimpleIF
public java.lang.String getShortName()
VariableSimpleIF
getShortName
in interface VariableSimpleIF
public int getRank()
VariableSimpleIF
getRank
in interface VariableSimpleIF
public int[] getShape()
VariableSimpleIF
getShape
in interface VariableSimpleIF
public java.util.List<Dimension> getDimensions()
VariableSimpleIF
getDimensions
in interface VariableSimpleIF
public int compareTo(@Nonnull VariableSimpleIF o)
compareTo
in interface java.lang.Comparable<VariableSimpleIF>