|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.Fragment
public abstract class Fragment
A rich value corresponding to one row or a collection of rows in a table.
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:
Nested Class Summary | |
---|---|
static class |
Fragment.State
The possible states of a fragment. |
Method Summary | |
---|---|
void |
clearDirty()
Clears the dirty state. |
java.io.Serializable |
getId()
Gets the id. |
Fragment.State |
getState()
Gets the state. |
void |
setId(java.io.Serializable id)
Sets the id. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Fragment.State getState()
public void setId(java.io.Serializable id)
id
- the new persistent idpublic java.io.Serializable getId()
public void clearDirty()
public java.lang.String toString()
toString
in class java.lang.Object
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |