public class TableInfo extends LabeledValueImpl<JDBCStoreParameters> implements PropertiesSupport
Modifier and Type | Field and Description |
---|---|
protected java.util.List<FeatureAttributeDescriptor> |
attributeDescriptors |
protected javax.swing.ListModel<LabeledValue<FeatureAttributeDescriptor>> |
columnsListModel |
protected java.lang.String |
documentName |
protected FeatureType |
featureType |
protected Expression |
filter |
protected javax.swing.ComboBoxModel<java.lang.String> |
geomFieldComboModel |
protected int |
geomFieldSelected |
protected java.lang.String |
id |
protected javax.swing.DefaultComboBoxModel<java.lang.String> |
idFieldComboModel |
protected int |
idFieldSelected |
protected boolean |
isView |
protected static Logger |
LOGGER |
protected IProjection |
projection |
protected PropertiesSupportHelper |
propertiesHelper |
protected java.lang.Boolean |
readOnly |
protected boolean |
requireGeometry |
protected boolean |
selected |
protected java.lang.String |
table |
protected java.lang.Boolean |
visible |
label, maxlen, value
Constructor and Description |
---|
TableInfo(java.lang.String id,
JDBCStoreParameters parameters,
boolean requireGeometry,
boolean isView) |
Modifier and Type | Method and Description |
---|---|
boolean |
existsDALInfo() |
void |
fetch(JDBCStoreParameters parameters) |
protected void |
fetchFromStore() |
FeatureAttributeDescriptor |
getAttributeDescriptor(java.lang.String attrName) |
java.util.List<FeatureAttributeDescriptor> |
getAttributeDescriptors() |
javax.swing.ListSelectionModel |
getColumnChecksModel() |
javax.swing.ListModel<LabeledValue<FeatureAttributeDescriptor>> |
getColumnsListModel() |
java.lang.String |
getDocumentName() |
protected JDBCServerExplorer |
getExplorer() |
FeatureType |
getFeatureType() |
java.lang.String |
getFieldId() |
Expression |
getFilter() |
int |
getGeometrySubtype() |
int |
getGeometryType() |
java.lang.String |
getGeomField() |
javax.swing.ComboBoxModel |
getGeomFieldComboModel() |
int |
getGeomFieldSelected() |
java.lang.String |
getId() |
javax.swing.ComboBoxModel<java.lang.String> |
getIdFieldComboModel() |
int |
getIdFieldSelected() |
JDBCStoreParameters |
getParameters() |
IProjection |
getProjection() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.String |
getSchema() |
java.lang.String |
getTable() |
java.lang.Boolean |
getVisible() |
boolean |
hasValidValues() |
boolean |
isReadOnly() |
boolean |
isSelected() |
boolean |
isView() |
void |
removeDALInfo() |
boolean |
requireGeometry() |
void |
setDocumentName(java.lang.String name) |
void |
setFilter(Expression filter) |
void |
setGeometrySubtype(int geomSubtype) |
void |
setGeometryType(int geomType) |
void |
setProjection(IProjection projection) |
void |
setProperty(java.lang.String name,
java.lang.Object value) |
void |
setSelected(boolean selected) |
void |
setVisible(java.lang.Boolean visible) |
compareTo, getLabel, getValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
label
protected static final Logger LOGGER
protected FeatureType featureType
protected int geomFieldSelected
protected int idFieldSelected
protected javax.swing.DefaultComboBoxModel<java.lang.String> idFieldComboModel
protected javax.swing.ComboBoxModel<java.lang.String> geomFieldComboModel
protected java.util.List<FeatureAttributeDescriptor> attributeDescriptors
protected javax.swing.ListModel<LabeledValue<FeatureAttributeDescriptor>> columnsListModel
protected Expression filter
protected IProjection projection
protected boolean selected
protected java.lang.String documentName
protected boolean isView
protected java.lang.Boolean readOnly
protected boolean requireGeometry
protected java.lang.Boolean visible
protected PropertiesSupportHelper propertiesHelper
protected final java.lang.String id
protected java.lang.String table
public TableInfo(java.lang.String id, JDBCStoreParameters parameters, boolean requireGeometry, boolean isView)
public void fetch(JDBCStoreParameters parameters)
public java.lang.String getId()
public java.lang.String getDocumentName()
public void setDocumentName(java.lang.String name)
public boolean isSelected()
public void setSelected(boolean selected)
public javax.swing.ListSelectionModel getColumnChecksModel()
public JDBCStoreParameters getParameters()
public void setProjection(IProjection projection)
public IProjection getProjection()
public java.lang.String getFieldId()
public java.lang.String getGeomField()
public FeatureType getFeatureType()
public java.lang.String getTable()
public java.lang.String getSchema()
protected void fetchFromStore()
public javax.swing.ComboBoxModel getGeomFieldComboModel()
public int getGeomFieldSelected()
public javax.swing.ComboBoxModel<java.lang.String> getIdFieldComboModel()
public java.util.List<FeatureAttributeDescriptor> getAttributeDescriptors()
public javax.swing.ListModel<LabeledValue<FeatureAttributeDescriptor>> getColumnsListModel()
public FeatureAttributeDescriptor getAttributeDescriptor(java.lang.String attrName)
public int getIdFieldSelected()
public Expression getFilter()
public void setFilter(Expression filter)
public java.lang.Boolean getVisible()
public void setVisible(java.lang.Boolean visible)
public boolean requireGeometry()
public boolean hasValidValues()
public boolean isView()
public boolean isReadOnly()
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface PropertiesSupport
public void setProperty(java.lang.String name, java.lang.Object value)
setProperty
in interface PropertiesSupport
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
getProperties
in interface PropertiesSupport
protected JDBCServerExplorer getExplorer() throws DataException, ValidateDataParametersException
public boolean existsDALInfo()
public void removeDALInfo()
public int getGeometryType()
public int getGeometrySubtype()
public void setGeometryType(int geomType)
public void setGeometrySubtype(int geomSubtype)