|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object viper.api.impl.AbstractViperChangeEvent viper.api.impl.AbstractMajorNodeChangeEvent
An implementation of some of the more common forms of major node change event methods.
Field Summary | |
protected java.util.List |
events
|
Constructor Summary | |
AbstractMajorNodeChangeEvent(java.lang.String uri)
Creates a new major node change event with the given class URI. |
Method Summary | |
void |
addEvent(ViperChangeEvent vce)
Adds the new subevent to the list of events included in this major event. |
void |
die()
Removes all children of the events, and performs any required cleanup. |
java.util.Iterator |
getSubEvents()
Gets the subevents that make up this event. |
java.lang.String |
getUri()
Gets a unique id for the type of change. Note that different instances of the same kind of change will all return the same URI. |
Methods inherited from class viper.api.impl.AbstractViperChangeEvent |
addProperty, getProperty, listProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface viper.api.extensions.ViperChangeEvent |
getIndexes, getParent, getProperty, getSource, listProperties |
Field Detail |
protected java.util.List events
Constructor Detail |
public AbstractMajorNodeChangeEvent(java.lang.String uri)
uri
- the class of change eventMethod Detail |
public void addEvent(ViperChangeEvent vce)
vce
- the event to addpublic java.lang.String getUri()
getUri
in interface ViperChangeEvent
public java.util.Iterator getSubEvents()
getSubEvents
in interface MajorNodeChangeEvent
public void die()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |