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 position a method should be placed in.
012 */
013 @Inherited
014 @Target(ElementType.METHOD)
015 @Retention(RetentionPolicy.RUNTIME)
016 public @interface MemberOrder {
017
018 /**
019 * Number in Dewey Decimal format representing the order.
020 */
021 String sequence();
022
023 /**
024 * Name of the action group this set should be known as.
025 */
026 String name() default "";
027 }
028
029 // Copyright (c) Naked Objects Group Ltd.