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

nl.vpro.domain.constraint.TextConstraint Maven / Gradle / Ivy

package nl.vpro.domain.constraint;

import java.util.List;

import com.google.common.collect.Lists;

/**
 * @author Michiel Meeuwissen
 * @since 5.4
 */
public interface TextConstraint extends FieldConstraint {

    String getValue();

    @Override
    default List getDefaultBundleKey() {
        return Lists.asList(
            getClass().getSimpleName() + "/" + getESPath() + "/" + getValue(),
            FieldConstraint.super.getDefaultBundleKey().toArray(new String[0])
        );
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy