public interface NlsBundleUtilValidationRoot extends NlsBundle
internationalized messages
for this module.INTERFACE_NAME_SUFFIX
Modifier and Type | Method and Description |
---|---|
NlsMessage |
errorMandatory() |
NlsMessage |
errorValueComparison(Object value,
Object comparator,
Object value2) |
NlsMessage |
errorValueComparisonWithSource(Object value,
Object comparator,
Object value2,
Object source) |
NlsMessage |
errorValueFormat(Object value,
Object format) |
NlsMessage |
errorValueNotAfter(Object value,
Object other) |
NlsMessage |
errorValueNotBefore(Object value,
Object other) |
NlsMessage |
errorValueNotInFuture(Object value) |
NlsMessage |
errorValueNotInPast(Object value) |
NlsMessage errorValueFormat(@Named(value="value") Object value, @Named(value="format") Object format)
value
- is the value that does NOT match the expected format.format
- is the expected format.source
- is the source of the value.NlsMessage
ValidatorPattern
NlsMessage errorMandatory()
NlsMessage
.NlsMessage errorValueComparison(@Named(value="value") Object value, @Named(value="comparator") Object comparator, @Named(value="value2") Object value2)
value
- is the invalid value.comparator
- is the CompareOperator
.value2
- is the value to compare to (second argument).NlsMessage
ValidatorCompare
NlsMessage errorValueComparisonWithSource(@Named(value="value") Object value, @Named(value="comparator") Object comparator, @Named(value="value2") Object value2, @Named(value="source") Object source)
value
- is the invalid value.comparator
- is the CompareOperator
.value2
- is the value to compare to (second argument).source
- is the source of the value or null
if NOT available.NlsMessage
ValidatorCompare
NlsMessage errorValueNotInPast(@Named(value="value") Object value)
value
- is the invalid value.NlsMessage
.NlsMessage errorValueNotInFuture(@Named(value="value") Object value)
value
- is the invalid value.NlsMessage
.NlsMessage errorValueNotAfter(@Named(value="value") Object value, @Named(value="other") Object other)
value
- is the invalid value.other
- the upper bound.NlsMessage
.NlsMessage errorValueNotBefore(@Named(value="value") Object value, @Named(value="other") Object other)
value
- is the invalid value.other
- the lower bound.NlsMessage
.Copyright © 2001–2016 mmm-Team. All rights reserved.