|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springmodules.validation.bean.conf.CascadeValidation
public class CascadeValidation
Represents a cascade validation definition. Holds the name of the property to which the validation will be cascaded and the applicability condition to determine whether the cascading should be applied.
| Constructor Summary | |
|---|---|
CascadeValidation(String propertyName)
Constructs a new CascadeValidation with a given property name. |
|
CascadeValidation(String propertyName,
Condition applicabilityCondition)
Constructs a new CascadeValidation with a given property name and applicability condition. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
Condition |
getApplicabilityCondition()
Returns the condition that determines whether the cascading should be applied. |
String |
getPropertyName()
Returns the name of the property to which the validation will be cascaded. |
int |
hashCode()
|
void |
setApplicabilityCondition(Condition applicabilityCondition)
Sets the condition that determines whether the cascading should be applied. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CascadeValidation(String propertyName)
propertyName - The name of the property to which the validation will be cascaded.
public CascadeValidation(String propertyName,
Condition applicabilityCondition)
propertyName - The name of the property to which the validation will be cascaded.applicabilityCondition - The condition to determine whether the cascading will be applied.| Method Detail |
|---|
public String getPropertyName()
public Condition getApplicabilityCondition()
public void setApplicabilityCondition(Condition applicabilityCondition)
applicabilityCondition - The condition that determines whether the cascading should be applied.public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||