com.togethersoft.testing.host
Class AssetEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.togethersoft.testing.host.AssetEvent

public class AssetEvent
extends EventObject

Represents change event provided to notify listeners about changes of host elements. (IElementRO)


Field Summary
 Exceptionexception
           
 private IElementROmyAsset
           

Fields inherited from class java.util.EventObject
source

Constructor Summary
AssetEvent(Object source, IElementRO asset)
          Creates new instance of AssetEvent

Method Summary
 booleanequals(Object o)
          Compares the instance to other AssetEvent
 IElementROgetElement()
          Returns the event element
 IElementROgetEventSource()
          Returns the event source

Methods inherited from class java.util.EventObject
getSource, toString

Methods inherited from class java.lang.Object
getClass, hashCode, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

exception

public Exception exception

myAsset

private IElementRO myAsset
Constructor Detail

AssetEvent

public AssetEvent(Object source, IElementRO asset)
Creates new instance of AssetEvent
Parameters:
source the source of event
asset the element
Method Detail

equals

public boolean equals(Object o)
Compares the instance to other AssetEvent

getElement

public IElementRO getElement()
Returns the event element

getEventSource

public IElementRO getEventSource()
Returns the event source

Association Links

to Class com.togethersoft.testing.shared.IElementRO

to Class java.lang.Exception