com.fivefaces.structureclient.domain.StringField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-structure-client Show documentation
Show all versions of common-structure-client Show documentation
structure Client for Five Faces
package com.fivefaces.structureclient.domain;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface StringField {
/** set this to the field if using as an association */
String description();
String type() default "string";
int minLength() default -1;
int maxLength() default -1;
boolean required() default true;
boolean unique() default false;
boolean warehousePrimary() default false;
boolean association() default false;
String createValue() default "";
boolean updateable() default true;
boolean index() default false;
}