public static class ComponentAnnotations.RelationAnnot extends java.lang.Object implements DefPersistable
FLAG_DIRTY, FLAG_EDITABLE, FLAG_FROM_TIP, FLAG_LOAD_BASE, FLAG_LOAD_HL_DEFS, FLAG_MAJOR_VERSION_CHANGED, FLAG_MINOR_VERSION_CHANGED, FLAG_NEW, FLAG_NEW_RECURSE, FLAG_SKIP_WRITE, XML_STATEMENT| Constructor and Description |
|---|
RelationAnnot() |
| 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.
|
java.lang.String |
getIdentificationAttributeName()
return the attribute name for identification on an xml element.
|
java.lang.String |
getName() |
DefPersistable |
getOrigObject() |
java.lang.String |
getType() |
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.
|
boolean |
isNewRecurse() |
boolean |
isSkipWrite() |
boolean |
isWriteObject(DefPersistable parentObj,
DefWriter defWriter) |
void |
setDirty(boolean b)
This method marks the Object dirty
|
void |
setNew(boolean b)
This method marks the as previously persisted.
|
void |
setNewRecurse(boolean b) |
void |
setOrigObject(DefPersistable oldObj) |
void |
setSkipWrite(boolean b) |
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 java.lang.String getName()
public java.lang.String getType()
public boolean isDirty()
DefPersistableisDirty in interface DefPersistablepublic void setDirty(boolean b)
DefPersistablesetDirty in interface DefPersistableb - If true the Object is marked Dirty.public boolean isNew()
DefPersistableisNew in interface DefPersistablepublic void setNew(boolean b)
DefPersistablesetNew in interface DefPersistableb - If true the Object is marked as new object.public boolean isNewRecurse()
isNewRecurse in interface DefPersistablepublic void setNewRecurse(boolean b)
setNewRecurse in interface DefPersistablepublic boolean isSkipWrite()
isSkipWrite in interface DefPersistablepublic void setSkipWrite(boolean b)
setSkipWrite in interface DefPersistablepublic boolean isWriteObject(DefPersistable parentObj, DefWriter defWriter)
isWriteObject in interface DefPersistablepublic java.lang.String getFullName()
DefPersistablegetFullName in interface DefPersistablepublic DefPersistable getOrigObject()
getOrigObject in interface DefPersistablepublic void setOrigObject(DefPersistable oldObj)
setOrigObject in interface DefPersistablepublic void writeObject(DefWriter jos)
PersistentDefinitionwriteObject in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinitionwriteContents in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeChildren(DefWriter jos)
PersistentDefinitionwriteChildren in interface PersistentDefinitionjos - the Output storage for persistencepublic java.lang.String getXMLElementTag()
PersistentDefinitiongetXMLElementTag in interface PersistentDefinitionpublic java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitionpublic java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace in interface PersistentDefinitionpublic java.lang.String getIdentificationAttributeName()
PersistentDefinitiongetIdentificationAttributeName in interface PersistentDefinition