All Downloads are FREE. Search and download functionalities are using the official Maven repository.

colesico.framework.dslvalidator.t9n.ValidatorMessagesImpl Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
// 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-02-11T20:18:35.632Z",
        hashId = "3fb0b36e-11c0-427f-8c87-18d89b1a566e",
        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);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy