|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.server.JboMandatoryAttributesValidator
Implements non-null validation for mandatory attributes. This validation rule is applied by the framework to an Entity Object that has the mandatory flag set for any of its an attributes. The method isMandatory() identifies manditory attributes.
This validator is invoked by an Entity Objects's validate() method to confirm that its mandatory attributes are non-null. If any attribute is null, AttrValException is thrown. The framework does not perform this validation when an attribute value is changed, but only when its Enitity Object is validated.
Entity
,
EntityDefImpl
Constructor Summary | |
JboMandatoryAttributesValidator()
Creates a default validator. |
Method Summary | |
java.lang.String |
getDescription()
Gets the description of this validator. |
void |
setDescription(java.lang.String description)
Sets the description of this validator. |
java.lang.String |
toString()
Internal: Applications should not use this method. |
boolean |
validateValue(java.lang.Object value)
Not implemented for this class. |
void |
vetoableChange(PropertyChangeEvent evObj)
Validates the Entity Object's mandatory attributes. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public JboMandatoryAttributesValidator()
Method Detail |
public void vetoableChange(PropertyChangeEvent evObj) throws JboException
evObj
- an event indicating the attributes to be validatated.public boolean validateValue(java.lang.Object value)
public java.lang.String toString()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- a documentation string.
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |