org.nuxeo.ecm.core.storage.sql.coremodel
Class SQLContentProperty
java.lang.Object
org.nuxeo.ecm.core.storage.sql.coremodel.SQLBaseProperty
org.nuxeo.ecm.core.storage.sql.coremodel.SQLComplexProperty
org.nuxeo.ecm.core.storage.sql.coremodel.SQLContentProperty
- All Implemented Interfaces:
- Property, PropertyContainer
public class SQLContentProperty
- extends SQLComplexProperty
A 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
.
- Author:
- Florent Guillaume
Methods inherited from class org.nuxeo.ecm.core.storage.sql.coremodel.SQLComplexProperty |
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 |
APPLICATION_OCTET_STREAM
public static final String APPLICATION_OCTET_STREAM
- See Also:
- Constant Field Values
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
MIME_TYPE
public static final String MIME_TYPE
- See Also:
- Constant Field Values
FILE_NAME
public static final String FILE_NAME
- See Also:
- Constant Field Values
DIGEST
public static final String DIGEST
- See Also:
- Constant Field Values
LENGTH
public static final String LENGTH
- See Also:
- Constant Field Values
BINARY
public static final String BINARY
- See Also:
- Constant Field Values
SQLContentProperty
public SQLContentProperty(Node node,
ComplexType type,
SQLSession session,
boolean readonly)
getValue
public Object getValue()
throws DocumentException
- Description copied from interface:
Property
- Gets the value of this property.
- Specified by:
getValue
in interface Property
- Overrides:
getValue
in class SQLComplexProperty
- Returns:
- this property's value
- Throws:
DocumentException
setValue
public void setValue(Object value)
throws DocumentException
- Description copied from interface:
Property
- Sets the value of this property.
- Specified by:
setValue
in interface Property
- Overrides:
setValue
in class SQLComplexProperty
- Parameters:
value
- the value to set
- Throws:
DocumentException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.