public class JboNamedData extends PropertyNameValueDef implements DefPersistable
NULL_VALUEFLAG_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 |
|---|
JboNamedData() |
JboNamedData(JboNamedData other) |
JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value) |
JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value,
boolean saveNullValue) |
JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value,
boolean saveNullValue,
int paramOption) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFullName()
This method returns the Persistence reference of the object.
|
int |
getOption()
Advanced : For internal use only
|
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 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
|
clone, convertToText, convertToVector, copy, getColumnList, getDefXMLElementTag, getDefXMLNameSpace, getIdentificationAttributeName, getName, getType, getTypedValue, getTypeName, getValue, getXMLElementTag, loadFromXMLFile, setBeanProperty, setName, setType, setValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefXMLElementTag, getDefXMLNameSpace, getIdentificationAttributeName, getXMLElementTagpublic JboNamedData()
@Restricted
public JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value)
public JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value,
boolean saveNullValue)
public JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value,
boolean saveNullValue,
int paramOption)
public JboNamedData(JboNamedData other)
public boolean isDirty()
isDirty in interface DefPersistablepublic void setDirty(boolean b)
setDirty in interface DefPersistableisDirty - If true the Object is marked Dirty.public boolean isNew()
isNew in interface DefPersistablepublic void setNew(boolean b)
setNew in interface DefPersistableisNew - 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 DefPersistable getOrigObject()
getOrigObject in interface DefPersistablepublic void setOrigObject(DefPersistable oldObj)
setOrigObject in interface DefPersistablepublic java.lang.String getFullName()
getFullName in interface DefPersistablegetFullName in class PropertyNameValueDefpublic int getOption()
public void writeObject(DefWriter jos) throws DefPersistenceException
writeObject in interface PersistentDefinitionjos - the Output storage for persistenceDefPersistenceExceptionpublic void writeContents(DefWriter jos) throws DefPersistenceException
writeContents in interface PersistentDefinitionjos - the Output storage for persistenceDefPersistenceExceptionpublic void writeChildren(DefWriter jos) throws DefPersistenceException
writeChildren in interface PersistentDefinitionjos - the Output storage for persistencejava.lang.Error - in writing the Object's Children to the storageDefPersistenceException