colesico.framework.dslvalidator.t9n.ValidatorMessagesImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of colesico-validation Show documentation
Show all versions of colesico-validation Show documentation
Colesico framework data bean validation assistant and simple dsl validator
// This is automatically generated file. Do not modify!
package colesico.framework.dslvalidator.t9n;
import colesico.framework.assist.codegen.Genstamp;
import colesico.framework.translation.AbstractDictionary;
import colesico.framework.translation.TranslationKit;
import javax.inject.Inject;
import javax.inject.Singleton;
@Genstamp(
generator = "colesico.framework.translation.codegen.generator.DictionaryGenerator",
timestamp = "2019-12-20T19:01:47.407Z",
hashId = "37338b68-0541-4660-9d74-20922ea808a8",
comments = "Origin: colesico.framework.dslvalidator.t9n.ValidatorMessages"
)
@Singleton
public final class ValidatorMessagesImpl extends AbstractDictionary implements ValidatorMessages {
@Inject
public ValidatorMessagesImpl(TranslationKit translationKit) {
super(translationKit,"colesico/framework/dslvalidator/t9n/ValidatorMessages");
}
@Override
public String valueRequired() {
return translateOrKey("valueRequired");
}
@Override
public String invalidDateFormat() {
return translateOrKey("invalidDateFormat");
}
@Override
public String allowableNumberOfCharactersBetween(final Integer lo, final Integer hi) {
return translateOrKey("allowableNumberOfCharactersBetween",lo,hi);
}
@Override
public String minimallyAllowableCharacters(final Integer lo) {
return translateOrKey("minimallyAllowableCharacters",lo);
}
@Override
public String maximumAllowableCharacters(final Integer hi) {
return translateOrKey("maximumAllowableCharacters",hi);
}
@Override
public String valueShouldBeBetween(final Number min, final Number max) {
return translateOrKey("valueShouldBeBetween",min,max);
}
@Override
public String valueShouldBeGreaterThan(final Number val) {
return translateOrKey("valueShouldBeGreaterThan",val);
}
@Override
public String valueShouldBeLessThan(final Number val) {
return translateOrKey("valueShouldBeLessThan",val);
}
@Override
public String sizeShouldBeBetween(final Number min, final Number max) {
return translateOrKey("sizeShouldBeBetween",min,max);
}
@Override
public String sizeShouldBeGreaterThan(final Number val) {
return translateOrKey("sizeShouldBeGreaterThan",val);
}
@Override
public String sizeShouldBeLessThan(final Number val) {
return translateOrKey("sizeShouldBeLessThan",val);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy