| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.schema.content.MappingField
public class MappingField
Encapsulates a field of the backend (e.g. an SQL table column).
| Constructor Summary | |
|---|---|
MappingField(String table,
                         String field,
                         int type)
Creates a new instance of MappingField from the given parameters with no
 automatic generation of values. | 
|
MappingField(String table,
                         String field,
                         int type,
                         boolean auto)
Creates a new instance of MappingField from the given parameters. | 
|
| Method Summary | |
|---|---|
 String | 
getField()
Returns the name of the backend's (e.g. database) field.  | 
 String | 
getTable()
Returns the name of the backend's (e.g. database) table.  | 
 int | 
getType()
Returns the SQL type code of the field.  | 
 boolean | 
isAuto()
Returns whether the backend generates the value automatically on insert.  | 
 boolean | 
isNumeric()
Returns true if the field has a numerical type. | 
 boolean | 
isSortable()
Returns true, because a db field is (in general) suitable as a sort criterion.  | 
 boolean | 
isUpdateable()
Returns true, because a db field may be updated.  | 
 void | 
setTable(String table)
Sets the table to the given table name.  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public MappingField(String table,
                    String field,
                    int type,
                    boolean auto)
MappingField from the given parameters.
table - field - type - type codeauto - Types
public MappingField(String table,
                    String field,
                    int type)
MappingField from the given parameters with no
 automatic generation of values.
table - field - type - Types| Method Detail | 
|---|
public boolean isUpdateable()
isUpdateable in interface SimpleContentpublic boolean isSortable()
isSortable in interface SimpleContentpublic String getTable()
public void setTable(String table)
MappedGMLSchema must be able to resolve unspecified (null) table names.
table - table name to setpublic String getField()
public int getType()
Typespublic boolean isAuto()
public boolean isNumeric()
true if the field has a numerical type.
true if the field has a numerical type, false otherwiseTypespublic String toString()
toString in class Object
  | 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net