public class DeclarativeWhereClause extends java.lang.Object implements DefPersistable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PNAME_DECLARATIVEWHERECLAUSE |
XML_STATEMENT| Constructor and Description |
|---|
DeclarativeWhereClause(DefinitionManager defMgr) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefXMLElementTag() |
java.lang.String |
getDefXMLNameSpace() |
java.lang.String |
getFullName()
This method returns the Persistence reference of the object.
|
DefPersistable |
getOrigObject() |
ViewCriteria |
getViewCriteria() |
java.lang.String |
getXMLElementTag()
Returns a piece of static info for the type of object this is invoked
upon.
|
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.
|
void |
loadXMLContents(DefElement xmlElement) |
void |
setDirty(boolean isDirty)
This method marks the Object dirty
|
void |
setNew(boolean b)
This method marks the as previously persisted.
|
void |
setOrigObject(DefPersistable oldObj) |
void |
setViewCriteria(ViewCriteria crit) |
void |
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage
|
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method
|
void |
writeObject(DefWriter jos)
Objects should write their persistence output in this method
|
public static final java.lang.String PNAME_DECLARATIVEWHERECLAUSE
public DeclarativeWhereClause(DefinitionManager defMgr)
public void setViewCriteria(ViewCriteria crit)
public ViewCriteria getViewCriteria()
public final java.lang.String getXMLElementTag()
PersistentDefinitiongetXMLElementTag in interface PersistentDefinitionpublic final void writeChildren(DefWriter jos) throws DefPersistenceException
PersistentDefinitionwriteChildren in interface PersistentDefinitionjos - the Output storage for persistenceDefPersistenceExceptionpublic void loadXMLContents(DefElement xmlElement)
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitionpublic java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace in interface PersistentDefinitionpublic boolean isNew()
DefPersistableisNew in interface DefPersistablepublic void setNew(boolean b)
DefPersistablesetNew in interface DefPersistableb - If true the Object is marked as new object.public DefPersistable getOrigObject()
getOrigObject in interface DefPersistablepublic void setOrigObject(DefPersistable oldObj)
setOrigObject in interface DefPersistablepublic java.lang.String getFullName()
DefPersistablegetFullName in interface DefPersistablepublic void writeObject(DefWriter jos)
PersistentDefinitionwriteObject in interface PersistentDefinitionjos - the Output storage for persistencepublic boolean isDirty()
DefPersistableisDirty in interface DefPersistablepublic void setDirty(boolean isDirty)
DefPersistablesetDirty in interface DefPersistableisDirty - If true the Object is marked Dirty.public void writeContents(DefWriter jos)
PersistentDefinitionwriteContents in interface PersistentDefinitionjos - the Output storage for persistence