1 L0 = <http://www.simantics.org/Layer0-1.1>
3 L0.Functions : L0.Library
5 // The logic of functionApplication assumes that the function is actually ExternalValue
6 // but it is not since it would prevent it from being converted with functionApplication
7 L0.Function <T L0.Value
8 @L0.assert L0.ConvertsToValueWith L0.Functions.functionApplication
11 L0.Functions.entityLabel : L0.ExternalValue
12 L0.Functions.listResources : L0.ExternalValue
13 L0.Functions.resourceAsValue : L0.ExternalValue
14 L0.Functions.functionApplication : L0.ExternalValue
15 L0.Functions.computeExpression : L0.ExternalValue
16 L0.Functions.composedPropertyValue : L0.ExternalValue
18 L0.Functions.standardValueAccessor : L0.ExternalValue
19 L0.HasValueType "ValueAccessor"
20 L0.Functions.standardChildDomainProperties : L0.ExternalValue
21 L0.HasValueType "VariableMap"
22 L0.Functions.standardPropertyDomainProperties : L0.ExternalValue
23 L0.HasValueType "VariableMap"
24 L0.Functions.standardChildDomainChildren : L0.ExternalValue
25 L0.HasValueType "VariableMap"
26 L0.Functions.standardPropertyDomainChildren : L0.ExternalValue
27 L0.HasValueType "VariableMap"
28 L0.Functions.methodsPropertyDomainProperties : L0.ExternalValue
29 L0.HasValueType "VariableMap"
30 L0.Functions.standardClassifications : L0.Function
31 L0.HasValueType "[String]"
33 L0.Functions.hasStandardResource : L0.Function
34 L0.HasValueType "Resource"
36 L0.Functions.standardValidValue : L0.Function
37 L0.HasValueType "Boolean"
38 L0.Functions.standardRequiredValue : L0.Function
39 L0.HasValueType "Boolean"
40 L0.Functions.standardDefaultValue : L0.Function
41 L0.HasValueType "Boolean"
42 L0.Functions.standardReadOnlyValue : L0.Function
43 L0.HasValueType "Boolean"
44 L0.Functions.standardValidator : L0.Function
45 L0.HasValueType "StringInputValidator"
47 // External values applied as functions
48 L0.Functions.numberInputValidator : L0.Function
49 L0.Functions.booleanInputValidator : L0.Function
52 L0.Functions.relationValidator : L0.Function
53 L0.Functions.propertyValidator : L0.Function
54 L0.Functions.valueValidator : L0.Function
55 L0.Functions.uriValidator : L0.Function
56 L0.Functions.clusterValidator : L0.Function
58 L0.SCLModule <T L0.Entity
59 >-- L0.SCLModule.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
60 @L0.assert L0.SCLModule.definition ""
62 L0.SCLScript <T L0.Entity
63 >-- L0.SCLScript.definition --> L0.String <R L0.HasProperty : L0.TotalFunction
64 @L0.assert L0.SCLScript.definition ""
67 >-- L0.Ontology.defaultLocalName --> L0.String <R L0.HasProperty : L0.TotalFunction
68 @L0.assert L0.Ontology.defaultLocalName ""
70 L0.entityReplacer ==> "Resource -> Resource -> <WriteGraph> ()" <R L0.HasProperty : L0.FunctionalRelation
71 L0.HasDescription """Used for defining an SCL function that knows how to copy the contents from one entity instance to another when both instances are known to be of the same type.
72 The first resource parameter is the source entity that will be used to replace the target entity which is defined by the second resource parameter."""
74 L0.Functions.defaultInstantiateUnder : L0.Function
75 L0.HasValueType "Resource -> Resource -> <WriteGraph> Resource"