com.healthmarketscience.jackcess.complex
Class ComplexValueForeignKey
java.lang.Object
java.lang.Number
com.healthmarketscience.jackcess.complex.ComplexValueForeignKey
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ComplexValueForeignKeyImpl
public abstract class ComplexValueForeignKey
- extends 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.
- Author:
- James Ahlborn
- See Also:
- Serialized Form
|
Method Summary |
abstract Attachment |
addAttachment(byte[] data)
|
abstract Attachment |
addAttachment(String url,
String name,
String type,
byte[] data,
Date timeStamp,
Integer flags)
|
abstract Attachment |
addEncodedAttachment(byte[] encodedData)
|
abstract Attachment |
addEncodedAttachment(String url,
String name,
String type,
byte[] encodedData,
Date timeStamp,
Integer flags)
|
abstract SingleValue |
addMultiValue(Object value)
|
abstract UnsupportedValue |
addUnsupportedValue(Map<String,?> values)
|
abstract Version |
addVersion(String value)
|
abstract Version |
addVersion(String value,
Date modifiedDate)
|
byte |
byteValue()
|
abstract int |
countValues()
|
abstract void |
deleteAllValues()
|
abstract Attachment |
deleteAttachment(Attachment attachment)
|
abstract SingleValue |
deleteMultiValue(SingleValue value)
|
abstract UnsupportedValue |
deleteUnsupportedValue(UnsupportedValue value)
|
double |
doubleValue()
|
boolean |
equals(Object o)
|
float |
floatValue()
|
abstract int |
get()
|
abstract List<Attachment> |
getAttachments()
|
abstract Column |
getColumn()
|
abstract ComplexDataType |
getComplexType()
|
abstract List<SingleValue> |
getMultiValues()
|
abstract List<UnsupportedValue> |
getUnsupportedValues()
|
abstract List<? extends ComplexValue> |
getValues()
|
abstract List<Version> |
getVersions()
|
int |
hashCode()
|
int |
intValue()
|
long |
longValue()
|
abstract void |
reset()
|
short |
shortValue()
|
String |
toString()
|
abstract Attachment |
updateAttachment(Attachment attachment)
|
abstract SingleValue |
updateMultiValue(SingleValue value)
|
abstract UnsupportedValue |
updateUnsupportedValue(UnsupportedValue value)
|
ComplexValueForeignKey
public ComplexValueForeignKey()
byteValue
public byte byteValue()
- Overrides:
byteValue in class Number
shortValue
public short shortValue()
- Overrides:
shortValue in class Number
intValue
public int intValue()
- Specified by:
intValue in class Number
longValue
public long longValue()
- Specified by:
longValue in class Number
floatValue
public float floatValue()
- Specified by:
floatValue in class Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue in class Number
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
get
public abstract int get()
getColumn
public abstract Column getColumn()
getComplexType
public abstract ComplexDataType getComplexType()
countValues
public abstract int countValues()
throws IOException
- Throws:
IOException
getValues
public abstract List<? extends ComplexValue> getValues()
throws IOException
- Throws:
IOException
getVersions
public abstract List<Version> getVersions()
throws IOException
- Throws:
IOException
getAttachments
public abstract List<Attachment> getAttachments()
throws IOException
- Throws:
IOException
getMultiValues
public abstract List<SingleValue> getMultiValues()
throws IOException
- Throws:
IOException
getUnsupportedValues
public abstract List<UnsupportedValue> getUnsupportedValues()
throws IOException
- Throws:
IOException
reset
public abstract void reset()
addVersion
public abstract Version addVersion(String value)
throws IOException
- Throws:
IOException
addVersion
public abstract Version addVersion(String value,
Date modifiedDate)
throws IOException
- Throws:
IOException
addAttachment
public abstract Attachment addAttachment(byte[] data)
throws IOException
- Throws:
IOException
addAttachment
public abstract Attachment addAttachment(String url,
String name,
String type,
byte[] data,
Date timeStamp,
Integer flags)
throws IOException
- Throws:
IOException
addEncodedAttachment
public abstract Attachment addEncodedAttachment(byte[] encodedData)
throws IOException
- Throws:
IOException
addEncodedAttachment
public abstract Attachment addEncodedAttachment(String url,
String name,
String type,
byte[] encodedData,
Date timeStamp,
Integer flags)
throws IOException
- Throws:
IOException
updateAttachment
public abstract Attachment updateAttachment(Attachment attachment)
throws IOException
- Throws:
IOException
deleteAttachment
public abstract Attachment deleteAttachment(Attachment attachment)
throws IOException
- Throws:
IOException
addMultiValue
public abstract SingleValue addMultiValue(Object value)
throws IOException
- Throws:
IOException
updateMultiValue
public abstract SingleValue updateMultiValue(SingleValue value)
throws IOException
- Throws:
IOException
deleteMultiValue
public abstract SingleValue deleteMultiValue(SingleValue value)
throws IOException
- Throws:
IOException
addUnsupportedValue
public abstract UnsupportedValue addUnsupportedValue(Map<String,?> values)
throws IOException
- Throws:
IOException
updateUnsupportedValue
public abstract UnsupportedValue updateUnsupportedValue(UnsupportedValue value)
throws IOException
- Throws:
IOException
deleteUnsupportedValue
public abstract UnsupportedValue deleteUnsupportedValue(UnsupportedValue value)
throws IOException
- Throws:
IOException
deleteAllValues
public abstract void deleteAllValues()
throws IOException
- Throws:
IOException
Copyright © 2005-2015 Health Market Science. All Rights Reserved.