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, setString
checkWritable, getType, isNull, isSpecialSystemProperty, setNull
public 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
Property
getValue
in interface Property
getValue
in class SQLComplexProperty
DocumentException
public void setValue(Object value) throws DocumentException
Property
setValue
in interface Property
setValue
in class SQLComplexProperty
value
- the value to setDocumentException
Copyright © 2013 Nuxeo SA. All Rights Reserved.