Interface improvements.
[simdecs_seam.git] / Diagrama / src / java / org / ufcspa / simdecs / diagram / elements / NodeTextProperty.java
1 /*
2  * To change this template, choose Tools | Templates
3  * and open the template in the editor.
4  */
5 package org.ufcspa.simdecs.diagram.elements;
6
7 import java.lang.annotation.ElementType;
8 import java.lang.annotation.Retention;
9 import java.lang.annotation.RetentionPolicy;
10 import java.lang.annotation.Target;
11
12 /**
13  *
14  * @author maroni
15  */
16 @Target(ElementType.FIELD)
17 @Retention(RetentionPolicy.RUNTIME)
18 public @interface NodeTextProperty {
19     String namei18n();
20     boolean required() default false;
21     int minLength() default 0;
22     int maxLength() default 32767;
23 }