|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.datastore.sql.transaction.insert.InsertField
public class InsertField
A field of an InsertRow
.
Constructor Summary | |
---|---|
InsertField(InsertRow row,
java.lang.String columnName,
InsertField referencedField)
Creates a new InsertField instance. |
|
InsertField(InsertRow row,
java.lang.String columnName,
int sqlType,
java.lang.Object value,
boolean isPK)
Creates a new InsertField instance. |
Method Summary | |
---|---|
(package private) void |
addReferencingField(InsertField referencingField)
|
java.lang.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) java.util.Collection<InsertField> |
getReferencingFields()
Returns all fields that reference this field. |
(package private) java.util.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. |
java.lang.String |
getTable()
Returns the name of the table that this InsertField belongs to. |
java.lang.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 . |
java.lang.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, java.lang.String columnName, int sqlType, java.lang.Object value, boolean isPK)
InsertField
instance.
row
- columnName
- sqlType
- value
- isPK
- InsertField(InsertRow row, java.lang.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 java.lang.String getTable()
InsertField
belongs to.
InsertField
belongs topublic boolean isPK()
InsertField
is a primary key of the table.
public java.lang.String getColumnName()
InsertField
represents.
InsertField
representspublic int getSQLType()
public java.lang.Object getValue()
public InsertField getReferencedField()
InsertField
that this InsertField
references.
InsertRow getReferencedRow()
InsertRow
that is referenced by this InsertField
.
InsertRow
public 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
- java.util.Collection<InsertField> getReferencingFields()
java.util.Collection<InsertRow> getReferencingRows()
public java.lang.String toString()
toString
in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-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