
<?xml version="1.0" encoding="utf-8"?>
<Shell name="DataObjectForm" descriptors="xworker.swt.widgets.Shell" text="DataObjectForm" RESIZE="true" width="640" height="480">
<FillLayout name="shellFillLayout"></FillLayout>
<Group name="group" text="DataObjectForm" label="DataObjectForm">
<FillLayout name="groupFillLayout"></FillLayout>
<DataObjectForm formType="create">
<dataObjects>
<AbstractDataObject label="数据库监控" group="xworker.app.monitor" gridEditable="true" autoGenerateId="true" idGenerateType="native" storeSortDir="ASC" beforeUpdate="true" th_createIndex="true" th_registThing="child|xworker.app.dataObject.AppDataObjects">
<attribute name="id" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="标识" fieldName="id" generator="native" type="long" key="true" createEditor="false" editEditor="false" editable="false"></attribute>
<attribute name="name" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="名称" fieldName="name" length="250" gridWidth="150"></attribute>
<attribute name="sgroup" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="分组" fieldName="sgroup" length="100"></attribute>
<attribute name="status" _xmeta_id_="enable" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="生效" fieldName="status" type="byte" default="1" inputtype="truefalse"></attribute>
<attribute name="period" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="周期" fieldName="period" type="long" queryEditor="false"></attribute>
<attribute name="timeUnit" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="周期时间单位" fieldName="timeUnit" length="20" default="MILLISECONDS" queryEditor="false" inputtype="select" extends="xworker.lang.task.Task/@TimeUnit"></attribute>
<attribute name="timeout" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="监控超时时间(毫秒)" fieldName="timeout" type="long" default="0"></attribute>
<attribute name="maxTimeoutCount" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="最大超时次数" fieldName="maxTimeoutCount" type="int" default="0" description="<p>如果超时次数超过最大超时次数,那么整个任务将被停止且任务被设置为不生效。</p>"></attribute>
<attribute name="mailSessionThing" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="邮件会话事物" fieldName="mailSessionThing" length="500" inputtype="dataSelector" size="60" colspan="2"></attribute>
<attribute name="mailReceiveUserGroupId" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="邮件接受用户组标识" fieldName="mailReceiveUserGroupId" type="long"></attribute>
<attribute name="updateTime" descriptors="xworker.dataObject.db.DbDataObject/@attribute" label="更新日期" fieldName="updateTime" type="datetime" default="now" createEditor="false" editEditor="false" editable="false"></attribute>
</AbstractDataObject>
</dataObjects>
</DataObjectForm>
</Group>
</Shell>