Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql
Class CollectionProperty

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.BaseProperty
      extended by org.nuxeo.ecm.core.storage.sql.CollectionProperty

public class CollectionProperty
extends BaseProperty

A CollectionProperty gives access to a collection value stored in an underlying CollectionFragment.

Author:
Florent Guillaume

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
type
 
Constructor Summary
CollectionProperty(String name, PropertyType type, boolean readonly, CollectionFragment fragment)
          Creates a CollectionProperty.
 
Method Summary
 String[] getStrings()
           
 Serializable[] getValue()
           
 void setValue(Object[] value)
           
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
getName, refresh, remove, save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionProperty

public CollectionProperty(String name,
                          PropertyType type,
                          boolean readonly,
                          CollectionFragment fragment)
Creates a CollectionProperty.

Method Detail

getValue

public Serializable[] getValue()
                        throws StorageException
Throws:
StorageException

getStrings

public String[] getStrings()
                    throws StorageException
Throws:
StorageException

setValue

public void setValue(Object[] value)
              throws StorageException
Throws:
StorageException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.