public abstract class Fragment extends Object implements Serializable
In addition to the basic Row
, this holds the old values (to check dirty state), the state and a reference to
the session.
This class has two kinds of state-changing methods:
Modifier and Type | Class and Description |
---|---|
static class |
Fragment.State
The possible states of a fragment.
|
Modifier and Type | Method and Description |
---|---|
void |
clearDirty()
Clears the dirty state.
|
Serializable |
getId()
Gets the id.
|
Fragment.State |
getState()
Gets the state.
|
void |
setId(Serializable id)
Sets the id.
|
String |
toString() |
public Fragment.State getState()
public void setId(Serializable id)
id
- the new persistent idpublic Serializable getId()
public void clearDirty()
Copyright © 2015 Nuxeo SA. All rights reserved.