Package rife.validation
Interface MetaDataBeanAware
public interface MetaDataBeanAware
This interface can optionally be implemented by a class implementing the
MetaDataMerged
interface.
By implementing the methods here, each metadata instance will be made aware of the bean that has been associated with.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionHas to return the bean instance that has been associated with this metadata class instance.void
setMetaDataBean
(Object bean) This method will be called by RIFE2 when a new instance of the metadata class has been created.
-
Method Details
-
setMetaDataBean
This method will be called by RIFE2 when a new instance of the metadata class has been created.
- Parameters:
bean
- the bean instance that this particular metadata instance has been associated with- Since:
- 1.0
-
retrieveMetaDataBean
Object retrieveMetaDataBean()Has to return the bean instance that has been associated with this metadata class instance.- Returns:
- this metadata's bean instance
- Since:
- 1.0
-