com.arconsis.android.datarobot.validation.Length Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datarobot.api Show documentation
Show all versions of datarobot.api Show documentation
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;
}