org.openbp.jaspira.event
Class JaspiraEventHandlerCode

java.lang.Object
  extended by org.openbp.jaspira.event.JaspiraEventHandlerCode

public class JaspiraEventHandlerCode
extends java.lang.Object

Simple integer class used for return codes of Jaspira event handler methods. This class is used for easy detection of event handler methods by reflection. It should be used solely for this purpose.

Author:
Heiko Erhardt

Constructor Summary
JaspiraEventHandlerCode(java.lang.String code)
          Default constructor.
 
Method Summary
 java.lang.String getCode()
          Gets the event handler return code.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaspiraEventHandlerCode

public JaspiraEventHandlerCode(java.lang.String code)
Default constructor.

Parameters:
code - Code represented by this object
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
The code

getCode

public java.lang.String getCode()
Gets the event handler return code.



Copyright © 2011. All Rights Reserved.