au.gov.tas.dpiwe.mr.bean
Interface Validatable

All Superinterfaces:
EnterpriseBean, EntityBean, Serializable

public interface Validatable
extends EntityBean

This interface specifies that an entity bean can be validated.

Version:
1.0.0.0
Author:
Kade Hansson

Method Summary
 void validate()
          Ensures that this bean object contains data of the correct format which is self-consistent.
 
Methods inherited from interface javax.ejb.EntityBean
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, unsetEntityContext
 

Method Detail

validate

void validate()
              throws EJBException
Ensures that this bean object contains data of the correct format which is self-consistent.

Throws:
ValidateException - if the data is not in the correct format or is inconsistent.
EJBException - if something else goes wrong.