public interface DefPersistable extends PersistentDefinition
NAME DefPersistable .java - DESCRIPTION NOTES VERSION MODIFIED (MM/DD/YY) draju 02/20/98 - Created the interface. draju 03/26/98 - Added Structured Storage related stuff
Modifier and Type | Field and Description |
---|---|
static int |
FLAG_DIRTY |
static int |
FLAG_EDITABLE |
static int |
FLAG_FROM_TIP |
static int |
FLAG_LOAD_BASE |
static int |
FLAG_LOAD_HL_DEFS |
static int |
FLAG_MAJOR_VERSION_CHANGED |
static int |
FLAG_MINOR_VERSION_CHANGED |
static int |
FLAG_NEW |
static int |
FLAG_NEW_RECURSE |
static int |
FLAG_SKIP_WRITE |
static int |
XML_STATEMENT
The following are the Statement types
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFullName()
This method returns the Persistence reference of the object.
|
DefPersistable |
getOrigObject() |
boolean |
isDirty()
This method returns if an Object is modified from last save/load
|
boolean |
isNew()
This method returns if this object is previously persisted.
|
boolean |
isNewRecurse() |
boolean |
isSkipWrite() |
boolean |
isWriteObject(DefPersistable parentObj,
DefWriter defWriter) |
void |
setDirty(boolean isDirty)
This method marks the Object dirty
|
void |
setNew(boolean isNew)
This method marks the as previously persisted.
|
void |
setNewRecurse(boolean isNew) |
void |
setOrigObject(DefPersistable oldObj) |
void |
setSkipWrite(boolean isSkipWrite) |
getDefXMLElementTag, getDefXMLNameSpace, getIdentificationAttributeName, getXMLElementTag, writeChildren, writeContents, writeObject
static final int FLAG_MINOR_VERSION_CHANGED
static final int FLAG_MAJOR_VERSION_CHANGED
static final int FLAG_DIRTY
static final int FLAG_NEW
static final int FLAG_EDITABLE
static final int FLAG_FROM_TIP
static final int FLAG_LOAD_BASE
static final int FLAG_NEW_RECURSE
static final int FLAG_LOAD_HL_DEFS
static final int FLAG_SKIP_WRITE
static final int XML_STATEMENT
boolean isDirty()
void setDirty(boolean isDirty)
isDirty
- If true the Object is marked Dirty.boolean isNew()
void setNew(boolean isNew)
isNew
- If true the Object is marked as new object.boolean isNewRecurse()
void setNewRecurse(boolean isNew)
boolean isSkipWrite()
void setSkipWrite(boolean isSkipWrite)
boolean isWriteObject(DefPersistable parentObj, DefWriter defWriter)
@Restricted java.lang.String getFullName()
DefPersistable getOrigObject()
void setOrigObject(DefPersistable oldObj)