]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.objmap2/src/org/simantics/objmap/graph/schema/ILinkType.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.objmap2 / src / org / simantics / objmap / graph / schema / ILinkType.java
index ca5036de46de2585c9c0b7a3c99f3ba3e6b9e6b2..2a3c1617d6114a2d530e4cfa3b89d5ab74c5a224 100644 (file)
@@ -1,32 +1,32 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2013 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.objmap.graph.schema;\r
-\r
-import org.simantics.objmap.backward.IBackwardLinkType;\r
-import org.simantics.objmap.bidirectional.IBidirectionalMappingRule;\r
-import org.simantics.objmap.forward.IForwardLinkType;\r
-\r
-/**\r
- * Contains rules for how a link should be created and maintained.\r
- * @author Hannu Niemistö\r
- */\r
-public interface ILinkType<Domain,Range> extends IBidirectionalMappingRule<Domain, Range>, IBackwardLinkType<Domain,Range>, IForwardLinkType<Domain,Range> {\r
-    /**\r
-     * Creates a domain element based on known range element.\r
-     */\r
-       //Resource createDomainElement(WriteGraph g, Object rangeElement) throws MappingException;\r
-       \r
-       /**\r
-     * Creates a range element based on known domain element.\r
-     */\r
-       //Object createRangeElement(ReadGraph g, Resource domainElement) throws MappingException;\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2013 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.objmap.graph.schema;
+
+import org.simantics.objmap.backward.IBackwardLinkType;
+import org.simantics.objmap.bidirectional.IBidirectionalMappingRule;
+import org.simantics.objmap.forward.IForwardLinkType;
+
+/**
+ * Contains rules for how a link should be created and maintained.
+ * @author Hannu Niemistö
+ */
+public interface ILinkType<Domain,Range> extends IBidirectionalMappingRule<Domain, Range>, IBackwardLinkType<Domain,Range>, IForwardLinkType<Domain,Range> {
+    /**
+     * Creates a domain element based on known range element.
+     */
+       //Resource createDomainElement(WriteGraph g, Object rangeElement) throws MappingException;
+       
+       /**
+     * Creates a range element based on known domain element.
+     */
+       //Object createRangeElement(ReadGraph g, Resource domainElement) throws MappingException;
+}