|
||||||||||
| 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(String name,
ValidationConstraint constraint)
Creates new check for provided constraint inside current context. |
|
| Method Summary | |
|---|---|
ValidationConstraint |
getConstraint()
Returns constraint to check. |
String |
getName()
Returns check name. |
String[] |
getProfiles()
|
int |
getSeverity()
|
void |
setProfiles(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(String name,
ValidationConstraint constraint)
| Method Detail |
|---|
public String getName()
public ValidationConstraint getConstraint()
public int getSeverity()
public void setSeverity(int severity)
public String[] getProfiles()
public void setProfiles(String... profiles)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||