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