-/*******************************************************************************\r
- * Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
- * 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.structural;\r
-\r
-import java.util.List;\r
-\r
-import org.simantics.db.Resource;\r
-\r
-/**\r
- * Interface for structurally mapped Java objects.\r
- * \r
- * @author Marko Luukkainen <marko.luukkainen@vtt.fi>\r
- *\r
- */\r
-public interface IStructuralObject {\r
- \r
- /**\r
- * Context of an object. \r
- * @return\r
- */\r
- public List<IStructuralObject> getContext();\r
-\r
- /**\r
- * Sets object's context. Used by ObjMap, don't touch. \r
- * @param object\r
- */\r
- public void setContext(List<IStructuralObject> object);\r
- \r
- /**\r
- * Return type resource for Structural instances. For other objects returns null.\r
- * @return\r
- */\r
- public Resource getType();\r
- \r
- /**\r
- * Sets object's type. Used by ObjMap, don't touch.\r
- * @param object\r
- */\r
- public void setType(Resource type);\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2012, 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.structural;
+
+import java.util.List;
+
+import org.simantics.db.Resource;
+
+/**
+ * Interface for structurally mapped Java objects.
+ *
+ * @author Marko Luukkainen <marko.luukkainen@vtt.fi>
+ *
+ */
+public interface IStructuralObject {
+
+ /**
+ * Context of an object.
+ * @return
+ */
+ public List<IStructuralObject> getContext();
+
+ /**
+ * Sets object's context. Used by ObjMap, don't touch.
+ * @param object
+ */
+ public void setContext(List<IStructuralObject> object);
+
+ /**
+ * Return type resource for Structural instances. For other objects returns null.
+ * @return
+ */
+ public Resource getType();
+
+ /**
+ * Sets object's type. Used by ObjMap, don't touch.
+ * @param object
+ */
+ public void setType(Resource type);
+}