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