Package org.geotools.data.vpf
Class VPFColumn
- Object
-
- VPFColumn
-
public class VPFColumn extends Object
A column in a VPF File.- Author:
- Jeff Yutzler
-
-
Constructor Summary
Constructors Constructor Description VPFColumn(String name, char type, int elementsNumber, char keyType, String colDesc, String valDescTableName, String thematicIdx, String narrTable)
Constructor with all of the elements of a VPF columnVPFColumn(String name, AttributeDescriptor descriptor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColDesc()
Class<?>
getColumnClass()
Retrieves the class for the column, based on a char value.AttributeDescriptor
getDescriptor()
int
getElementsNumber()
Returns the elementsNumber fieldGeometryDescriptor
getGeometryAttributeType()
Identifies and returns the GeometryAttributeType, or null if none exists.char
getKeyType()
String
getName()
String
getNarrTable()
Gets the value of narrTableString
getThematicIdx()
Gets the value of thematicIdxchar
getTypeChar()
Returns the typeChar fieldString
getValDescTableName()
Gets the value of valDescTableNameboolean
isAttemptLookup()
boolean
isGeometry()
static VPFColumn
toVPFColumn(AttributeDescriptor descriptor)
-
-
-
Constructor Detail
-
VPFColumn
public VPFColumn(String name, char type, int elementsNumber, char keyType, String colDesc, String valDescTableName, String thematicIdx, String narrTable)
Constructor with all of the elements of a VPF column
-
VPFColumn
public VPFColumn(String name, AttributeDescriptor descriptor)
-
-
Method Detail
-
toVPFColumn
public static VPFColumn toVPFColumn(AttributeDescriptor descriptor)
-
getDescriptor
public AttributeDescriptor getDescriptor()
-
getColumnClass
public Class<?> getColumnClass()
Retrieves the class for the column, based on a char value.- Returns:
- the class
-
getNarrTable
public String getNarrTable()
Gets the value of narrTable- Returns:
- the value of narrTable
-
getThematicIdx
public String getThematicIdx()
Gets the value of thematicIdx- Returns:
- the value of thematicIdx
-
getValDescTableName
public String getValDescTableName()
Gets the value of valDescTableName- Returns:
- the value of valDescTableName
-
isGeometry
public boolean isGeometry()
-
getTypeChar
public char getTypeChar()
Returns the typeChar field- Returns:
- Returns the typeChar.
-
getElementsNumber
public int getElementsNumber()
Returns the elementsNumber field- Returns:
- Returns the elementsNumber.
-
getGeometryAttributeType
public GeometryDescriptor getGeometryAttributeType()
Identifies and returns the GeometryAttributeType, or null if none exists.- Returns:
- The
GeometryAttributeType
value
-
isAttemptLookup
public boolean isAttemptLookup()
- Returns:
- Returns the attemptLookup.
-
getName
public String getName()
-
getKeyType
public char getKeyType()
-
getColDesc
public String getColDesc()
-
-