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

com.fivefaces.structureclient.domain.StringField Maven / Gradle / Ivy

There is a newer version: 1.0.62
Show newest version
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy