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
Method Summary |
java.lang.Object |
getValue()
Gets the value of this property. |
void |
setValue(java.lang.Object value)
Sets the value of this property. |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPLICATION_OCTET_STREAM
public static final java.lang.String APPLICATION_OCTET_STREAM
- See Also:
- Constant Field Values
ENCODING
public static final java.lang.String ENCODING
- See Also:
- Constant Field Values
MIME_TYPE
public static final java.lang.String MIME_TYPE
- See Also:
- Constant Field Values
FILE_NAME
public static final java.lang.String FILE_NAME
- See Also:
- Constant Field Values
DIGEST
public static final java.lang.String DIGEST
- See Also:
- Constant Field Values
LENGTH
public static final java.lang.String LENGTH
- See Also:
- Constant Field Values
BINARY
public static final java.lang.String BINARY
- See Also:
- Constant Field Values
SQLContentProperty
public SQLContentProperty(Node node,
ComplexType type,
SQLSession session,
boolean readonly)
getValue
public java.lang.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(java.lang.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 © 2010 Nuxeo SAS. All Rights Reserved.