^1657606966727
@
sname
ThingTemplateAction
slabel
ThingTemplateAction
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.lang.actions.SelfAction
smany
true
seditCols
2
sformNoLabel
false
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>执行模型模板，返回模板创建的模型，也可以执行新创建的模型的指定动作。</p>

<p><strong>如何设置模型模板</strong></p>

<p>&nbsp;&nbsp;&nbsp; 可以通过thingTemplate属性或ThingTemplate子节点设置，其中属性优先级高。</p>

<p><strong>返回类型</strong></p>

<p>&nbsp;&nbsp;&nbsp; 模型模板创建的模型的根节点通常是一个空模型，其子节点一般才是模板里的模型。</p>

<p>&nbsp;&nbsp;&nbsp; 通过返回类型(returnType)可以设置要返回的数据类型。</p>

<p><strong>执行动作</strong></p>

<p>&nbsp;&nbsp;&nbsp; 如果actionName不为空，并且返回的类型是Thing，那么则会执行结果模型的相关动作，返回这个动作的结果。</p>

<p>&nbsp;</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sjson_attribute
false
sth_createIndex
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sid
  actions
    @/@actions/@run
    sname
    run
    sisSynchronized
    false
    sthrowException
    false
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.lang.actions.ThingTemplateAction
    smethodName
    run
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sid
    run
    @/@actions/@getThingTemplate
    sname
    getThingTemplate
    sattributeName
    thingTemplate
    schildThingName
    ThingTemplate
    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
    getThingTemplate
    @/@actions/@getReturnType
    sname
    getReturnType
    sattributeName
    returnType
    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/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getReturnType
    @/@actions/@isOpenGeneratedThing
    sname
    isOpenGeneratedThing
    sattributeName
    openGeneratedThing
    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/@GetBoolean
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    isOpenGeneratedThing
  @/@name
  sname
  name
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  name
  @/@label
  sname
  label
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  label
  @/@returnType
  sname
  returnType
  sinputtype
  select
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  default
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>执行模板后的返回类型，对执行动作无效。</p>

<ul>
	<li><strong>default</strong><br />
	为兼容旧的不建议使用的属性useRootThing而保留的。<br />
	&nbsp;</li>
	<li><strong>parentThing</strong><br />
	返回模型模板的返回值，通常是一个指定的parentThing或新创建的一个空模型。<br />
	&nbsp;</li>
	<li><strong>firstChild</strong><br />
	返回parentThing的第一个子节点，如果没有则返回null。<br />
	&nbsp;</li>
	<li><strong>childsList</strong><br />
	返回parentTHing的子节点列表。</li>
</ul>

<p>&nbsp;</p>
#$@text#$@
  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
  returnType
    @/@returnType/@default
    sname
    default
    svalue
    default
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    default
    @/@returnType/@parentThing
    sname
    parentThing
    svalue
    parentThing
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    parentThing
    @/@returnType/@firstChild
    sname
    firstChild
    svalue
    firstChild
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    firstChild
    @/@returnType/@childsList
    sname
    childsList
    svalue
    childsList
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    childsList
  @/@selfVarName
  sname
  selfVarName
  sreadOnly
  false
  sdefault
  data
  sinheritDescription
  false
  sdescription
  <p>自己在生成模板时保存的变量名，模板可以直接使用这个变量名，默认是data。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  selfVarName
  @/@useRootThing
  sname
  useRootThing
  sinputtype
  truefalse
  sgroup
  Deprecated
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>模型模板创建的模型总是一个空模型，其子模型一般才是模板创建的模型。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  useRootThing
  @/@actionName
  sname
  actionName
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>如果不为空，那么当模型创建后执行该模型的这个方法。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  actionName
  @/@varName
  sname
  varName
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  private
  sreadOnly
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>如果不为空在创建模型后以此变量名保存到变量上下文中。</p>
#$@text#$@
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  varName
  @/@openGeneratedThing
  sname
  openGeneratedThing
  sinputtype
  truefalse
  sshowLabel
  true
  slabelAlign
  right
  slabelVAlign
  baseline
  smodifier
  public
  sreadOnly
  false
  sdefault
  false
  sinheritDescription
  false
  Sdescription
#$@text#$@
<p>测试目的，运行时在IDE中打开生成的模型。</p>
#$@text#$@
  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
  openGeneratedThing
  @/@templateThing
  sname
  thingTemplate
  sinputtype
  dataSelector
  ssize
  60
  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
  templateThing
  @/@description
  sname
  description
  sinputtype
  html
  scolspan
  2
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sid
  description
  @/@ThingTemplate
  sname
  ThingTemplate
  sdescriptors
  xworker.lang.MetaDescriptor3/@thing
  sextends
  xworker.core.util.ThingTemplate
  smany
  true
  seditCols
  2
  sinitialization
  false
  smodifier
  public
  sinheritDescription
  true
  sth_createIndex
  false
  sid
  ThingTemplate
