Package com.luciad.format.gdf
Class TLcdGDFAttributeType
java.lang.Object
com.luciad.format.gdf.TLcdGDFAttributeType
Provides general information about an attribute type, defined by its attribute type code.
- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the 2-character type code of this attribute type.Returns the TLcdGDFDataType that describes the type of data stored in this attribute.Returns the default value for this attribute.Returns a textual description of this attribute.long
Returns the maximum value allowed for this attribute.long
Returns the minimum value allowed for this attribute.Returns the Class by which the data are represented.getUnit()
Returns the TLcdGDFDataUnit that describes the unit in which the value of this attribute is expressed.int
Returns the 10LOG of the factor with which the data values have to be multiplied to obtain the data unit as specified in the getUnit() method.toString()
Returns a general description of this attribute type.
-
Method Details
-
getAttributeTypeCode
Returns the 2-character type code of this attribute type. See the GDF specification for an exhaustive list of predefined attribute types.- Returns:
- the 2-character type code of this attribute type.
-
getDataType
Returns the TLcdGDFDataType that describes the type of data stored in this attribute.- Returns:
- the TLcdGDFDataType that describes the type of data stored in this attribute.
-
getUnit
Returns the TLcdGDFDataUnit that describes the unit in which the value of this attribute is expressed.- Returns:
- the TLcdGDFDataUnit that describes the unit in which the value of this attribute is expressed.
-
getUnitExponent
public int getUnitExponent()Returns the 10LOG of the factor with which the data values have to be multiplied to obtain the data unit as specified in the getUnit() method.- Returns:
- the 10LOG of the factor with which the data values have to be multiplied to obtain the data unit as specified in the getUnit() method.
-
getMinValue
public long getMinValue()Returns the minimum value allowed for this attribute.- Returns:
- the minimum value allowed for this attribute.
-
getMaxValue
public long getMaxValue()Returns the maximum value allowed for this attribute.- Returns:
- the maximum value allowed for this attribute.
-
getDefaultValue
Returns the default value for this attribute.- Returns:
- the default value for this attribute.
-
getRepresentationClass
Returns the Class by which the data are represented.- Returns:
- the Class by which the data are represented.
-
getDescription
Returns a textual description of this attribute.- Returns:
- a textual description of this attribute.
-
toString
Returns a general description of this attribute type. The exact details of the representation are unspecified and are subject to change.
-