public class ComplexValueForeignKeyImpl extends ComplexValueForeignKey
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.
| Constructor and Description |
|---|
ComplexValueForeignKeyImpl(Column column,
int value) |
byteValue, doubleValue, floatValue, hashCode, intValue, longValue, shortValue, toStringpublic ComplexValueForeignKeyImpl(Column column, int value)
public int get()
get in class ComplexValueForeignKeypublic Column getColumn()
getColumn in class ComplexValueForeignKeypublic ComplexDataType getComplexType()
getComplexType in class ComplexValueForeignKeypublic int countValues()
throws IOException
countValues in class ComplexValueForeignKeyIOExceptionpublic List<Row> getRawValues() throws IOException
IOExceptionpublic List<? extends ComplexValue> getValues() throws IOException
getValues in class ComplexValueForeignKeyIOExceptionpublic List<Version> getVersions() throws IOException
getVersions in class ComplexValueForeignKeyIOExceptionpublic List<Attachment> getAttachments() throws IOException
getAttachments in class ComplexValueForeignKeyIOExceptionpublic List<SingleValue> getMultiValues() throws IOException
getMultiValues in class ComplexValueForeignKeyIOExceptionpublic List<UnsupportedValue> getUnsupportedValues() throws IOException
getUnsupportedValues in class ComplexValueForeignKeyIOExceptionpublic void reset()
reset in class ComplexValueForeignKeypublic Version addVersion(String value) throws IOException
addVersion in class ComplexValueForeignKeyIOExceptionpublic Version addVersion(String value, Date modifiedDate) throws IOException
addVersion in class ComplexValueForeignKeyIOExceptionpublic Version addVersion(String value, LocalDateTime modifiedDate) throws IOException
addVersion in class ComplexValueForeignKeyIOExceptionpublic Attachment addAttachment(byte[] data) throws IOException
addAttachment in class ComplexValueForeignKeyIOExceptionpublic Attachment addAttachment(String url, String name, String type, byte[] data, Date timeStamp, Integer flags) throws IOException
addAttachment in class ComplexValueForeignKeyIOExceptionpublic Attachment addAttachment(String url, String name, String type, byte[] data, LocalDateTime timeStamp, Integer flags) throws IOException
addAttachment in class ComplexValueForeignKeyIOExceptionpublic Attachment addEncodedAttachment(byte[] encodedData) throws IOException
addEncodedAttachment in class ComplexValueForeignKeyIOExceptionpublic Attachment addEncodedAttachment(String url, String name, String type, byte[] encodedData, Date timeStamp, Integer flags) throws IOException
addEncodedAttachment in class ComplexValueForeignKeyIOExceptionpublic Attachment addEncodedAttachment(String url, String name, String type, byte[] encodedData, LocalDateTime timeStamp, Integer flags) throws IOException
addEncodedAttachment in class ComplexValueForeignKeyIOExceptionpublic Attachment updateAttachment(Attachment attachment) throws IOException
updateAttachment in class ComplexValueForeignKeyIOExceptionpublic Attachment deleteAttachment(Attachment attachment) throws IOException
deleteAttachment in class ComplexValueForeignKeyIOExceptionpublic SingleValue addMultiValue(Object value) throws IOException
addMultiValue in class ComplexValueForeignKeyIOExceptionpublic SingleValue updateMultiValue(SingleValue value) throws IOException
updateMultiValue in class ComplexValueForeignKeyIOExceptionpublic SingleValue deleteMultiValue(SingleValue value) throws IOException
deleteMultiValue in class ComplexValueForeignKeyIOExceptionpublic UnsupportedValue addUnsupportedValue(Map<String,?> values) throws IOException
addUnsupportedValue in class ComplexValueForeignKeyIOExceptionpublic UnsupportedValue updateUnsupportedValue(UnsupportedValue value) throws IOException
updateUnsupportedValue in class ComplexValueForeignKeyIOExceptionpublic UnsupportedValue deleteUnsupportedValue(UnsupportedValue value) throws IOException
deleteUnsupportedValue in class ComplexValueForeignKeyIOExceptionpublic void deleteAllValues()
throws IOException
deleteAllValues in class ComplexValueForeignKeyIOExceptionpublic boolean equals(Object o)
equals in class ComplexValueForeignKeyCopyright © 2005–2025 OpenHMS. All rights reserved.