^1657607133065
@
sname
ThingTemplate
slabel
ThingTemplate
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.lang.actions.SelfAction
smany
true
seditCols
2
sformNoLabel
false
sinitialization
false
sgroup
常用.模型
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>模型模板，用来生成模型的动作。</p>

<p><strong>原理</strong></p>

<p>&nbsp;&nbsp;&nbsp; 遍历本模型的所有子节点，如果节点名是#开头的那么是模板语法节点，否则被当作是普通的模型节点。语法节点会执行process它的方法创建模型，而普通模型节点则会被克隆后返回。</p>

<p>&nbsp;&nbsp;&nbsp; 语法节点和克隆的模型会被加入到parentThing(父模型）的节点下，最后返回父模型。</p>

<p><strong>父模型（parentThing)</strong></p>

<p>&nbsp;&nbsp;&nbsp; 可以指定父模型，如果没有则创建一个。父模型是必要的，因为可能存在多个子节点，它们需要添加到一个父模型中，这样才能返回一个模型。</p>

<p>&nbsp;&nbsp;&nbsp; 子节点的语法动作不需要指定父模型，默认从变量上下文中取parentThing变量。</p>

<p><strong>Freemarker模板</strong></p>

<p>&nbsp;&nbsp;&nbsp; 普通模型的属性支持Freemarker模板。</p>

<p><strong>可以重写的方法</strong></p>

<ul>
	<li><strong>Thing getParentThing()</strong><br />
	返回父模型。</li>
</ul>

<p>&nbsp;</p>

<p>&nbsp;</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sjson_attribute
false
sen_group
Common.Thing
sth_createIndex
true
sth_registThing
child|xworker.lang.util.DescriptorsIndex
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
  @/@actions
  sname
  actions
  slabel
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sid
  actions
    @/@actions/@process
    sname
    process
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.core.util.ThingTemplate
    smethodName
    process
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    process
      @/@actions/@process/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@process/@ins/@parentThing
        sname
        parentThing
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescription
        <p>一个事物(Thing)，可以传入null。</p>
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        parentThing
    @/@actions/@processNode
    sname
    processNode
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.core.util.ThingTemplate
    smethodName
    processNode
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    processNode
    @/@actions/@processAndOpen
    sname
    processAndOpen
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Global
    Scode
#$@text#$@
def thing = self.doAction("process", actionContext);
if(thing != null){
    explorerActions.doAction("openThing", ["thing":thing]);
}
#$@text#$@
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sth_createIndex
    false
    sid
    processAndOpen
    @/@actions/@run
    sname
    run
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.core.util.ThingTemplate
    smethodName
    run
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    run
      @/@actions/@run/@ins
      sisValidate
      false
      sname
      ins
      slabel
      ins
      sdescriptors
      xworker.lang.actions.Inout/@ins
      sid
      ins
        @/@actions/@run/@ins/@parentThing
        sname
        parentThing
        stypeCheck
        false
        soptional
        true
        scheck
        false
        scheckLevel
        exception
        sdescriptors
        xworker.lang.actions.Inout/@ins/@param
        sid
        parentThing
    @/@actions/@getParentThing
    sname
    getParentThing
    sattributeName
    parentThing
    schildThingFirstChild
    false
    sreturnSelf
    false
    snotNull
    false
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@getThing
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getParentThing
  @/@_list
  sname
  #list
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p><span style="color: #ff0000"><strong>注意：<br />
</strong>&nbsp;&nbsp;&nbsp; 只是为了方便编辑事物模板而加入的，不是非模板事物的默认子事物。</span></p>
<p>类似于Freemarket的List &lt;collectionName&gt; as &lt;varName&gt;。</p>
<p>在内循环中可以使用能够&lt;varName&gt;，&lt;varName&gt;_index和&lt;varName&gt;_hasNext三个变量。</p>
#$@text#$@
  snotXmlAttribute
  false
  sjson_isArray
  false
  sid
  _list
    @/@_list/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@_list/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      listProcess
      sdisableGlobalContext
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sid
      process
    @/@_list/@name
    sname
    name
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@_list/@label
    sname
    label
    sinheritDescription
    false
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    label
    @/@_list/@varName
    sname
    varName
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    varName
    @/@_list/@collectionName
    sname
    collectionName
    sinputtype
    codeEditor
    scolspan
    2
    sinputattrs
    codeName=java codeType=java wrap=false fillBoth=true cols= rows=
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>使用Ognl表达式。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    collectionName
    @/@_list/@description
    sname
    description
    sinputtype
    html
    scolspan
    2
    sinputattrs
    Width=;Height=;ToolbarSet=Default;fillBoth=true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    description
  @/@_if
  sname
  #if
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<h3>#if的语法规则：</h3>

<p>if((Boolean) self.doAction(&quot;condition&quot;, actionContext)){</p>

<p>&nbsp;&nbsp;&nbsp;执行if下的非#ElseIf和非#Else和第一个非事物名为actions其他所有子事物</p>

<p>}else if((Boolean) elseSelf.doAction(&quot;condition&quot;, actionContext)){</p>

<p>&nbsp;&nbsp;&nbsp;执行对应的#ElseIf下的非第一个事物名为actions其他所有子事物</p>

<p>}else{</p>

<p>&nbsp;&nbsp;&nbsp; 执行#Else下的所有子事物</p>

<p>}</p>

<p>其中condition是#if 和#ElseIf的行为。</p>

<h3>条件condition</h3>

<p>&nbsp;&nbsp;&nbsp; 默认使用属性condition作为Ognl表达式获取，可以重写condition方法来实现自己的条件。</p>

<p><span style="color:rgb(255, 0, 0)"><strong>注意：</strong><br />
&nbsp;&nbsp;&nbsp; 只是为了方便编辑事物模板而加入的，不是非模板事物的默认子事物。</span></p>

<p>&nbsp;</p>
#$@text#$@
  snotXmlAttribute
  false
  sjson_isArray
  false
  sid
  _if
    @/@_if/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@_if/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      ifProcess
      sdisableGlobalContext
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sid
      process
      @/@_if/@actions/@condition
      sname
      condition
      sattributeName
      condition
      snotNull
      false
      sinterpretationType
      Self
      sattributeTemplate
      false
      schildsAttributeTemplate
      false
      svarScope
      Local
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdisableGlobalContext
      false
      sdebugLog
      false
      sdescriptors
      xworker.lang.actions.ActionUtil/@getOgnl
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      condition
    @/@_if/@_ElseIf
    sname
    #ElseIf
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    sextends
    xworker.lang.MetaDescriptor3/@actions
    smany
    true
    seditCols
    2
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sid
    _ElseIf
      @/@_if/@_ElseIf/@actions
      sname
      actions
      sdescriptors
      xworker.lang.MetaDescriptor3/@actions
      sinheritDescription
      false
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      actions
        @/@_if/@_ElseIf/@actions/@condition
        sname
        condition
        sattributeName
        condition
        snotNull
        false
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        screateLocalVarScope
        false
        ssaveReturn
        false
        sdisableGlobalContext
        false
        sdebugLog
        false
        sdescriptors
        xworker.lang.actions.ActionUtil/@getOgnl
        sinheritDescription
        false
        sth_createIndex
        false
        sth_registMyChilds
        false
        sth_registDisabled
        false
        sth_mark
        false
        sid
        condition
      @/@_if/@_ElseIf/@name
      sname
      name
      sinheritDescription
      false
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      name
      @/@_if/@_ElseIf/@label
      sname
      label
      sinheritDescription
      false
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      label
      @/@_if/@_ElseIf/@condition
      sname
      condition
      sinputtype
      textarea
      sshowLabel
      true
      sreadOnly
      false
      sinheritDescription
      false
      sdescription
      <p>使用Ognl的条件表达式。</p>
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      snotXmlAttribute
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      condition
      @/@_if/@_ElseIf/@description
      sname
      description
      sinputtype
      html
      sshowLabel
      true
      smodifier
      public
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      snotXmlAttribute
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      description
    @/@_if/@Else
    sname
    #Else
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    true
    seditCols
    2
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    snotXmlAttribute
    false
    sjson_isArray
    false
    sid
    Else
      @/@_if/@Else/@name
      sname
      name
      sinheritDescription
      false
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      name
      @/@_if/@Else/@label
      sname
      label
      sinheritDescription
      false
      LvalidateOnBlur
      false
      LallowDecimals
      false
      LallowNegative
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sid
      label
      @/@_if/@Else/@description
      sname
      description
      sinputtype
      html
      sshowLabel
      true
      smodifier
      public
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      snotXmlAttribute
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      description
    @/@_if/@name
    sname
    name
    sinheritDescription
    false
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@_if/@label
    sname
    label
    sinheritDescription
    false
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    label
    @/@_if/@condition
    sname
    condition
    sinputtype
    textarea
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>使用Ognl的条件表达式。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    condition
    @/@_if/@actions1
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    sextends
    xworker.lang.MetaDescriptor3/@actions
    smany
    true
    seditCols
    2
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    sth_createIndex
    false
    sth_mark
    false
    sid
    actions1
    @/@_if/@description
    sname
    description
    sinputtype
    html
    sshowLabel
    true
    smodifier
    public
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    description
  @/@_break
  sname
  #break
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p><span style="color: #ff0000">注意：<br />
&nbsp;&nbsp;&nbsp; 只是为了方便编辑事物模板而加入的，不是非模板事物的默认子事物。</span></p>
#$@text#$@
  sid
  _break
    @/@_break/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@_break/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      false
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      breakProcess
      sdisableGlobalContext
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sid
      process
    @/@_break/@name
    sname
    name
    sshowLabel
    true
    smodifier
    public
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    name
    @/@_break/@label
    sname
    label
    sshowLabel
    true
    smodifier
    public
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    label
    @/@_break/@description
    sname
    description
    sinputtype
    html
    sshowLabel
    true
    smodifier
    public
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    description
  @/@_continue
  sname
  #continue
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>&nbsp;</p>
<p>&nbsp;<span style="color: #ff0000">注意：<br />
&nbsp;&nbsp;&nbsp; 只是为了方便编辑事物模板而加入的，不是非模板事物的默认子事物。</span></p>
#$@text#$@
  sid
  _continue
    @/@_continue/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@_continue/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      false
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      continueProcess
      sdisableGlobalContext
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sid
      process
  @/@_return
  sname
  #return
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>&nbsp;</p>
<p>&nbsp;终止事物模板的执行，相当于没有返回值的return。</p>
<p>&nbsp;</p>
<p><span style="color: #ff0000">注意：<br />
&nbsp;&nbsp;&nbsp; 只是为了方便编辑事物模板而加入的，不是非模板事物的默认子事物。</span></p>
#$@text#$@
  sid
  _return
    @/@_return/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@_return/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      false
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      returnProcess
      sdisableGlobalContext
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sid
      process
    @/@_return/@name
    sname
    name
    sinheritDescription
    false
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    name
    @/@_return/@label
    sname
    label
    sinheritDescription
    false
    LvalidateOnBlur
    false
    LallowDecimals
    false
    LallowNegative
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    label
    @/@_return/@description
    sname
    description
    sinputtype
    html
    sshowLabel
    true
    smodifier
    public
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    description
  @/@_actions
  sname
  #actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.lang.MetaDescriptor3/@actions,xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>允许插入动作和脚本等，把每个子节点当作动作执行。</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><span style="color: rgb(255, 0, 0);">注意：<br />
&nbsp;&nbsp;&nbsp; 只是为了方便编辑事物模板而加入的，不是非模板事物的默认子事物。</span></p>
#$@text#$@
  snotXmlAttribute
  false
  sjson_isArray
  false
  sth_createIndex
  false
  sid
  _actions
    @/@_actions/@actions
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sth_createIndex
    false
    sid
    actions
      @/@_actions/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      false
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      actionsProcess
      sdisableGlobalContext
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sth_createIndex
      false
      sid
      process
  @/@_Thing
  sname
  #Thing
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  sdescription
  <p>添加事物节点，事物通过thingPath和thingVar属性指定。</p>
  sth_createIndex
  false
  sid
  _Thing
    @/@_Thing/@actions
    sname
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sth_createIndex
    false
    sid
    actions
      @/@_Thing/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      false
      suseOtherAction
      false
      suseOuterJava
      true
      suseInnerJava
      false
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      thingProcess
      sdisableGlobalContext
      false
      sattributeTemplate
      false
      sinterpretationType
      Action
      svarScope
      Global
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdebugLog
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sth_createIndex
      false
      sid
      process
    @/@_Thing/@name
    sname
    name
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sid
    name
    @/@_Thing/@label
    sname
    label
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sid
    label
    @/@_Thing/@addSoft
    sname
    addSoft
    sinputtype
    truefalse
    sshowLabel
    true
    smodifier
    public
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p>如果为true则使用引用的方法加入子节点。在引用的方法不改变子节点的路径和父事物。</p>

<p>如果为false那么先把事物detach，然后再加入父节点。</p>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sid
    addSoft
    @/@_Thing/@pasteToParent
    sname
    pasteToParent
    sinputtype
    truefalse
    sreadOnly
    false
    sdefault
    false
    sinheritDescription
    false
    sdescription
    <p>是否粘贴到父节点，如果为true，那么addSoft属性就没有用了。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    pasteToParent
    @/@_Thing/@thingPath
    sname
    thingPath
    sinputtype
    dataSelector
    ssize
    60
    scolspan
    2
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    Sdescription
#$@text#$@
<p>如果不为空，那么从world中获取事物，可以和thingVar并存。</p>

<p>为兼容旧程序，如果从world中取的事物为null，那么会从actionContext中用Ognl表达式取，如果从actionContext取，现在最好使用thingVar。</p>
#$@text#$@
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sid
    thingPath
    @/@_Thing/@thingVar
    sname
    thingVar
    ssize
    60
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    sdescription
    <p>如果不为空，使用Ognl从变量上下文中获取事物或事物列表。</p>
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_mark
    false
    sid
    thingVar
  @/@_setattribute
  sname
  #setattributes
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplateFlag
  smany
  true
  seditCols
  2
  sinitialization
  false
  sgroup
  #Template
  smodifier
  public
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>设置父节点事物的属性的值，因为事物的编辑器可能是列表、单选框什么的，不可以直接编写模板，通过此方法则可以变相的实现。</p>

<p>通过添加Attribute子事物设置具体的参数。</p>
#$@text#$@
  snotXmlAttribute
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  _setattribute
    @/@_setattribute/@actions
    sname
    actions
    slabel
    actions
    sdescriptors
    xworker.lang.MetaDescriptor3/@actions
    sid
    actions
      @/@_setattribute/@actions/@process
      sname
      process
      sisSynchronized
      false
      sthrowException
      true
      suseOtherAction
      false
      suseOuterJava
      true
      souterClassName
      xworker.core.util.ThingTemplate
      smethodName
      setattributeProcess
      sdisableGlobalContext
      false
      sattributeTemplate
      false
      sinterpretationType
      Action
      svarScope
      Global
      screateLocalVarScope
      false
      ssaveReturn
      false
      sdescriptors
      xworker.lang.actions.Actions/@JavaAction
      sid
      process
    @/@_setattribute/@name
    sname
    name
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    name
    @/@_setattribute/@label
    sname
    label
    sshowLabel
    true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    snotXmlAttribute
    false
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    label
    @/@_setattribute/@description
    sname
    description
    sinputtype
    html
    scolspan
    2
    sinputattrs
    Width=;Height=;ToolbarSet=Default;fillBoth=true
    sreadOnly
    false
    sinheritDescription
    false
    svalidateAllowBlank
    true
    LvalidateOnBlur
    true
    LallowDecimals
    true
    LallowNegative
    true
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute
    sid
    description
    @/@_setattribute/@Attribute
    sname
    AttributeTemplate
    sdescriptors
    xworker.lang.MetaDescriptor3/@thing
    smany
    true
    seditCols
    2
    sinitialization
    false
    smodifier
    public
    sinheritDescription
    false
    snotXmlAttribute
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    Attribute
      @/@_setattribute/@Attribute/@name
      sname
      name
      sshowLabel
      true
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      snotXmlAttribute
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      name
      @/@_setattribute/@Attribute/@template
      sname
      value
      sinputtype
      textarea
      sshowLabel
      true
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      snotXmlAttribute
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_mark
      false
      sid
      template
      @/@_setattribute/@Attribute/@description
      sname
      description
      sinputtype
      html
      sshowLabel
      true
      smodifier
      public
      sreadOnly
      false
      sinheritDescription
      false
      svalidateAllowBlank
      true
      LvalidateOnBlur
      true
      LallowDecimals
      true
      LallowNegative
      true
      snotXmlAttribute
      false
      sdescriptors
      xworker.lang.MetaDescriptor3/@attribute
      sth_createIndex
      false
      sth_registMyChilds
      false
      sth_registDisabled
      false
      sth_mark
      false
      sid
      description
  @/@name
  sname
  name
  slabel
  名称
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Name
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  name
  @/@label
  sname
  label
  slabel
  标签
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Label
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  label
  @/@parentThing
  sname
  parentThing
  slabel
  父模型
  ssize
  60
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  parentThing
  @/@varName
  sname
  varName
  slabel
  变量名
  sgroup
  Deprecated
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  private
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>当模型模板以动作的方式执行时，如果变量名称不为空，表示创建的模型将已这个变量名称保存到变量上下文中。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  snotXmlAttribute
  false
  sen_label
  Var Name
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  varName
  @/@description
  sname
  description
  slabel
  描述
  sinputtype
  html
  scolspan
  2
  sinheritDescription
  false
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sen_label
  Description
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  description
