Object

From KIproBatt Wiki
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
 
Line 2: Line 2:
 
create object, identified by name (if specified) or id => e.g. #ObjectName or #220504-sist-0010-mi
 
create object, identified by name (if specified) or id => e.g. #ObjectName or #220504-sist-0010-mi
 
-->{{#subobject: {{{name|{{{id|}}}}}}
 
-->{{#subobject: {{{name|{{{id|}}}}}}
|@category=LabProcess/Object;LabProcessObject{{#if: {{{global|}}} |;LabProcessOutput;LabProcess/GlobalObject|}}|+sep=;
+
|@category=LabProcess/Object;LabProcessObject<!--
 +
-->{{#if: {{{global|}}} |<!--
 +
  -->;LabProcessOutput;LabProcess/GlobalObject<!--
 +
-->|}}|+sep=;
 
|HasName={{{name|}}}
 
|HasName={{{name|}}}
 
|HasDisplayName={{{label|}}}
 
|HasDisplayName={{{label|}}}
Line 13: Line 16:
 
|HasWikiId={{FULLPAGENAME}}#{{{name|{{{id|}}}}}}
 
|HasWikiId={{FULLPAGENAME}}#{{{name|{{{id|}}}}}}
 
<!-- |IsInstanceOf=Term:Process/Object/Global;-->
 
<!-- |IsInstanceOf=Term:Process/Object/Global;-->
|IsInstanceOf=<!-- Term:Process/Object/Local; --><!--
+
|{{#ifeq:{{NAMESPACE}}|LabObject|IsInstanceOf|IsA}}=<!--process type->abstract object, process instance->object instance
-->{{#if: {{{global|}}} | {{#if:{{{type|}}}| {{{type}}} | {{#ifeq:{{NAMESPACE}}|LabObject
+
-->{{#if: {{{global|}}} | <!--
    | <!-- only for process instances, not types--> {{#ask: [[{{FULLPAGENAME}}]] |?HasOutputType= |mainlabel=- |link=none |format=plain}} }}  
+
  -->{{#if:{{{type|}}} | {{{type}}} | {{#ask: [[{{FULLPAGENAME}}]] |?HasOutputType= |mainlabel=- |link=none |format=plain}} }} <!--
  }} |}}|+sep=;
+
-->|}}|+sep=;
 
}}<!--  
 
}}<!--  
 
-->{{#set: HasObject={{FULLPAGENAME}}#{{{name|{{{id|}}}}}} }}<!--  
 
-->{{#set: HasObject={{FULLPAGENAME}}#{{{name|{{{id|}}}}}} }}<!--  
-->{{#ifeq:{{NAMESPACE}}|LabObject| <!-- only for process instances, not types
+
--><!-- {{#ifeq:{{NAMESPACE}}|LabObject| --><!-- only for process instances, not types
 
   -->{{#if: {{{global|}}}|<!--
 
   -->{{#if: {{{global|}}}|<!--
 
     -->{{#set: HasOutput={{FULLPAGENAME}}#{{{name|{{{id|}}}}}} }}<!--   
 
     -->{{#set: HasOutput={{FULLPAGENAME}}#{{{name|{{{id|}}}}}} }}<!--   
 
   -->}}<!--
 
   -->}}<!--
-->}}</includeonly>
+
--><!-- }} --></includeonly>

Latest revision as of 03:47, 20 May 2022