001 package org.nakedobjects.applib.annotation;
002
003 import java.lang.annotation.ElementType;
004 import java.lang.annotation.Inherited;
005 import java.lang.annotation.Retention;
006 import java.lang.annotation.RetentionPolicy;
007 import java.lang.annotation.Target;
008
009 import org.nakedobjects.applib.adapters.Parser;
010
011
012 /**
013 * The typical entry length of a field, use to determine the optimum width for display
014 *
015 * @see Parser
016 */
017 @Inherited
018 @Target( { ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE })
019 @Retention(RetentionPolicy.RUNTIME)
020 public @interface TypicalLength {
021 int value();
022 }
023
024 // Copyright (c) Naked Objects Group Ltd.