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.
| Modifier and Type | Field and Description |
|---|---|
private Column |
_column |
private int |
_value |
private java.util.List<? extends ComplexValue> |
_values |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ComplexValueForeignKeyImpl(Column column,
int value) |
byteValue, doubleValue, floatValue, hashCode, intValue, longValue, shortValue, toString, writeReplaceprivate static final long serialVersionUID
private final transient Column _column
private final int _value
private transient java.util.List<? extends ComplexValue> _values
public ComplexValueForeignKeyImpl(Column column, int value)
public int get()
get in class ComplexValueForeignKeypublic Column getColumn()
getColumn in class ComplexValueForeignKeypublic ComplexDataType getComplexType()
getComplexType in class ComplexValueForeignKeyprotected ComplexColumnInfo<? extends ComplexValue> getComplexInfo()
protected VersionHistoryColumnInfo getVersionInfo()
protected AttachmentColumnInfo getAttachmentInfo()
protected MultiValueColumnInfo getMultiValueInfo()
protected UnsupportedColumnInfo getUnsupportedInfo()
public int countValues()
throws java.io.IOException
countValues in class ComplexValueForeignKeyjava.io.IOExceptionpublic java.util.List<Row> getRawValues() throws java.io.IOException
java.io.IOExceptionpublic java.util.List<? extends ComplexValue> getValues() throws java.io.IOException
getValues in class ComplexValueForeignKeyjava.io.IOExceptionpublic java.util.List<Version> getVersions() throws java.io.IOException
getVersions in class ComplexValueForeignKeyjava.io.IOExceptionpublic java.util.List<Attachment> getAttachments() throws java.io.IOException
getAttachments in class ComplexValueForeignKeyjava.io.IOExceptionpublic java.util.List<SingleValue> getMultiValues() throws java.io.IOException
getMultiValues in class ComplexValueForeignKeyjava.io.IOExceptionpublic java.util.List<UnsupportedValue> getUnsupportedValues() throws java.io.IOException
getUnsupportedValues in class ComplexValueForeignKeyjava.io.IOExceptionpublic void reset()
reset in class ComplexValueForeignKeypublic Version addVersion(java.lang.String value) throws java.io.IOException
addVersion in class ComplexValueForeignKeyjava.io.IOExceptionpublic Version addVersion(java.lang.String value, java.util.Date modifiedDate) throws java.io.IOException
addVersion in class ComplexValueForeignKeyjava.io.IOExceptionpublic Attachment addAttachment(byte[] data) throws java.io.IOException
addAttachment in class ComplexValueForeignKeyjava.io.IOExceptionpublic 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
addAttachment in class ComplexValueForeignKeyjava.io.IOExceptionpublic Attachment addEncodedAttachment(byte[] encodedData) throws java.io.IOException
addEncodedAttachment in class ComplexValueForeignKeyjava.io.IOExceptionpublic Attachment addEncodedAttachment(java.lang.String url, java.lang.String name, java.lang.String type, byte[] encodedData, java.util.Date timeStamp, java.lang.Integer flags) throws java.io.IOException
addEncodedAttachment in class ComplexValueForeignKeyjava.io.IOExceptionpublic Attachment updateAttachment(Attachment attachment) throws java.io.IOException
updateAttachment in class ComplexValueForeignKeyjava.io.IOExceptionpublic Attachment deleteAttachment(Attachment attachment) throws java.io.IOException
deleteAttachment in class ComplexValueForeignKeyjava.io.IOExceptionpublic SingleValue addMultiValue(java.lang.Object value) throws java.io.IOException
addMultiValue in class ComplexValueForeignKeyjava.io.IOExceptionpublic SingleValue updateMultiValue(SingleValue value) throws java.io.IOException
updateMultiValue in class ComplexValueForeignKeyjava.io.IOExceptionpublic SingleValue deleteMultiValue(SingleValue value) throws java.io.IOException
deleteMultiValue in class ComplexValueForeignKeyjava.io.IOExceptionpublic UnsupportedValue addUnsupportedValue(java.util.Map<java.lang.String,?> values) throws java.io.IOException
addUnsupportedValue in class ComplexValueForeignKeyjava.io.IOExceptionpublic UnsupportedValue updateUnsupportedValue(UnsupportedValue value) throws java.io.IOException
updateUnsupportedValue in class ComplexValueForeignKeyjava.io.IOExceptionpublic UnsupportedValue deleteUnsupportedValue(UnsupportedValue value) throws java.io.IOException
deleteUnsupportedValue in class ComplexValueForeignKeyjava.io.IOExceptionpublic void deleteAllValues()
throws java.io.IOException
deleteAllValues in class ComplexValueForeignKeyjava.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class ComplexValueForeignKey