package ima.repositoryService.dataStructure;

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

/**
 *
 * @author Netto
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface Attribute {
    String label();
    String descripcion() default "";
    boolean nullable() default true;
    boolean editable() default true;
    boolean toStringText() default false;
    boolean toStringTextShowLabel() default true;
    boolean detail() default true;
    
    boolean stateAttribute() default false;
    String[] states() default {};
    
    boolean largeText() default false;
    boolean passwordText() default false;
    
    String defaultValue() default "NULL";
}
