|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ojb.otm.states.State org.apache.ojb.otm.states.Hollow
public class Hollow
this state represents persistent objects outside of transaction (no ODMG equivalent).
Field Summary |
---|
Fields inherited from class org.apache.ojb.otm.states.State |
---|
HOLLOW, PERSISTENT_CLEAN, PERSISTENT_DELETED, PERSISTENT_DIRTY, PERSISTENT_NEW, PERSISTENT_NEW_DELETED, TRANSIENT |
Fields inherited from interface org.apache.ojb.broker.util.ObjectModification |
---|
INSERT, serialVersionUID, UPDATE |
Constructor Summary | |
---|---|
Hollow()
|
Method Summary | |
---|---|
State |
deletePersistent()
Describes the state transition on deletePersistent() |
State |
getObject()
Describes the state transition when object is gotten from the cache or is loaded from database (once per transaction). |
State |
markDirty()
Describes the state transition when user modifies object |
State |
rollback()
Describes the state transition on rollback() |
String |
toString()
return a String representation |
Methods inherited from class org.apache.ojb.otm.states.State |
---|
commit, isDeleted, makePersistent, needsDelete, needsInsert, needsUpdate, refresh |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
Hollow()
Method Detail |
---|
public String toString()
toString
in class Object
public State getObject() throws IllegalObjectStateException
getObject
in class State
IllegalObjectStateException
public State markDirty() throws IllegalObjectStateException
markDirty
in class State
IllegalObjectStateException
public State deletePersistent() throws IllegalObjectStateException
deletePersistent
in class State
IllegalObjectStateException
public State rollback() throws IllegalObjectStateException
State
rollback
in class State
IllegalObjectStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |