|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Validator
Interface used to represent the type : validator Class generated by org.deduced.generator.VelocityGenerator Using template : org/deduced/generator/java/JavaInterface.vm
Field Summary | |
---|---|
static PropertyInstanceHolder |
CURRENT_VALUE_INSTANCE
Variable used to hold the PropertyInstance for : current value |
static PropertyInstanceHolder |
ERROR_MESSAGE_INSTANCE
Variable used to hold the PropertyInstance for : error message |
static PropertyInstanceHolder |
IS_VALID_INSTANCE
Variable used to hold the PropertyInstance for : is valid |
static PropertyInstanceHolder |
MODEL_INSTANCE
Variable used to hold the PropertyInstance for : model |
static PropertyCollectionTypeHolder |
VALIDATOR_TYPE
Variable used to hold the PropertyCollectionType for : validator |
Fields inherited from interface org.deduced.PropertyCollection |
---|
PROPERTY_COLLECTION_TYPE |
Method Summary | |
---|---|
java.lang.Object |
getCurrentValue()
Get the value of the instance : current value |
java.lang.String |
getErrorMessage()
Get the value of the instance : error message |
ValidationModel |
getModel()
Get the value of the instance : model |
boolean |
isValid()
Get the value of the instance : is valid |
java.lang.Object |
setCurrentValue(java.lang.Object newValue)
Set the value of the instance : current value |
java.lang.String |
setErrorMessage(java.lang.String newValue)
Set the value of the instance : error message |
boolean |
setIsValid(boolean newValue)
Set the value of the instance : is valid |
ValidationModel |
setModel(ValidationModel newValue)
Set the value of the instance : model |
Methods inherited from interface org.deduced.PropertyCollection |
---|
activate, addListener, addProperty, areKeysAssignedAutomatically, asKeySet, asPropertyList, asPropertyMap, asValueList, asValueMap, clear, clone, containsInstance, containsKey, containsValue, delete, getFixedInstance, getProperty, getPropertyValue, id, instanceKey, invokeAction, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, keyOnParent, parent, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setFixedInstance, setParent, setProperty, size, type, valueKey |
Field Detail |
---|
static final PropertyCollectionTypeHolder VALIDATOR_TYPE
static final PropertyInstanceHolder CURRENT_VALUE_INSTANCE
static final PropertyInstanceHolder IS_VALID_INSTANCE
static final PropertyInstanceHolder MODEL_INSTANCE
static final PropertyInstanceHolder ERROR_MESSAGE_INSTANCE
Method Detail |
---|
java.lang.Object getCurrentValue()
java.lang.Object setCurrentValue(java.lang.Object newValue)
newValue
- new current value
boolean isValid()
boolean setIsValid(boolean newValue)
newValue
- new is valid
ValidationModel getModel()
ValidationModel setModel(ValidationModel newValue)
newValue
- new model
java.lang.String getErrorMessage()
java.lang.String setErrorMessage(java.lang.String newValue)
newValue
- new error message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |