public class OGRDataStoreParameters extends AbstractDataStoreParameters implements OpenFeatureStoreParameters, FilesystemStoreParameters
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTION_STRING_PARAMETER_NAME |
static java.lang.String |
CRS_PARAMETER_NAME |
static java.lang.String |
DEFAULT_GEOMETRY_PARAMETER_NAME |
static java.lang.String |
FILE_PARAMTER_NAME |
static java.lang.String |
IGNORE_SPATIAL_FILTER |
static java.lang.String |
LAYER_NAME_PARAMTER_NAME |
protected DelegatedDynObject |
parameters |
static java.lang.String |
PARAMETERS_DEFINITION_NAME |
CRS_PARAMTER_NAME
Constructor and Description |
---|
OGRDataStoreParameters() |
OGRDataStoreParameters(java.lang.String parametersDefinitionName,
java.lang.String providerName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectionString() |
IProjection |
getCRS() |
java.lang.String |
getDataStoreName()
Returns the DataStore's name
|
java.lang.String |
getDefaultGeometryField() |
protected DelegatedDynObject |
getDelegatedDynObject()
Returns an instance of the
DynObject to delegate to. |
java.lang.String |
getDescription()
Returns the DataStore's description
|
java.io.File |
getFile() |
java.lang.String |
getLayerName() |
boolean |
isValid()
Indicates whether these parameters are valid.
|
void |
setConnectionString(java.lang.String connectionString) |
void |
setCRS(IProjection crs) |
void |
setDefaultGeometryField(java.lang.String defaultGeoemtryField) |
void |
setFile(java.io.File file) |
void |
setLayerName(java.lang.String layerName) |
getSourceId, isTheSameStore
clear, copyValuesTo, delegate, equals, fromByteArray, fromJson, getCause, getCopy, getDynClass, getDynValue, getMessage, getProviderName, hasDynValue, hashCode, implement, invokeDynMethod, invokeDynMethod, isValid, loadFromState, loadPRJ, loadWLD, saveToState, setDynValue, toByteArray, toJson, toJsonBuilder, toString, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProviderName, getSourceId, isTheSameStore
clear, getCopy, toByteArray, toString, validate
loadFromState, saveToState
clone, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
toJson, toJson, toJsonBuilder, toJsonBuilder
fromJson
public static final java.lang.String PARAMETERS_DEFINITION_NAME
public static final java.lang.String FILE_PARAMTER_NAME
public static final java.lang.String LAYER_NAME_PARAMTER_NAME
public static final java.lang.String CONNECTION_STRING_PARAMETER_NAME
public static final java.lang.String DEFAULT_GEOMETRY_PARAMETER_NAME
public static final java.lang.String CRS_PARAMETER_NAME
public static final java.lang.String IGNORE_SPATIAL_FILTER
protected DelegatedDynObject parameters
public OGRDataStoreParameters()
public OGRDataStoreParameters(java.lang.String parametersDefinitionName, java.lang.String providerName)
public java.lang.String getDataStoreName()
DataStoreParameters
getDataStoreName
in interface DataStoreParameters
getDataStoreName
in class AbstractDataParameters
public java.lang.String getDescription()
DataStoreParameters
getDescription
in interface DataStoreParameters
getDescription
in class AbstractDataParameters
public java.io.File getFile()
getFile
in interface FilesystemStoreParameters
getFile
in interface HasAFile
public java.lang.String getLayerName()
public java.lang.String getConnectionString()
public java.lang.String getDefaultGeometryField()
public IProjection getCRS()
public void setFile(java.io.File file)
setFile
in interface FilesystemStoreParameters
setFile
in interface HasAFile
file
- Filepublic void setLayerName(java.lang.String layerName)
layerName
- Name of layerpublic void setConnectionString(java.lang.String connectionString)
connectionString
- Connection stringpublic void setDefaultGeometryField(java.lang.String defaultGeoemtryField)
defaultGeoemtryField
- Name of defualt geometry field.public void setCRS(IProjection crs)
crs
- public boolean isValid()
DataStoreParameters
isValid
in interface DataStoreParameters
protected DelegatedDynObject getDelegatedDynObject()
AbstractDataParameters
DynObject
to delegate to.getDelegatedDynObject
in class AbstractDataParameters
DynObject