org.dbforms.config
Class EventInfo

java.lang.Object
  extended by org.dbforms.config.EventInfo
All Implemented Interfaces:
Serializable

public class EventInfo
extends Object
implements Serializable

Event information class

Author:
Luca Fossato
See Also:
Serialized Form

Constructor Summary
EventInfo()
          Default constructor.
EventInfo(String type, String className)
          Constructor.
 
Method Summary
 void addProperty(String name, String value)
          Adds a new property to this EventInfo object.
 String getClassName()
          Gets the className attribute of the EventInfo object
 String getId()
          Gets the id attribute of the EventInfo object
 Properties getProperties()
          Gets the properties attribute of the EventInfo object
 String getType()
          Gets the type attribute of the EventInfo object
 void setClassName(String className)
          Sets the className attribute of the EventInfo object
 void setId(String id)
          Sets the id attribute of the EventInfo object
 void setType(String type)
          Sets the type attribute of the EventInfo object
 String toString()
          Return the String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventInfo

public EventInfo()
Default constructor.


EventInfo

public EventInfo(String type,
                 String className)
Constructor.

Parameters:
type - the event type
className - the full qualified bname of the event class
Method Detail

setClassName

public void setClassName(String className)
Sets the className attribute of the EventInfo object

Parameters:
className - The new className value

getClassName

public String getClassName()
Gets the className attribute of the EventInfo object

Returns:
The className value

setId

public void setId(String id)
Sets the id attribute of the EventInfo object

Parameters:
id - The new id value

getId

public String getId()
Gets the id attribute of the EventInfo object

Returns:
The id value

getProperties

public Properties getProperties()
Gets the properties attribute of the EventInfo object

Returns:
The properties value

setType

public void setType(String type)
Sets the type attribute of the EventInfo object

Parameters:
type - The new type value

getType

public String getType()
Gets the type attribute of the EventInfo object

Returns:
The type value

addProperty

public void addProperty(String name,
                        String value)
Adds a new property to this EventInfo object.

Parameters:
property - The feature to be added to the Property attribute

toString

public String toString()
Return the String representation of this object.

Overrides:
toString in class Object
Returns:
the String representation of this object


Copyright © 2002-2006 DbForms. All Rights Reserved.