public class CollectionFragment extends Fragment
Fragment.State
Constructor and Description |
---|
CollectionFragment(Row row,
Fragment.State state,
PersistenceContext context)
Constructs a
CollectionFragment from a Row . |
Modifier and Type | Method and Description |
---|---|
Serializable[] |
get()
Gets the collection value.
|
boolean |
isDirty()
Checks if the array is dirty (values changed since last clear).
|
void |
set(Serializable[] value)
Sets a collection value.
|
public CollectionFragment(Row row, Fragment.State state, PersistenceContext context)
CollectionFragment
from a Row
.row
- the rowstate
- the initial state for the fragmentcontext
- the persistence context to which the fragment is tied, or
null
public void set(Serializable[] value) throws StorageException
value
- the valueStorageException
public Serializable[] get() throws StorageException
StorageException
public boolean isDirty()
true
if the array changedCopyright © 2011 Nuxeo SA. All Rights Reserved.