Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

com.healthmarketscience.jackcess.complex
Interface ComplexValue

All Known Subinterfaces:
Attachment, SingleValue, UnsupportedValue, Version
All Known Implementing Classes:
ComplexColumnInfo.ComplexValueImpl

public interface ComplexValue

Base class for a value in a complex column (where there may be multiple values for a single row in the main table).


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).
 int 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(int newId)
           
 void update()
          Writes any updated data for this complex value to the database.
 

Method Detail

getId

int getId()
Returns the unique identifier of this complex value (this value is unique among all values in all rows of the main table).

Returns:
the current id or ComplexColumnInfo.INVALID_ID for a new, unsaved value.

setId

void setId(int newId)

getComplexValueForeignKey

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).

Returns:
the current id or ComplexColumnInfo.INVALID_COMPLEX_VALUE_ID for a new, unsaved value.

setComplexValueForeignKey

void setComplexValueForeignKey(ComplexValueForeignKey complexValueFk)

getColumn

Column getColumn()
Returns:
the column in the main table with which this complex value is associated

update

void update()
            throws java.io.IOException
Writes any updated data for this complex value to the database.

Throws:
java.io.IOException

delete

void delete()
            throws java.io.IOException
Deletes the data for this complex value from the database.

Throws:
java.io.IOException

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013