org.deegree.services.wfs.configuration
Interface TableDescription

All Known Subinterfaces:
MasterTable, RelatedTable
All Known Implementing Classes:
MasterTable_Impl, RelatedTable_Impl, TableDescription_Impl

public interface TableDescription

the interface describes a table that contains data that are part of a feature type

---------------------------------------------------------------------

Version:
$Revision: 1.3 $ $Date: 2003/04/28 15:56:03 $
Author:
Andreas Poth

Method Summary
 GeoFieldIdentifier[] getGeoFieldIdentifier()
          returns all describtions for all fields that contains geo spatial data.
 GeoFieldIdentifier getGeoFieldIdentifier(java.lang.String datastoreField)
          return an object that describes a field that contains geo spatial data.
 java.lang.String getIdField()
          returns the name of the table's field that shall be interpreted as ID
 java.lang.String getName()
          returns the name of the table. in the case that a datastore encapsulates an esri shapefile this is the name of the shape without extension
 Reference[] getReferences()
          returns all references contained within the table. an implementation have to ensure that if no references are contained a zero length will be returned
 Reference[] getReferences(java.lang.String datastoreField)
          returns an object that describes the reference to another table
 java.lang.String getTargetName()
          returns the name the table shall be mapped to at a feature (type)
 boolean isDeleteAllowed()
          returns true if deleting rows from the tables are allowed
 boolean isGeoFieldIdentifier(java.lang.String datastoreIdentifier)
          returns true if the submitted field shall be interpreted as field that contains geo spatial data. only needed for GMLDB and POINTDB
 boolean isIdFieldAutoIncremented()
          returns true if the value of the id will be set automaticly by a database
 boolean isIdFieldNumber()
          returns true if the id field is a number data type
 boolean isInsertAllowed()
          returns true if inserts into the table are allowed
 boolean isReference(java.lang.String datastoreField)
          returns true if the submitted field is a reference to another table
 boolean isUpdateAllowed()
          returns true if updates of the tables rows are allowed
 

Method Detail

getName

public java.lang.String getName()
returns the name of the table. in the case that a datastore encapsulates an esri shapefile this is the name of the shape without extension


getTargetName

public java.lang.String getTargetName()
returns the name the table shall be mapped to at a feature (type)


getIdField

public java.lang.String getIdField()
returns the name of the table's field that shall be interpreted as ID


isIdFieldNumber

public boolean isIdFieldNumber()
returns true if the id field is a number data type


isIdFieldAutoIncremented

public boolean isIdFieldAutoIncremented()
returns true if the value of the id will be set automaticly by a database


isReference

public boolean isReference(java.lang.String datastoreField)
returns true if the submitted field is a reference to another table


getReferences

public Reference[] getReferences(java.lang.String datastoreField)
returns an object that describes the reference to another table


getReferences

public Reference[] getReferences()
returns all references contained within the table. an implementation have to ensure that if no references are contained a zero length will be returned


isGeoFieldIdentifier

public boolean isGeoFieldIdentifier(java.lang.String datastoreIdentifier)
returns true if the submitted field shall be interpreted as field that contains geo spatial data. only needed for GMLDB and POINTDB


getGeoFieldIdentifier

public GeoFieldIdentifier getGeoFieldIdentifier(java.lang.String datastoreField)
return an object that describes a field that contains geo spatial data.


getGeoFieldIdentifier

public GeoFieldIdentifier[] getGeoFieldIdentifier()
returns all describtions for all fields that contains geo spatial data. an implementation have to ensure that if no references are contained a zero length will be returned


isInsertAllowed

public boolean isInsertAllowed()
returns true if inserts into the table are allowed


isUpdateAllowed

public boolean isUpdateAllowed()
returns true if updates of the tables rows are allowed


isDeleteAllowed

public boolean isDeleteAllowed()
returns true if deleting rows from the tables are allowed