public class RaiseCondition extends java.lang.Object implements DefPersistable, DiffMergeable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | RaiseCondition.ConditionType | 
XML_STATEMENT| Constructor and Description | 
|---|
| RaiseCondition() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | applyDiffChildren(DifferDetails dif,
                 DiffResolver resolver) | 
| void | applyDiffContents(DifferDetails dif,
                 DiffResolver resolver) | 
| java.lang.Object | clone() | 
| DifferDetails | diffChildren(DiffMergeable docDef,
            DiffMergeable orgDef,
            DifferDetails difDetails) | 
| DifferDetails | diffContents(DiffMergeable docDef,
            DiffMergeable orgDef,
            DifferDetails difDetails) | 
| DifferDetails | diffObjects(DiffMergeable docDef,
           DiffMergeable orgDef,
           DifferDetails difDetails) | 
| DifferDetails | ensureDifferDetails(DifferDetails difDetails) | 
| java.lang.String | getAttrName()Gets the attribute name for the raise condition. | 
| java.lang.String | getDefXMLElementTag() | 
| java.lang.String | getDefXMLNameSpace() | 
| java.lang.String | getFullName()This method returns the Persistence reference of the object. | 
| java.lang.String | getName() | 
| DefPersistable | getOrigObject() | 
| RaiseCondition.ConditionType | getType()Returns the type of the raise condition. | 
| java.lang.String | getValue()Gets the value for the raise condition, if any. | 
| java.lang.String | getXMLElementTag()Returns a piece of static info for the type of object this is invoked
 upon. | 
| boolean | isConditionSatisfied(EntityImpl ent)Determines whether or not the raise condition is satisfied given the 
 current state of the specified entity instance. | 
| 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 | setAttrName(java.lang.String attrName) | 
| void | setDirty(boolean b)This method marks the Object dirty | 
| void | setNew(boolean b)This method marks the as previously persisted. | 
| void | setOrigObject(DefPersistable oldObj) | 
| void | setType(RaiseCondition.ConditionType type) | 
| void | setValue(java.lang.String value) | 
| 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.Object clone()
clone in class java.lang.Objectpublic java.lang.String getAttrName()
public void setAttrName(java.lang.String attrName)
public RaiseCondition.ConditionType getType()
public void setType(RaiseCondition.ConditionType type)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public boolean isConditionSatisfied(EntityImpl ent)
ent - - the entity instance that will be used to retrieve the
                   new and old valuespublic boolean isDirty()
DefPersistableisDirty in interface DefPersistablepublic void setDirty(boolean b)
DefPersistablesetDirty in interface DefPersistableb - If true the Object is marked Dirty.public void setOrigObject(DefPersistable oldObj)
setOrigObject in interface DefPersistablepublic DefPersistable getOrigObject()
getOrigObject in interface DefPersistablepublic java.lang.String getFullName()
DefPersistablegetFullName in interface DiffMergeablegetFullName in interface DefPersistablepublic java.lang.String getName()
getName in interface DiffMergeablepublic boolean isNew()
DefPersistableisNew in interface DefPersistablepublic void setNew(boolean b)
DefPersistablesetNew in interface DefPersistableb - If true the Object is marked as new object.public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace in interface PersistentDefinitionpublic java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitionpublic java.lang.String getXMLElementTag()
PersistentDefinitiongetXMLElementTag in interface PersistentDefinitionpublic void writeChildren(DefWriter jos)
PersistentDefinitionwriteChildren in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinitionwriteContents in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeObject(DefWriter jos)
PersistentDefinitionwriteObject in interface PersistentDefinitionjos - the Output storage for persistencepublic DifferDetails ensureDifferDetails(DifferDetails difDetails)
ensureDifferDetails in interface DiffMergeablepublic DifferDetails diffContents(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffContents in interface DiffMergeablepublic DifferDetails diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffChildren in interface DiffMergeablepublic DifferDetails diffObjects(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffObjects in interface DiffMergeablepublic void applyDiffContents(DifferDetails dif, DiffResolver resolver)
applyDiffContents in interface DiffMergeablepublic void applyDiffChildren(DifferDetails dif, DiffResolver resolver)
applyDiffChildren in interface DiffMergeable