]> gerrit.simantics Code Review - simantics/3d.git/blob - factory/ICollectionRuleFactory.java
Remove dependencies on log4j
[simantics/3d.git] / factory / ICollectionRuleFactory.java
1 package org.simantics.g3d.objmap.rules.factory;\r
2 \r
3 import java.lang.annotation.Annotation;\r
4 import java.lang.reflect.Method;\r
5 \r
6 import org.simantics.db.ReadGraph;\r
7 import org.simantics.db.exception.DatabaseException;\r
8 import org.simantics.objmap.IMappingRule;\r
9 \r
10 public interface ICollectionRuleFactory {\r
11         IMappingRule create(ReadGraph g, Annotation annotation, Method getter, Method adder, Method remover) throws DatabaseException;\r
12         boolean isAdder(Annotation getterAnnotation, Annotation annotation);\r
13         boolean isRemover(Annotation getterAnnotation, Annotation annotation);\r
14 }\r