| 1 |
|
package org.trails.descriptor.annotation; |
| 2 |
|
|
| 3 |
|
import java.lang.annotation.ElementType; |
| 4 |
|
import java.lang.annotation.Retention; |
| 5 |
|
import java.lang.annotation.RetentionPolicy; |
| 6 |
|
import java.lang.annotation.Target; |
| 7 |
|
|
| 8 |
|
|
| 9 |
|
@Retention(RetentionPolicy.RUNTIME) |
| 10 |
|
@Target({ElementType.TYPE}) |
| 11 |
|
@DescriptorAnnotation(ClassDescriptorAnnotationHandler.class) |
| 12 |
|
public @interface ClassDescriptor |
| 13 |
|
{ |
| 14 |
|
public static final String DEFAULT_displayName = ""; |
| 15 |
|
public static final boolean DEFAULT_hidden = false; |
| 16 |
|
|
| 17 |
|
String displayName() default ""; |
| 18 |
|
|
| 19 |
|
String pluralDisplayName() default ""; |
| 20 |
|
|
| 21 |
|
boolean hidden() default false; |
| 22 |
|
|
| 23 |
|
boolean hasCyclicRelationships() default false; |
| 24 |
|
|
| 25 |
|
} |