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 StringgetColDesc()Class<?>getColumnClass()Retrieves the class for the column, based on a char value.AttributeDescriptorgetDescriptor()intgetElementsNumber()Returns the elementsNumber fieldGeometryDescriptorgetGeometryAttributeType()Identifies and returns the GeometryAttributeType, or null if none exists.chargetKeyType()StringgetName()StringgetNarrTable()Gets the value of narrTableStringgetThematicIdx()Gets the value of thematicIdxchargetTypeChar()Returns the typeChar fieldStringgetValDescTableName()Gets the value of valDescTableNamebooleanisAttemptLookup()booleanisGeometry()static VPFColumntoVPFColumn(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
GeometryAttributeTypevalue
-
isAttemptLookup
public boolean isAttemptLookup()
- Returns:
- Returns the attemptLookup.
-
getName
public String getName()
-
getKeyType
public char getKeyType()
-
getColDesc
public String getColDesc()
-
-