org.openbp.guiclient.objectvalidators
Class JavaActivityItemValidator
java.lang.Object
org.openbp.guiclient.objectvalidators.ValidatorBase
org.openbp.guiclient.objectvalidators.DescriptionObjectValidator
org.openbp.guiclient.objectvalidators.DisplayObjectValidator
org.openbp.guiclient.objectvalidators.ModelObjectValidator
org.openbp.guiclient.objectvalidators.JavaActivityItemValidator
- All Implemented Interfaces:
- PropertyValidator, ObjectValidator
public class JavaActivityItemValidator
- extends ModelObjectValidator
Object validator for the JavaActivityItem class.
Generates an implementation class name from the object name.
- Author:
- Heiko Erhardt
|
Method Summary |
boolean |
validateProperty(java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object editedObject,
PropertyEditor propertyEditor,
boolean complete)
Property validator method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaActivityItemValidator
public JavaActivityItemValidator()
validateProperty
public boolean validateProperty(java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object editedObject,
PropertyEditor propertyEditor,
boolean complete)
- Property validator method.
Generates the name of the activity implementation Java source from the object name
if a default package is defined for the model the type belongs to.
- Specified by:
validateProperty in interface PropertyValidator- Overrides:
validateProperty in class DisplayObjectValidator
- Parameters:
propertyName - Name of the edited propertypropertyValue - Current value of the propertyeditedObject - Edited object that contains the propertypropertyEditor - Property editor that edits the property valuecomplete - true The value has been completely entered. This is the case if the user wishes to leave the field.
false The value is being typed/edited.
- Returns:
- true The property value is valid.
false The property value is invalid. In this case, the focus should not be set
to the next component.
Copyright © 2011. All Rights Reserved.