All Packages Class Hierarchy This Package Previous Next Index
Class com.sdi.wap.demo.bean.BeanImpl
java.lang.Object
|
+----com.sdi.wap.demo.bean.BeanImpl
- public abstract class BeanImpl
- extends Object
Abstract superclass of all bean classes. Provides inheritable
support for the validation protocol to its subclasses..
-
message
-
-
BeanImpl()
- Insert the method's description here.
-
getMessage()
- Get the error message from a type that might be null.
-
getMessage(Field)
- Get the error message from a type that might be null.
-
isValid()
- Is this bean in a valid state for saving?
-
isValid(Field[])
- Returns true is all values are valid, false if any are invalid.
message
private transient String message
BeanImpl
public BeanImpl()
- Insert the method's description here.
- Parameters:
- type - java.lang.String
getMessage
public String getMessage()
- Get the error message from a type that might be null.
- Parameters:
- type - com.sdi.field.AbstractType
getMessage
public String getMessage(Field type)
- Get the error message from a type that might be null.
Fixme: is this used now?
- Parameters:
- type - com.sdi.field.AbstractType
isValid
public abstract boolean isValid()
- Is this bean in a valid state for saving?
- Returns:
- boolean
isValid
public boolean isValid(Field values[])
- Returns true is all values are valid, false if any are invalid.
- Parameters:
- Field[] - values: array of values to be validated.
All Packages Class Hierarchy This Package Previous Next Index