]> gerrit.simantics Code Review - simantics/3d.git/blob
65f3b25c337a36c8841f9326e0d7309d318c2968
[simantics/3d.git] /
1 package org.simantics.objmap.structural.annotations;\r
2 \r
3 import java.lang.annotation.ElementType;\r
4 import java.lang.annotation.Retention;\r
5 import java.lang.annotation.RetentionPolicy;\r
6 import java.lang.annotation.Target;\r
7 \r
8 import org.simantics.objmap.graph.annotations.HasCollectionAdder;\r
9 import org.simantics.objmap.graph.annotations.HasCollectionRemover;\r
10 import org.simantics.objmap.graph.annotations.meta.IsCollectionRule;\r
11 \r
12 \r
13 @Retention(RetentionPolicy.RUNTIME)\r
14 @Target(ElementType.METHOD)\r
15 @IsCollectionRule\r
16 @HasCollectionAdder(StructuralRelatedElementsAdd.class)\r
17 @HasCollectionRemover(StructuralRelatedElementsRem.class)\r
18 public @interface StructuralRelatedElementsGet {\r
19         String value();\r
20         boolean composition() default false;\r
21 }\r