|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.server.RaiseCondition
public class RaiseCondition
Nested Class Summary | |
---|---|
static class |
RaiseCondition.ConditionType
|
Field Summary |
---|
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
Constructor Summary | |
---|---|
RaiseCondition()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RaiseCondition()
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public 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 values
public boolean isDirty()
DefPersistable
isDirty
in interface DefPersistable
public void setDirty(boolean b)
DefPersistable
setDirty
in interface DefPersistable
b
- If true the Object is marked Dirty.public void setOrigObject(DefPersistable oldObj)
setOrigObject
in interface DefPersistable
public DefPersistable getOrigObject()
getOrigObject
in interface DefPersistable
public java.lang.String getFullName()
DefPersistable
getFullName
in interface DefPersistable
public java.lang.String getName()
public boolean isNew()
DefPersistable
isNew
in interface DefPersistable
public void setNew(boolean b)
DefPersistable
setNew
in interface DefPersistable
b
- If true the Object is marked as new object.public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace
in interface PersistentDefinition
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag
in interface PersistentDefinition
public java.lang.String getXMLElementTag()
PersistentDefinition
getXMLElementTag
in interface PersistentDefinition
public void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren
in interface PersistentDefinition
jos
- the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
jos
- the Output storage for persistencepublic void writeObject(DefWriter jos)
PersistentDefinition
writeObject
in interface PersistentDefinition
jos
- the Output storage for persistence
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |