wt.clients.beans.monitor
Class MonitorLink

java.lang.Object
  extended bywt.clients.beans.graph.DefaultGraphLink
      extended bywt.clients.beans.monitor.MonitorLink
All Implemented Interfaces:
Externalizable, GraphLink, Serializable

public class MonitorLink
extends DefaultGraphLink
implements Externalizable

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  int countMapped
           
private  Hashtable eventHashtable
           
private  String nodeTemplateLinkOid
           
private static String RESOURCE
           
private static String versionID
           
 
Fields inherited from class wt.clients.beans.graph.DefaultGraphLink
DESCRIPTION, LISTENER_LIST, LOOP, PREDECESSOR, SUCCESSOR
 
Constructor Summary
MonitorLink()
           
MonitorLink(MonitorNode pPredecessor, MonitorNode pSuccessor, String pNodeTemplateLinkOid)
           
 
Method Summary
 void addEvent(String event, String action)
           
 Hashtable getEventHashtable()
           
 String getNodeTemplateLinkOid()
          Gets the value of the attribute: nodeTemplateLink.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
 void setNodeTemplateLinkOid(String a_NodeTemplateLinkOid)
          Sets the value of the attribute: nodeTemplateLink.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.clients.beans.graph.DefaultGraphLink
addPropertyChangeListener, getDescription, getPredecessor, getSuccessor, isLoop, removePropertyChangeListener, setDescription, setLoop, setPredecessor, setSuccessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

nodeTemplateLinkOid

private String nodeTemplateLinkOid

eventHashtable

private Hashtable eventHashtable

countMapped

private int countMapped

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

MonitorLink

public MonitorLink(MonitorNode pPredecessor,
                   MonitorNode pSuccessor,
                   String pNodeTemplateLinkOid)
            throws WTPropertyVetoException
Parameters:
pPredecessor -
pSuccessor -
Throws:
WTPropertyVetoException

MonitorLink

public MonitorLink()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Description copied from class: DefaultGraphLink
Writes the non-transient fields of this class to an external source.

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class DefaultGraphLink
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Description copied from class: DefaultGraphLink
Reads the non-transient fields of this class from an external source.

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class DefaultGraphLink
Parameters:
input -
Throws:
IOException
ClassNotFoundException

getNodeTemplateLinkOid

public String getNodeTemplateLinkOid()
Gets the value of the attribute: nodeTemplateLink.

Returns:
String

setNodeTemplateLinkOid

public void setNodeTemplateLinkOid(String a_NodeTemplateLinkOid)
                            throws WTPropertyVetoException
Sets the value of the attribute: nodeTemplateLink.

Throws:
WTPropertyVetoException

addEvent

public void addEvent(String event,
                     String action)
Parameters:
event -
action -

getEventHashtable

public Hashtable getEventHashtable()
Returns:
Hashtable