public class FeatureStoreModel
extends java.lang.Object
FeatureTypesTablePanel which unifies the access
to the different models needed by the components included into it.| Constructor and Description |
|---|
FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store)
Constructor.
|
FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store,
org.gvsig.fmap.dal.feature.FeatureQuery query)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableFeatureTableModel |
getCurrentFeatureTableModel()
Returns the
TableModel to use to show data of the current feature
type. |
java.lang.String |
getCurrentFeatureTypeId()
Returns the id of the current
FeatureType. |
org.gvsig.fmap.dal.feature.FeatureQuery |
getFeatureQuery() |
org.gvsig.fmap.dal.feature.FeatureStore |
getFeatureStore() |
ConfigurableFeatureTableModel |
getFeatureTableModel(org.gvsig.fmap.dal.feature.FeatureType type)
Returns the
TableModel to use to show data of a
FeatureType. |
ConfigurableFeatureTableModel |
getFeatureTableModel(java.lang.String typeId)
Returns the
TableModel to use to show data of a
FeatureType. |
FeatureTypeListModel |
getFeatureTypeListModel()
Returns the
FeatureTypeListModel to show a list of available
FeatureTypes. |
void |
setCurrentFeatureTypeId(java.lang.String currentFeatureTypeId)
Sets the id of the current
FeatureType. |
public FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store)
throws org.gvsig.fmap.dal.exception.DataException
store - the FeatureStore to get data fromorg.gvsig.fmap.dal.exception.DataException - if there is an error getting the default FeatureTypepublic FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store,
org.gvsig.fmap.dal.feature.FeatureQuery query)
throws org.gvsig.fmap.dal.exception.DataException
store - the FeatureStore to get data fromquery - the FeatureQuery to use to get dataorg.gvsig.fmap.dal.exception.DataException - if there is an error getting the default FeatureTypepublic ConfigurableFeatureTableModel getCurrentFeatureTableModel()
TableModel to use to show data of the current feature
type.public java.lang.String getCurrentFeatureTypeId()
FeatureType.FeatureTypepublic org.gvsig.fmap.dal.feature.FeatureQuery getFeatureQuery()
public org.gvsig.fmap.dal.feature.FeatureStore getFeatureStore()
public ConfigurableFeatureTableModel getFeatureTableModel(org.gvsig.fmap.dal.feature.FeatureType type)
TableModel to use to show data of a
FeatureType.type - to use to filter the datapublic ConfigurableFeatureTableModel getFeatureTableModel(java.lang.String typeId)
TableModel to use to show data of a
FeatureType.typeId - the id of the FeatureType to use to filter the datapublic FeatureTypeListModel getFeatureTypeListModel()
FeatureTypeListModel to show a list of available
FeatureTypes.FeatureTypeListModel to show a list of available
FeatureTypespublic void setCurrentFeatureTypeId(java.lang.String currentFeatureTypeId)
FeatureType.currentFeatureTypeId - the id of the current FeatureTypeCopyright © 2013 gvSIG Association. All Rights Reserved.