|
deegree 2.2 (2008/12/22 11:33 build-3038-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)
|
|
InsertField(InsertRow row,
String columnName,
int sqlType,
Object value,
boolean isPK)
|
|
| 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()
|
(package private) Collection<InsertField> |
getReferencingFields()
|
(package private) Collection<InsertRow> |
getReferencingRows()
|
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(InsertRow row,
String columnName,
InsertField 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()
public void relinkField(InsertField field)
InsertField to be a reference to the given InsertField.
field - void addReferencingField(InsertField 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.2 (2008/12/22 11:33 build-3038-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