| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected List | |
| protected List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValidationErrors | |
| public void | |
| public ValidationErrors | |
| public ValidationErrors | |
| public ValidationErrors | |
| public final void | checkDisallowedField(String
field whose value is checked disallowedFieldName, Object value that might be disallowed value, Database database the object/value combination is checked against database, Class<? extends Database>... a list of "forbidden" databases that do not allow this field/value combination disallowedDatabases)Checks if a field is forbidden in combination with a given Database (most often because that database does not implement the features required by the field/value combination). |
| public ValidationErrors | checkRequiredField(String requiredFieldName, Object value)
Convenience method for |
| public ValidationErrors | checkRequiredField(String requiredFieldName, Object value, boolean allowEmptyValue)
Convenience method for |
| public ValidationErrors | checkRequiredField(String requiredFieldName, Object value, String postfix)
Convenience method for |
| public ValidationErrors | checkRequiredField(String requiredFieldName, Object value, String postfix, boolean
If true, empty string and empty arrays are allowed. If false, they are not. allowEmptyValue)Checks that the given value is set. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public List | |
| public List | |
| public List | |
| public List | |
| public boolean | |
| public int | |
| public String |
| change | back to summary |
|---|---|
| protected String change | |
| errorMessages | back to summary |
|---|---|
| protected List<String> errorMessages | |
| warningMessages | back to summary |
|---|---|
| protected List<String> warningMessages | |
| ValidationErrors | back to summary |
|---|---|
| public ValidationErrors() | |
| ValidationErrors | back to summary |
|---|---|
| public ValidationErrors(String change) | |
| ValidationErrors | back to summary |
|---|---|
| public ValidationErrors(Change change) | |
| ValidationErrors | back to summary |
|---|---|
| public ValidationErrors(Precondition precondition) | |
| addAll | back to summary |
|---|---|
| public ValidationErrors addAll(ValidationErrors validationErrors) | |
| addAll | back to summary |
|---|---|
| public void addAll(ValidationErrors validationErrors, ChangeSet changeSet) | |
| addError | back to summary |
|---|---|
| public ValidationErrors addError(String message) | |
| addError | back to summary |
|---|---|
| public ValidationErrors addError(String message, ChangeSet changeSet) | |
| addWarning | back to summary |
|---|---|
| public ValidationErrors addWarning(String message) | |
| checkDisallowedField | back to summary |
|---|---|
| public final void checkDisallowedField(String disallowedFieldName, Object value, Database database, Class<? extends Database>... disallowedDatabases) Checks if a field is forbidden in combination with a given Database (most often because that database does not implement the features required by the field/value combination). If a "forbidden" use is detected, a validation error is added to the current list of ValidationErrors. Note:
| |
| checkRequiredField | back to summary |
|---|---|
| public ValidationErrors checkRequiredField(String requiredFieldName, Object value) Convenience method for | |
| checkRequiredField | back to summary |
|---|---|
| public ValidationErrors checkRequiredField(String requiredFieldName, Object value, boolean allowEmptyValue) Convenience method for | |
| checkRequiredField | back to summary |
|---|---|
| public ValidationErrors checkRequiredField(String requiredFieldName, Object value, String postfix) Convenience method for | |
| checkRequiredField | back to summary |
|---|---|
| public ValidationErrors checkRequiredField(String requiredFieldName, Object value, String postfix, boolean allowEmptyValue) Checks that the given value is set.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getChangeName | back to summary |
|---|---|
| public String getChangeName() | |
| getErrorMessages | back to summary |
|---|---|
| public List | |
| getRequiredErrorMessages | back to summary |
|---|---|
| public List | |
| getUnsupportedErrorMessages | back to summary |
|---|---|
| public List | |
| getWarningMessages | back to summary |
|---|---|
| public List | |
| hasErrors | back to summary |
|---|---|
| public boolean hasErrors() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |