|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComplexValue
Base interface for a value in a complex column (where there may be multiple values for a single row in the main table).
| Nested Class Summary | |
|---|---|
static class |
ComplexValue.Id
Identifier for a ComplexValue. |
| Method Summary | |
|---|---|
void |
delete()
Deletes the data for this complex value from the database. |
Column |
getColumn()
|
ComplexValueForeignKey |
getComplexValueForeignKey()
Returns the foreign key identifier for this complex value (this value is the same for all values in the same row of the main table). |
ComplexValue.Id |
getId()
Returns the unique identifier of this complex value (this value is unique among all values in all rows of the main table). |
void |
setComplexValueForeignKey(ComplexValueForeignKey complexValueFk)
|
void |
setId(ComplexValue.Id newId)
Called once when a new ComplexValue is saved to set the new unique identifier. |
void |
update()
Writes any updated data for this complex value to the database. |
| Method Detail |
|---|
ComplexValue.Id getId()
ComplexColumnInfoImpl.INVALID_ID for a new,
unsaved value.void setId(ComplexValue.Id newId)
ComplexValueForeignKey getComplexValueForeignKey()
ComplexColumnInfoImpl.INVALID_FK
for a new, unsaved value.void setComplexValueForeignKey(ComplexValueForeignKey complexValueFk)
Column getColumn()
void update()
throws IOException
IOException
void delete()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||