Package org.nuxeo.ecm.core.storage.sql
Class CollectionProperty
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.BaseProperty
-
- org.nuxeo.ecm.core.storage.sql.CollectionProperty
-
public class CollectionProperty extends BaseProperty
ACollectionProperty
gives access to a collection value stored in an underlyingFragment
.- Author:
- Florent Guillaume
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
name, type
-
-
Constructor Summary
Constructors Constructor Description CollectionProperty(String name, PropertyType type, boolean readonly, CollectionFragment fragment)
Creates aCollectionProperty
.CollectionProperty(String name, PropertyType type, boolean readonly, SimpleFragment fragment, String key)
Creates aCollectionProperty
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getStrings()
Serializable[]
getValue()
void
setValue(Object[] value)
-
Methods inherited from class org.nuxeo.ecm.core.storage.sql.BaseProperty
checkWritable, getName, refresh, remove, save
-
-
-
-
Constructor Detail
-
CollectionProperty
public CollectionProperty(String name, PropertyType type, boolean readonly, CollectionFragment fragment)
Creates aCollectionProperty
.
-
CollectionProperty
public CollectionProperty(String name, PropertyType type, boolean readonly, SimpleFragment fragment, String key)
Creates aCollectionProperty
.
-
-
Method Detail
-
getValue
public Serializable[] getValue()
-
getStrings
public String[] getStrings()
-
setValue
public void setValue(Object[] value)
-
-