|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.sql.transaction.insert.InsertField
public class InsertField
A field of an InsertRow.
| Constructor Summary | |
|---|---|
InsertField(InsertRow row,
String columnName,
InsertField referencedField)
Creates a new InsertField instance. |
|
InsertField(InsertRow row,
String columnName,
int sqlType,
Object value,
boolean isPK)
Creates a new InsertField instance. |
|
| Method Summary | |
|---|---|
(package private) void |
addReferencingField(InsertField referencingField)
|
String |
getColumnName()
Returns the name of the column that this InsertField represents. |
InsertField |
getReferencedField()
Returns the InsertField that this InsertField references. |
(package private) InsertRow |
getReferencedRow()
Returns the InsertRow that is referenced by this InsertField. |
(package private) Collection<InsertField> |
getReferencingFields()
Returns all fields that reference this field. |
(package private) Collection<InsertRow> |
getReferencingRows()
Returns all rows that reference this field. |
InsertRow |
getRow()
Returns the InsertRow that this InsertField belongs to. |
int |
getSQLType()
Returns the sql type code for the column. |
String |
getTable()
Returns the name of the table that this InsertField belongs to. |
Object |
getValue()
Returns the value to be inserted. |
boolean |
isPK()
Returns whether this InsertField is a primary key of the table. |
void |
relinkField(InsertField field)
Sets this InsertField to be a reference to the given InsertField. |
void |
removeReferencingField(InsertField referencingField)
Removes the given InsertField from the list of references to this InsertField. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
InsertField(InsertRow row,
String columnName,
int sqlType,
Object value,
boolean isPK)
InsertField instance.
row - columnName - sqlType - value - isPK -
InsertField(InsertRow row,
String columnName,
InsertField referencedField)
InsertField instance.
row - columnName - referencedField - | Method Detail |
|---|
public InsertRow getRow()
InsertRow that this InsertField belongs to.
InsertRow that this InsertField belongs topublic String getTable()
InsertField belongs to.
InsertField belongs topublic boolean isPK()
InsertField is a primary key of the table.
public String getColumnName()
InsertField represents.
InsertField representspublic int getSQLType()
public Object getValue()
public InsertField getReferencedField()
InsertField that this InsertField references.
InsertRow getReferencedRow()
InsertRow that is referenced by this InsertField.
InsertRowpublic void relinkField(InsertField field)
InsertField to be a reference to the given InsertField.
field - void addReferencingField(InsertField referencingField)
referencingField - public void removeReferencingField(InsertField referencingField)
InsertField from the list of references to this InsertField.
referencingField - Collection<InsertField> getReferencingFields()
Collection<InsertRow> getReferencingRows()
public String toString()
toString in class Object
|
deegree 2.3 (2010/04/09 10:10 build-4-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://www.deegree.org