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
Class ComplexValueForeignKey

java.lang.Object
  extended by java.lang.Number
      extended by com.healthmarketscience.jackcess.complex.ComplexValueForeignKey
All Implemented Interfaces:
java.io.Serializable

public class ComplexValueForeignKey
extends java.lang.Number

Value which is returned for a complex column. This value corresponds to a foreign key in a secondary table which contains the actual complex data for this row (which could be 0 or more complex values for a given row). This class contains various convenience methods for interacting with the actual complex values.

This class will cache the associated complex values returned from one of the lookup methods. The various modification methods will clear this cache automatically. The reset() method may be called manually to clear this internal cache.

See Also:
Serialized Form

Constructor Summary
ComplexValueForeignKey(Column column, int value)
           
 
Method Summary
 Attachment addAttachment(byte[] data)
           
 Attachment addAttachment(java.lang.String url, java.lang.String name, java.lang.String type, byte[] data, java.util.Date timeStamp, java.lang.Integer flags)
           
 SingleValue addMultiValue(java.lang.Object value)
           
 UnsupportedValue addUnsupportedValue(java.util.Map<java.lang.String,?> values)
           
 Version addVersion(java.lang.String value)
           
 Version addVersion(java.lang.String value, java.util.Date modifiedDate)
           
 byte byteValue()
           
 int countValues()
           
 void deleteAllValues()
           
 Attachment deleteAttachment(Attachment attachment)
           
 SingleValue deleteMultiValue(SingleValue value)
           
 UnsupportedValue deleteUnsupportedValue(UnsupportedValue value)
           
 double doubleValue()
           
 boolean equals(java.lang.Object o)
           
 float floatValue()
           
 int get()
           
protected  AttachmentColumnInfo getAttachmentInfo()
           
 java.util.List<Attachment> getAttachments()
           
 Column getColumn()
           
protected  ComplexColumnInfo<? extends ComplexValue> getComplexInfo()
           
 ComplexDataType getComplexType()
           
protected  MultiValueColumnInfo getMultiValueInfo()
           
 java.util.List<SingleValue> getMultiValues()
           
 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getRawValues()
           
protected  UnsupportedColumnInfo getUnsupportedInfo()
           
 java.util.List<UnsupportedValue> getUnsupportedValues()
           
 java.util.List<? extends ComplexValue> getValues()
           
protected  VersionHistoryColumnInfo getVersionInfo()
           
 java.util.List<Version> getVersions()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 void reset()
           
 short shortValue()
           
 java.lang.String toString()
           
 Attachment updateAttachment(Attachment attachment)
           
 SingleValue updateMultiValue(SingleValue value)
           
 UnsupportedValue updateUnsupportedValue(UnsupportedValue value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComplexValueForeignKey

public ComplexValueForeignKey(Column column,
                              int value)
Method Detail

get

public int get()

getColumn

public Column getColumn()

byteValue

public byte byteValue()
Overrides:
byteValue in class java.lang.Number

shortValue

public short shortValue()
Overrides:
shortValue in class java.lang.Number

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number

getComplexType

public ComplexDataType getComplexType()

getComplexInfo

protected ComplexColumnInfo<? extends ComplexValue> getComplexInfo()

getVersionInfo

protected VersionHistoryColumnInfo getVersionInfo()

getAttachmentInfo

protected AttachmentColumnInfo getAttachmentInfo()

getMultiValueInfo

protected MultiValueColumnInfo getMultiValueInfo()

getUnsupportedInfo

protected UnsupportedColumnInfo getUnsupportedInfo()

countValues

public int countValues()
                throws java.io.IOException
Throws:
java.io.IOException

getRawValues

public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getRawValues()
                                                                              throws java.io.IOException
Throws:
java.io.IOException

getValues

public java.util.List<? extends ComplexValue> getValues()
                                                 throws java.io.IOException
Throws:
java.io.IOException

getVersions

public java.util.List<Version> getVersions()
                                    throws java.io.IOException
Throws:
java.io.IOException

getAttachments

public java.util.List<Attachment> getAttachments()
                                          throws java.io.IOException
Throws:
java.io.IOException

getMultiValues

public java.util.List<SingleValue> getMultiValues()
                                           throws java.io.IOException
Throws:
java.io.IOException

getUnsupportedValues

public java.util.List<UnsupportedValue> getUnsupportedValues()
                                                      throws java.io.IOException
Throws:
java.io.IOException

reset

public void reset()

addVersion

public Version addVersion(java.lang.String value)
                   throws java.io.IOException
Throws:
java.io.IOException

addVersion

public Version addVersion(java.lang.String value,
                          java.util.Date modifiedDate)
                   throws java.io.IOException
Throws:
java.io.IOException

addAttachment

public Attachment addAttachment(byte[] data)
                         throws java.io.IOException
Throws:
java.io.IOException

addAttachment

public Attachment addAttachment(java.lang.String url,
                                java.lang.String name,
                                java.lang.String type,
                                byte[] data,
                                java.util.Date timeStamp,
                                java.lang.Integer flags)
                         throws java.io.IOException
Throws:
java.io.IOException

updateAttachment

public Attachment updateAttachment(Attachment attachment)
                            throws java.io.IOException
Throws:
java.io.IOException

deleteAttachment

public Attachment deleteAttachment(Attachment attachment)
                            throws java.io.IOException
Throws:
java.io.IOException

addMultiValue

public SingleValue addMultiValue(java.lang.Object value)
                          throws java.io.IOException
Throws:
java.io.IOException

updateMultiValue

public SingleValue updateMultiValue(SingleValue value)
                             throws java.io.IOException
Throws:
java.io.IOException

deleteMultiValue

public SingleValue deleteMultiValue(SingleValue value)
                             throws java.io.IOException
Throws:
java.io.IOException

addUnsupportedValue

public UnsupportedValue addUnsupportedValue(java.util.Map<java.lang.String,?> values)
                                     throws java.io.IOException
Throws:
java.io.IOException

updateUnsupportedValue

public UnsupportedValue updateUnsupportedValue(UnsupportedValue value)
                                        throws java.io.IOException
Throws:
java.io.IOException

deleteUnsupportedValue

public UnsupportedValue deleteUnsupportedValue(UnsupportedValue value)
                                        throws java.io.IOException
Throws:
java.io.IOException

deleteAllValues

public void deleteAllValues()
                     throws java.io.IOException
Throws:
java.io.IOException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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