package org.simantics.objmap.graph.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.simantics.objmap.graph.annotations.meta.IsCollectionRule; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) //@HasCollectionRuleFactory(RelatedElementsRuleFactory2.class) @IsCollectionRule @HasCollectionAdder(RelatedElementsAdd.class) @HasCollectionRemover(RelatedElementsRem.class) public @interface RelatedElementsGet { String value(); boolean composition() default false; }