com.uwyn.rife.scheduler
Class Taskoption

java.lang.Object
  extended by com.uwyn.rife.site.Validation
      extended by com.uwyn.rife.scheduler.Taskoption
All Implemented Interfaces:
Constrained, ConstrainedPropertyListener, Validated, ValidatedConstrained, Cloneable

public class Taskoption
extends Validation
implements Cloneable


Constructor Summary
Taskoption()
           
 
Method Summary
protected  void activateValidation()
          This method is called at least once and maximum once when any method related to Validated rules, subjects and group or Constrained properties are used.
 Taskoption clone()
           
 boolean equals(Object object)
           
 String getName()
           
 int getTaskId()
           
 String getValue()
           
 void setName(String name)
           
 void setTaskId(int taskid)
           
 void setValue(String value)
           
 
Methods inherited from class com.uwyn.rife.site.Validation
addConstrainedPropertyRules, addConstraint, addConstraint, addGroup, addRule, addValidationError, constraintSet, countValidationErrors, focusGroup, generateConstrainedPropertyRules, getConstrainedBean, getConstrainedProperties, getConstrainedProperty, getErrorIndication, getGroup, getGroups, getLoadingErrors, getRules, getValidatedSubjects, getValidationErrors, hasPropertyConstraint, isSubjectValid, limitSubjectErrors, makeErrorValid, makeSubjectValid, provideValidatedBean, replaceValidationErrors, resetGroup, resetValidation, retrieveValidatedBean, unlimitSubjectErrors, validate, validate, validateGroup, validateGroup
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Taskoption

public Taskoption()
Method Detail

activateValidation

protected void activateValidation()
Description copied from class: Validation
This method is called at least once and maximum once when any method related to Validated rules, subjects and group or Constrained properties are used.

By overriding this method, you can thus isolate all the validation setup code code and don't enforce a performance penalty at each object construction when doing it in the default constructor.

Overrides:
activateValidation in class Validation

setTaskId

public void setTaskId(int taskid)

getTaskId

public int getTaskId()

setName

public void setName(String name)

getName

public String getName()

setValue

public void setValue(String value)

getValue

public String getValue()

clone

public Taskoption clone()
                 throws CloneNotSupportedException
Overrides:
clone in class Validation
Throws:
CloneNotSupportedException

equals

public boolean equals(Object object)
Overrides:
equals in class Object


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.