public class SQLContentProperty extends SQLComplexProperty
SQLContentProperty gives access to a blob, which consists of a
Node of a specialized type: content. One of the columns of
the row stores (indirectly) actual blob data using a Binary.| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_OCTET_STREAM |
static String |
BINARY |
static String |
DIGEST |
static String |
ENCODING |
static String |
FILE_NAME |
static String |
LENGTH |
static String |
MIME_TYPE |
DC_ISSUED, RELATED_TEXT_RESOURCES| Constructor and Description |
|---|
SQLContentProperty(Node node,
ComplexType type,
SQLSession session,
boolean readonly) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue()
Gets the value of this property.
|
void |
setValue(Object value)
Sets the value of this property.
|
exportFlatMap, exportMap, exportMap, getBoolean, getContent, getDate, getDirtyFields, getDouble, getLong, getName, getNode, getProperties, getProperty, getPropertyIterator, getPropertyValue, getString, importFlatMap, importMap, isPropertySet, removeProperty, setBoolean, setContent, setDate, setDouble, setLong, setPropertyValue, setStringcheckWritable, getType, isNull, isSpecialSystemProperty, setNullpublic static final String APPLICATION_OCTET_STREAM
public static final String ENCODING
public static final String MIME_TYPE
public static final String FILE_NAME
public static final String DIGEST
public static final String LENGTH
public static final String BINARY
public SQLContentProperty(Node node, ComplexType type, SQLSession session, boolean readonly)
public Object getValue() throws DocumentException
PropertygetValue in interface PropertygetValue in class SQLComplexPropertyDocumentExceptionpublic void setValue(Object value) throws DocumentException
PropertysetValue in interface PropertysetValue in class SQLComplexPropertyvalue - the value to setDocumentExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.