From: lempinen Date: Fri, 2 Jul 2010 13:35:24 +0000 (+0000) Subject: Customer Model with two modules X-Git-Tag: simantics-1.2.0~185 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=9960508e9724efb6b98e12fc5d9bafd774ce0bf7;p=simantics%2Fsysdyn.git Customer Model with two modules git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@16491 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/SysdynResource.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/SysdynResource.java index ed8ef24d..f9c329fd 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/SysdynResource.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/SysdynResource.java @@ -20,6 +20,7 @@ import org.simantics.db.exception.DatabaseException; public class SysdynResource { + public final Resource Asiakasmoduuli; public final Resource Auxiliary; public final Resource AuxiliarySymbol; public final Resource BasicExperiment; @@ -67,6 +68,7 @@ public class SysdynResource { public final Resource IsOutput; public final Resource IsTailOf; public final Resource IsTailOfTerminal; + public final Resource Kapasiteettimoduuli; public final Resource LookupExpression; public final Resource Module; public final Resource NormalExpression; @@ -89,6 +91,7 @@ public class SysdynResource { public final Resource WithLookupExpression; public static class URIs { + public static final String Asiakasmoduuli = "http://www.simantics.org/Sysdyn-1.0/Asiakasmoduuli"; public static final String Auxiliary = "http://www.simantics.org/Sysdyn-1.0/Auxiliary"; public static final String AuxiliarySymbol = "http://www.simantics.org/Sysdyn-1.0/AuxiliarySymbol"; public static final String BasicExperiment = "http://www.simantics.org/Sysdyn-1.0/BasicExperiment"; @@ -136,6 +139,7 @@ public class SysdynResource { public static final String IsOutput = "http://www.simantics.org/Sysdyn-1.0/IsOutput"; public static final String IsTailOf = "http://www.simantics.org/Sysdyn-1.0/IsTailOf"; public static final String IsTailOfTerminal = "http://www.simantics.org/Sysdyn-1.0/IsTailOfTerminal"; + public static final String Kapasiteettimoduuli = "http://www.simantics.org/Sysdyn-1.0/Kapasiteettimoduuli"; public static final String LookupExpression = "http://www.simantics.org/Sysdyn-1.0/LookupExpression"; public static final String Module = "http://www.simantics.org/Sysdyn-1.0/Module"; public static final String NormalExpression = "http://www.simantics.org/Sysdyn-1.0/NormalExpression"; @@ -168,6 +172,7 @@ public class SysdynResource { } public SysdynResource(ReadGraph graph) { + Asiakasmoduuli = getResourceOrNull(graph, URIs.Asiakasmoduuli); Auxiliary = getResourceOrNull(graph, URIs.Auxiliary); AuxiliarySymbol = getResourceOrNull(graph, URIs.AuxiliarySymbol); BasicExperiment = getResourceOrNull(graph, URIs.BasicExperiment); @@ -215,6 +220,7 @@ public class SysdynResource { IsOutput = getResourceOrNull(graph, URIs.IsOutput); IsTailOf = getResourceOrNull(graph, URIs.IsTailOf); IsTailOfTerminal = getResourceOrNull(graph, URIs.IsTailOfTerminal); + Kapasiteettimoduuli = getResourceOrNull(graph, URIs.Kapasiteettimoduuli); LookupExpression = getResourceOrNull(graph, URIs.LookupExpression); Module = getResourceOrNull(graph, URIs.Module); NormalExpression = getResourceOrNull(graph, URIs.NormalExpression); diff --git a/sysdyn_ontologies/sysdyn.graph b/sysdyn_ontologies/sysdyn.graph index 0d047e80..5b9e1c64 100644 --- a/sysdyn_ontologies/sysdyn.graph +++ b/sysdyn_ontologies/sysdyn.graph @@ -145,6 +145,9 @@ IndependentVariable