-package org.simantics.graph.refactoring;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.graph.query.Path;\r
-\r
-public class MappingSpecification {\r
- public static class MappingRule {\r
- public final Path from;\r
- public final Path to;\r
- \r
- public MappingRule(Path from, Path to) {\r
- this.from = from;\r
- this.to = to;\r
- }\r
- }\r
- \r
- public final Collection<MappingRule> rules;\r
-\r
- public MappingSpecification(Collection<MappingRule> rules) {\r
- this.rules = rules;\r
- }\r
- \r
- public Collection<MappingRule> getRules() {\r
- return rules;\r
- }\r
-}\r
+package org.simantics.graph.refactoring;
+
+import java.util.Collection;
+
+import org.simantics.graph.query.Path;
+
+public class MappingSpecification {
+ public static class MappingRule {
+ public final Path from;
+ public final Path to;
+
+ public MappingRule(Path from, Path to) {
+ this.from = from;
+ this.to = to;
+ }
+ }
+
+ public final Collection<MappingRule> rules;
+
+ public MappingSpecification(Collection<MappingRule> rules) {
+ this.rules = rules;
+ }
+
+ public Collection<MappingRule> getRules() {
+ return rules;
+ }
+}