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

com.arconsis.android.datarobot.validation.Length Maven / Gradle / Ivy

Go to download

Datarobot for Android is a lightweight framework, which frees you from the burden of dealing with Androids SQLite database directly if you don't want to and let's you access it directly if you have to.

The newest version!
package com.arconsis.android.datarobot.validation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Length validator, that checks the length of a String.
 *
 * @author Falk Appel
 * @author Alexander Frank
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Validator(LengthValidator.class)
public @interface Length {
    long min() default -1;

    long max() default -1;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy