|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.vtor.Check
public class Check
Holder for validation constraint.
| Constructor Summary | |
|---|---|
Check(java.lang.String name,
ValidationConstraint constraint)
Creates new check for provided constraint inside current context. |
|
| Method Summary | |
|---|---|
ValidationConstraint |
getConstraint()
Returns constraint to check. |
java.lang.String |
getName()
Returns check name. |
java.lang.String[] |
getProfiles()
|
int |
getSeverity()
|
void |
setProfiles(java.lang.String... profiles)
|
void |
setSeverity(int severity)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Check(java.lang.String name,
ValidationConstraint constraint)
| Method Detail |
|---|
public java.lang.String getName()
public ValidationConstraint getConstraint()
public int getSeverity()
public void setSeverity(int severity)
public java.lang.String[] getProfiles()
public void setProfiles(java.lang.String... profiles)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||