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    
010    /**
011     * Indicates the name that a property/action should be been known by.
012     */
013    @Inherited
014    @Target( { ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER })
015    @Retention(RetentionPolicy.RUNTIME)
016    public @interface Named {
017        String value();
018    }
019    
020    // Copyright (c) Naked Objects Group Ltd.