|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javalid.core.validator.MessageCodes
public class MessageCodes
This class contains all JV error messages as constants (the pre-defined ones at least)
| Field Summary | |
|---|---|
static java.lang.String |
MSG_BETWEEN_LENGTH_ERROR
When a java.lang.String/java.lang.StringBuffer value is not between the lengths specified by BetweenLength annotations. |
static java.lang.String |
MSG_COLLECTION_MODE_BETWEEN
When the mode of @CollectionSize is between, and the collection's size is < than given minimumSize or < than given maximumSize, this error is raised. |
static java.lang.String |
MSG_COLLECTION_MODE_EQUALS_ERROR
When the mode of @CollectionSize is equals, and the collection is not equal to given size this error is raised. |
static java.lang.String |
MSG_COLLECTION_MODE_MAXIMUM
When the mode of @CollectionSize is maximum, and the collection's size is > than given maximumSize, this error is raised. |
static java.lang.String |
MSG_COLLECTION_MODE_MINIMUM
When the mode of @CollectionSize is minimum, and the collection's size is < than given minimumSize, this error is raised. |
static java.lang.String |
MSG_COLLECTION_MODE_NOT_EQUALS_ERROR
When the mode of @CollectionSize is not equals, and the collection is equal to given size this error is raised. |
static java.lang.String |
MSG_DATE_CHECK_EQUALS_ERROR
When date does not equal given date by @DbCheck this error is raised. |
static java.lang.String |
MSG_DATE_CHECK_EQUALS_OR_LESS
When date does not equal or is less than given date by @DbCheck this error is raised. |
static java.lang.String |
MSG_DATE_CHECK_EQUALS_OR_MORE
When date does not equal or is more than given date by @DbCheck this error is raised. |
static java.lang.String |
MSG_DATE_CHECK_LESS
When date is equal or more than given date by @DbCheck this error is raised. |
static java.lang.String |
MSG_DATE_CHECK_MORE
When date is equal or less than given date by @DbCheck this error is raised. |
static java.lang.String |
MSG_DATE_CHECK_NOT_EQUALS_ERROR
When date does equal given date by @DbCheck this error is raised. |
static java.lang.String |
MSG_DB_NUM_CHECK_BETWEEN_ERROR
When the @DbNumCheck is invalid (is not between minValue and maxValue) this error is raised. |
static java.lang.String |
MSG_DB_NUM_CHECK_EQUALS_ERROR
When the @DbNumCheck is invalid (does not match an expected value) this error is raised. |
static java.lang.String |
MSG_DB_NUM_CHECK_LESS_THAN_ERROR
When the @DbNumCheck is invalid (equals or is more) this error is raised. |
static java.lang.String |
MSG_DB_NUM_CHECK_MORE_THAN_ERROR
When the @DbNumCheck is invalid (equals or is less than) this error is raised. |
static java.lang.String |
MSG_DB_NUM_CHECK_NOT_EQUALS_ERROR
When the @DbNumCheck is invalid (does match expected value, just what it may not be) this error is raised. |
static java.lang.String |
MSG_LOV_CONSTR_VALUE_IN_LOV_ERROR
The opposite of MSG_LOV_CONSTR_VALUE_NOT_IN_LOV_ERROR, if the value is found in the array / collection this error is raised. |
static java.lang.String |
MSG_LOV_CONSTR_VALUE_NOT_IN_LOV_ERROR
When a method's value is not in an LovConstraint's values this error is raised. |
static java.lang.String |
MSG_MAX_LENGTH_ERROR
When a java.lang.String/java.lang.StringBuffer value is more than maximum length. |
static java.lang.String |
MSG_MAX_VALUE_ERROR
When a value is larger than the specified maximum (is more than). |
static java.lang.String |
MSG_MIN_LENGTH_ERROR
When a java.lang.String/java.lang.StringBuffer value is not of minimum length. |
static java.lang.String |
MSG_MIN_VALUE_ERROR
When a value does not have the specified minimum (is less than). |
static java.lang.String |
MSG_NOT_EMPTY_ERROR
When a value violates the notempty annotation (thus is empty). |
static java.lang.String |
MSG_NOT_NULL_ERROR
When a value is null, while it should be 'not null'. |
static java.lang.String |
MSG_NOT_NUMERIC_ERROR
When a value is NOT numeric, while it should be. |
static java.lang.String |
MSG_REGULAR_EXPRESSION_ERROR
When the java.lang.String/java.lang.StringBuffer is not conform RegularExpression's pattern, this error is raised. |
| Constructor Summary | |
|---|---|
MessageCodes()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MSG_NOT_NULL_ERROR
public static final java.lang.String MSG_NOT_EMPTY_ERROR
public static final java.lang.String MSG_NOT_NUMERIC_ERROR
public static final java.lang.String MSG_MIN_VALUE_ERROR
public static final java.lang.String MSG_MAX_VALUE_ERROR
public static final java.lang.String MSG_MIN_LENGTH_ERROR
public static final java.lang.String MSG_MAX_LENGTH_ERROR
public static final java.lang.String MSG_BETWEEN_LENGTH_ERROR
public static final java.lang.String MSG_LOV_CONSTR_VALUE_NOT_IN_LOV_ERROR
Note that lovValues can be the String array directly specified on the annotation or a looked up array and/or java.util.Collection if dynamic (depending on how you defined your annotation).
public static final java.lang.String MSG_LOV_CONSTR_VALUE_IN_LOV_ERROR
Parameters available for in messages are at indices: {currentValue,lovValues}. Note that lovValues can be the String array directly specified on the annotation or a looked up array and/or java.util.Collection if dynamic (depending on how you defined your annotation).
public static final java.lang.String MSG_REGULAR_EXPRESSION_ERROR
Parameters available for in messages are at indices: {currentValue,pattern}
public static final java.lang.String MSG_COLLECTION_MODE_EQUALS_ERROR
Parameters available for in messages are at indices: {currentValue,annotationSize,currentSize}
public static final java.lang.String MSG_COLLECTION_MODE_NOT_EQUALS_ERROR
Parameters available for in messages are at indices: {currentValue,annotationSize,currentSize}
public static final java.lang.String MSG_COLLECTION_MODE_MAXIMUM
Parameters available for in messages are at indices: {currentValue,annotationMaximumSize,currentSize}
public static final java.lang.String MSG_COLLECTION_MODE_MINIMUM
Parameters available for in messages are at indices: {currentValue,annotationMinimumSize,currentSize}
public static final java.lang.String MSG_COLLECTION_MODE_BETWEEN
Parameters available for in messages are at indices: {currentValue,annotationMinimumSize,annotationMaximumSize,currentSize}
public static final java.lang.String MSG_DATE_CHECK_EQUALS_ERROR
Parameters available for in messages are at indices: {currentValue,annotationValue,pattern}
public static final java.lang.String MSG_DATE_CHECK_EQUALS_OR_MORE
Parameters available for in messages are at indices: {currentValue,annotationValue,pattern}
public static final java.lang.String MSG_DATE_CHECK_EQUALS_OR_LESS
Parameters available for in messages are at indices: {currentValue,annotationValue,pattern}
public static final java.lang.String MSG_DATE_CHECK_MORE
Parameters available for in messages are at indices: {currentValue,annotationValue,pattern}
public static final java.lang.String MSG_DATE_CHECK_LESS
Parameters available for in messages are at indices: {currentValue,annotationValue,pattern}
public static final java.lang.String MSG_DATE_CHECK_NOT_EQUALS_ERROR
Parameters available for in messages are at indices: {currentValue,annotationValue,pattern}
public static final java.lang.String MSG_DB_NUM_CHECK_EQUALS_ERROR
Parameters available for in messages are at indices: {currentValue,expectedValue}
public static final java.lang.String MSG_DB_NUM_CHECK_NOT_EQUALS_ERROR
Parameters available for in messages are at indices: {currentValue,expectedValue}
public static final java.lang.String MSG_DB_NUM_CHECK_BETWEEN_ERROR
Parameters available for in messages are at indices: {currentValue,minValue,maxValue}
public static final java.lang.String MSG_DB_NUM_CHECK_LESS_THAN_ERROR
Parameters available for in messages are at indices: {currentValue,expectedValue}
public static final java.lang.String MSG_DB_NUM_CHECK_MORE_THAN_ERROR
Parameters available for in messages are at indices: {currentValue,expectedValue}
| Constructor Detail |
|---|
public MessageCodes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||