|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.SQLObjectPreEvent
public class SQLObjectPreEvent
Event object associated with the SQLObject pre-event system. Presently, this event class does not support property change type events; this will be added in the future if the need arises.
| Constructor Summary | |
|---|---|
SQLObjectPreEvent(SQLObject source,
int[] changeIndices,
SQLObject[] children)
Use this constructor for DBChildrenInserted and DBChildrenRemoved type events. |
|
| Method Summary | |
|---|---|
int[] |
getChangeIndices()
Returns the child indices that may be added/removed. |
SQLObject[] |
getChildren()
Returns the child objects that may be added/removed. |
SQLObject |
getSource()
Returns the source object of this event. |
boolean |
isVetoed()
Returns whether or not this event has been vetoed yet. |
void |
veto()
Sets the vetoed state of this event to true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLObjectPreEvent(SQLObject source,
int[] changeIndices,
SQLObject[] children)
propertyName will be set to the
string "children".
source - The SQLObject that may undergo a change.changeIndices - The indices of the children that might be
added or removed. The indices must be in ascending order.children - The actual SQLObject instances that might be added
or removed to/from the source object.| Method Detail |
|---|
public int[] getChangeIndices()
public SQLObject[] getChildren()
public SQLObject getSource()
public void veto()
public boolean isVetoed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||