|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrTypeValidator
This interface can be be implemented to customize the validation process before an element is committed.
Please refer to the documentation for further details.
Method Summary | |
---|---|
String |
getInvalidMessage()
Gets the message that will be displayed in case convertAndValidate returns false. |
boolean |
validate(org.eclipse.emf.ecore.EStructuralFeature property,
Object value,
IlrCommitableObject co)
This method validates a given value of a a given committable object, given its property. |
Method Detail |
---|
boolean validate(org.eclipse.emf.ecore.EStructuralFeature property, Object value, IlrCommitableObject co)
The type of value corresponds to the type of property. For instance, if the property is of type int, the value is of type Integer. If the property is of type date, the value is of type Date.
String getInvalidMessage()
convertAndValidate
returns false.
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |