|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adfnmc.util.eventing.EventObject
oracle.jbo.JboEvent
oracle.jbo.server.EntityEvent
public class EntityEvent
| Field Summary | |
|---|---|
static int |
ATTRIBUTE_CHANGE
An event type indicating that the Entity Object's attribute data has changed; that is, setAttribute()
has been called for the Entity Object. |
static int |
BEFORE_PK_CHANGE
An event type indicating that the Entity Object's primary key is about to change; that is, setAttribute() has been called on a primary key attribute for the Entity Object. |
static int |
BEFORE_REMOVE
An event type indicating that the Entity Object's row is to be removed. |
static int |
STATE_CHANGE
An event type indicating that the Entity Object's post state data has changed. |
| Fields inherited from class oracle.adfnmc.util.eventing.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
EntityEvent(EntityImpl source,
int eventType,
int oldState,
int[] changedColumns,
java.lang.Object[] origValues)
Constructs a new Entity Object event. |
|
EntityEvent(EntityImpl source,
int eventType,
int oldState,
int[] changedColumns,
java.lang.Object[] origValues,
Key newKey)
|
|
| Method Summary | |
|---|---|
int[] |
getChangedColumns()
Constructs an array of the indices of the changed attribute. |
EntityImpl |
getEntity()
Gets the Entity Object that fired the event. |
int |
getEventType()
Gets the Entity Object's event type. |
Key |
getNewKey()
|
int |
getOldState()
Gets the Entity Object's previous post state. |
java.lang.Object[] |
getOldValues()
Gets the attribute's old values. |
boolean |
isBlgChanged()
|
boolean |
isMarkQCDirty()
|
void |
setBlgChanged(boolean blgChanged)
|
void |
setMarkQCDirty(boolean markQCDirty)
|
| Methods inherited from class oracle.adfnmc.util.eventing.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ATTRIBUTE_CHANGE
setAttribute()
has been called for the Entity Object.
getEventType(),
Constant Field Valuespublic static final int STATE_CHANGE
getEventType(),
EntityImpl,
Constant Field Valuespublic static final int BEFORE_REMOVE
getEventType(),
Constant Field Valuespublic static final int BEFORE_PK_CHANGE
setAttribute() has been called on a primary key attribute for the Entity Object. The value has not
yet been assigned to the Entity Object.
getEventType(),
Constant Field Values| Constructor Detail |
|---|
public EntityEvent(EntityImpl source,
int eventType,
int oldState,
int[] changedColumns,
java.lang.Object[] origValues)
source - the Entity Object row that fired the event.eventType - the type of event. One of ATTRIBUTE_CHANGE, STATE_CHANGE, or
BEFORE_REMOVE.oldState - the post state of Entity Object row before it was changed. This parameter is relevant only for
STATE_CHANGE events.changedColumns - an array of the indices of changed attributes. This parameter is relevant only if the event type is
ATTRIBUTE_CHANGE.origValues - an array of the previous attribute values. This parameter is relevant only if the event type is
ATTRIBUTE_CHANGE.
public EntityEvent(EntityImpl source,
int eventType,
int oldState,
int[] changedColumns,
java.lang.Object[] origValues,
Key newKey)
| Method Detail |
|---|
public final EntityImpl getEntity()
public int getEventType()
ATTRIBUTE_CHANGE, STATE_CHANGE, or BEFORE_REMOVE.public int getOldState()
STATE_CHANGE.
public int[] getChangedColumns()
ATTRIBUTE_CHANGE.
public java.lang.Object[] getOldValues()
ATTRIBUTE_CHANGE.
public Key getNewKey()
public boolean isMarkQCDirty()
public void setMarkQCDirty(boolean markQCDirty)
public boolean isBlgChanged()
public void setBlgChanged(boolean blgChanged)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||