ProjectAres/PGM/src/main/java/tc/oc/pgm/features/FeatureInfo.java

23 lines
558 B
Java

package tc.oc.pgm.features;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Supplies meta-information for {@link FeatureDefinition}s
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface FeatureInfo {
/**
* A readable name for the type of feature (used for database documents and error messages)
*/
String name();
String[] singular() default {};
String[] plural() default {};
}