FreeHEP API
Version current

hep.aida.ref.remote.basic
Class BasicUpdateEvent

java.lang.Object
  extended byhep.aida.ref.remote.basic.BasicUpdateEvent
All Implemented Interfaces:
UpdateEvent

public class BasicUpdateEvent
extends Object
implements UpdateEvent

Author:
serbo
Source Code:
BasicUpdateEvent.java

Field Summary
protected  int id
           
protected  String nodeType
           
protected  String path
           
 
Fields inherited from interface hep.aida.ref.remote.basic.interfaces.UpdateEvent
NODE_ADDED, NODE_DELETED, NODE_UPDATED
 
Constructor Summary
BasicUpdateEvent(int id, String path, String nodeType)
          Creates a new instance of BasicTreeEvent
 
Method Summary
 int id()
          Return ID for this Event
 String nodeType()
          Return type of the node.
 String path()
          Return ABSOLUTE path for the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

path

protected String path

nodeType

protected String nodeType
Constructor Detail

BasicUpdateEvent

public BasicUpdateEvent(int id,
                        String path,
                        String nodeType)
Creates a new instance of BasicTreeEvent

Method Detail

id

public int id()
Description copied from interface: UpdateEvent
Return ID for this Event

Specified by:
id in interface UpdateEvent

nodeType

public String nodeType()
Description copied from interface: UpdateEvent
Return type of the node. In Java it is full class name. Node type for a folder is "dir".

Specified by:
nodeType in interface UpdateEvent

path

public String path()
Description copied from interface: UpdateEvent
Return ABSOLUTE path for the node.

Specified by:
path in interface UpdateEvent

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.