|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.purl.xnode.XNodeStoreEvent
public class XNodeStoreEvent
XNodeStoreEvent is used to notify interested parties that state has changed in the XNodeStore.
The XNode API (the package org.purl.xnode.*, both its source code and documentation), are released under the Apache 2.0 License. For more details, check the LICENSE file contained with the distribution, or see The Ceryle Project for more information. It is distributed with no warranty.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
XNodeStoreEvent(Object source,
XNodeState state)
Constructs an XNodeStoreEvent object with no collection or node ID. |
|
XNodeStoreEvent(Object source,
XNodeState state,
String cid,
String nid)
Constructs an XNodeStoreEvent object, with optional Collection and XNode IDs. |
|
| Method Summary | |
|---|---|
String |
getCID()
Returns the Collection ID associated with this event. |
String |
getNID()
Returns the XNode ID associated with this event. |
XNodeState |
getState()
Returns the state of the XNodeStore upon generating this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XNodeStoreEvent(Object source,
XNodeState state)
source - the Object that is the source of the event
(typically this)state - the database state at the time of the event
(see XNodeState).
public XNodeStoreEvent(Object source,
XNodeState state,
String cid,
String nid)
source - the Object that is the source of the event
(typically this)state - the database state at the time of the event
(see XNodeState).cid - the optional Collection ID String.nid - the optional XNode ID String.| Method Detail |
|---|
public XNodeState getState()
public String getCID()
public String getNID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||