public class TLcdSHPDataTypes extends Object
Modifier and Type | Field and Description |
---|---|
static TLcdDataType |
AbstractFeatureType
This type serves as the abstract super type of all SHP feature types.
|
Modifier and Type | Method and Description |
---|---|
static TLcdDataModel |
createDataModel(int aShapeType,
String aDataName,
String[] aPropertyNames,
Class<?>[] aPropertyClasses)
Deprecated.
You should not use this, instead, get the data model from a decoded model using ((ILcdDataModelDescriptor) model.getModelDescriptor()).getDataModel().
|
static TLcdDataModel |
getDataModel()
Returns the static data model of the SHP format.
|
public static final TLcdDataType AbstractFeatureType
public static TLcdDataModel getDataModel()
public static TLcdDataModel createDataModel(int aShapeType, String aDataName, String[] aPropertyNames, Class<?>[] aPropertyClasses)
AbstractFeatureType
. It will have a property for each
entry in property names parameter. The property classes parameter (that should have the
same size as the property names parameter) contains the instance classes for the properties.
These instance classes are assumed to be basic types for which an appropriate type is
defined in TLcdCoreDataTypes.getDataModel()
. The shape type corresponds to
one of the shape type constants defined by TLcdSHPModelDescriptor
.aShapeType
- the shape typeaDataName
- the name of the data modelaPropertyNames
- the names of the propertiesaPropertyClasses
- the instance classes of the properties