uk.org.ogsadai.common.properties
Class PropertyEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--uk.org.ogsadai.common.properties.PropertyEvent
All Implemented Interfaces:
java.io.Serializable

public class PropertyEvent
extends java.util.EventObject

An event representing some kind of occurence involving a Properties object.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
private  Property mProperty
           
private static long serialVersionUID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertyEvent(Properties source, Property property)
          Constructs a PropertyEvent representing an occurence between a source properties collection and a property object.
 
Method Summary
 Properties getProperties()
          Returns the Properties object that originated the event.
 Property getProperty()
          Returns the Property that was involved in the 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
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mProperty

private Property mProperty
Constructor Detail

PropertyEvent

public PropertyEvent(Properties source,
                     Property property)
Constructs a PropertyEvent representing an occurence between a source properties collection and a property object.

Parameters:
source - The Properties object that originated the event.
property - The Property involved in the event.
Method Detail

getProperties

public Properties getProperties()
Returns the Properties object that originated the event.

Returns:
the Properties object.

getProperty

public Property getProperty()
Returns the Property that was involved in the event.

Returns:
the Property object.