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 that an property, collection or action should be ignored from the metamodel.
012 *
013 * <p>
014 * For example, it may be a helper method that needs to be <tt>public</tt> but that doesn't conform to the
015 * requirements of an action (for example, invalid parameter types).
016 */
017 @Inherited
018 @Target( { ElementType.METHOD })
019 @Retention(RetentionPolicy.RUNTIME)
020 public @interface Ignore {
021
022 }
023
024 // Copyright (c) Naked Objects Group Ltd.