Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.coremodel
Class SQLCollectionProperty

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.coremodel.SQLBaseProperty
      extended by org.nuxeo.ecm.core.storage.sql.coremodel.SQLCollectionProperty
All Implemented Interfaces:
Property

public class SQLCollectionProperty
extends SQLBaseProperty

A SQLCollectionProperty gives access to a wrapped SQL-level CollectionProperty.

Author:
Florent Guillaume

Constructor Summary
SQLCollectionProperty(SQLSession session, CollectionProperty property, ListType type, boolean readonly)
          Creates a SQLCollectionProperty to wrap a CollectionProperty.
 
Method Summary
 java.lang.String getName()
          Gets the name used to identify this property by its container.
 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.SQLBaseProperty
checkWritable, getProperties, getProperty, getPropertyIterator, getType, isNull, isPropertySet, setNull
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLCollectionProperty

public SQLCollectionProperty(SQLSession session,
                             CollectionProperty property,
                             ListType type,
                             boolean readonly)
Creates a SQLCollectionProperty to wrap a CollectionProperty.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: Property
Gets the name used to identify this property by its container.

If the container of this property is not supporting accessing properties by names, returns the empty string.

Returns:
the object name or the empty string if the object has no name

getValue

public java.lang.Object getValue()
                          throws DocumentException
Description copied from interface: Property
Gets the value of this property.

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.

Parameters:
value - the value to set
Throws:
DocumentException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.