|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.ValidationConstraints
public class ValidationConstraints
Specifies the way a validation call should proceed, i.e. what should and should not be validated.
Field Summary | |
---|---|
ValidationSeverityEnum |
severity
Specified the severity of validation rule to run. |
boolean |
validateAttributes
Specifies whether attributes should be validated. |
boolean |
validateElements
Specifies whether elements should be validated. |
boolean |
validateEnumerations
Specifies whether enumerations should be validated. |
boolean |
validateRules
Specifies whether validation rules should be run. |
Constructor Summary | |
---|---|
ValidationConstraints()
Creates a new instance which validates nothing. |
|
ValidationConstraints(ValidationConstraints clone)
Creates a new instance which is a clone of the specificed argument. |
Method Summary | |
---|---|
ValidationSeverityEnum |
getSeverity()
Returns the severity field if it is not null or ValidationSeverityEnum.ERROR otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean validateElements
public boolean validateAttributes
public boolean validateEnumerations
public boolean validateRules
public ValidationSeverityEnum severity
Constructor Detail |
---|
public ValidationConstraints()
public ValidationConstraints(ValidationConstraints clone)
clone
- The object to clone.Method Detail |
---|
public ValidationSeverityEnum getSeverity()
ValidationSeverityEnum.ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |