g.claimValue(model, b.HasName, GraphUtils.findFreshName(g, "Configuration", library));\r
g.claim(model, b.InstanceOf, sr.Configuration);\r
g.claim(model, b.PartOf, library);\r
+ g.claimValue(model, sr.HasStartTime, 0.0);\r
+ g.claimValue(model, sr.HasStopTime, 10.0);\r
\r
} catch(Exception e) {\r
errorCallback.run(e);\r
public final Resource HasHead;\r
public final Resource HasInitialEquation;\r
public final Resource HasLookup;\r
+ public final Resource HasStartTime;\r
+ public final Resource HasStopTime;\r
public final Resource HasTail;\r
public final Resource HasType;\r
public final Resource HasUnit;\r
public static final String HasHead = "http://www.simantics.org/Sysdyn#HasHead";\r
public static final String HasInitialEquation = "http://www.simantics.org/Sysdyn#HasInitialEquation";\r
public static final String HasLookup = "http://www.simantics.org/Sysdyn#HasLookup";\r
+ public static final String HasStartTime = "http://www.simantics.org/Sysdyn#HasStartTime";\r
+ public static final String HasStopTime = "http://www.simantics.org/Sysdyn#HasStopTime";\r
public static final String HasTail = "http://www.simantics.org/Sysdyn#HasTail";\r
public static final String HasType = "http://www.simantics.org/Sysdyn#HasType";\r
public static final String HasUnit = "http://www.simantics.org/Sysdyn#HasUnit";\r
HasHead = getResourceOrNull(graph, URIs.HasHead);\r
HasInitialEquation = getResourceOrNull(graph, URIs.HasInitialEquation);\r
HasLookup = getResourceOrNull(graph, URIs.HasLookup);\r
+ HasStartTime = getResourceOrNull(graph, URIs.HasStartTime);\r
+ HasStopTime = getResourceOrNull(graph, URIs.HasStopTime);\r
HasTail = getResourceOrNull(graph, URIs.HasTail);\r
HasType = getResourceOrNull(graph, URIs.HasType);\r
HasUnit = getResourceOrNull(graph, URIs.HasUnit);\r
@RelatedValue("http://www.vtt.fi/Simantics/Layer0/1.0/Relations#HasName")\r
public String name = "Unnamed";\r
\r
+ @RelatedValue("http://www.simantics.org/Sysdyn#HasStartTime")\r
+ public Double startTime = 0.0;\r
+ \r
+ @RelatedValue("http://www.simantics.org/Sysdyn#HasStopTime")\r
+ public Double stopTime = 10.0;\r
+ \r
@RelatedElements(\r
value = "http://www.vtt.fi/Simantics/Layer0/1.0/Relations#ConsistsOf",\r
composition = true)\r