oracle.jbo.server
Interface ValidationListener
- All Known Subinterfaces:
- Entity
- public interface ValidationListener
Implemented by Entity Objects and other Business Objects that need to provide
validation logic to be performed during various validation events generated by
the framework.
Validation is typically performed in currency change operations
or during transaction commit operations,
or whenever a complete transaction is being validated by application logic.
- Since:
- JDeveloper 3.0
| Type | Method |
boolean |
isValid()
Reports the state of instance's validity. |
void |
validate()
Validates this object. |
validate
public void validate()
throws JboException
- Validates this object.
- Throws:
JboException - if validation fails.
isValid
public boolean isValid()
- Reports the state of instance's validity.
Typically, this instance is an entry in a validation list maintained by
a ValidationManager, which invokes validate().
If this method returns true, this instance may be removed from
the list, otherwise this instance should remain on the list.
- Returns:
true if this instance has been validated.