Test webapp

adriani.webapp.beans
Class GeneralBean

java.lang.Object
  extended by adriani.webapp.beans.GeneralBean
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SessionBean

public class GeneralBean
extends java.lang.Object
implements java.io.Serializable

Parent class for all the XXXBean classes. It defines the general methods used in all other beans, such as parsing and conversion of data type.

See Also:
Serialized Form

Constructor Summary
GeneralBean()
          Mandatory constructor, required by the JavaBeans implementation rules.
 
Method Summary
 void finalize()
          Used to easy performances test.
 boolean isSet()
          Specifies if the "natural" object stored in this bean is not null.
 byte toByte(java.lang.String value)
          Parse a String value into a byte value.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralBean

public GeneralBean()
Mandatory constructor, required by the JavaBeans implementation rules.

Method Detail

isSet

public boolean isSet()
Specifies if the "natural" object stored in this bean is not null.

Returns:
true if the bean's attributes have been set by a setPropert call.

toByte

public byte toByte(java.lang.String value)
Parse a String value into a byte value.

Parameters:
value - the input String
Returns:
the parsed input String as a byte value

finalize

public void finalize()
Used to easy performances test.

Overrides:
finalize in class java.lang.Object

Build 21/09/2009

Morpheus Quality Technologies - making the Zion software
Copyright © 2009 Stefano Adriani. All Rights Reserved