QPR Knowledge Base 2012.1

Instance

Instance

Previous topic Next topic  

Instance

Previous topic Next topic  

The AttributeValue has value Instance if the model element has instances of itself. In Instance AttributeType there are no TypeProperty  DataType = xxx XML child elements.

 

Example:

 

<ModelAttributeType Name="Instances" AttributeType="Instance">

 <FieldType Name="InstanceId" DataType="int" />

 <FieldType Name="ProcessLevelName" DataType="string" />

 <FieldType Name="ProcessLevelId" DataType="string" />

 <FieldType Name="OrgUnitName" DataType="string" />

 <FieldType Name="OrgUnitId" DataType="string" />

</ModelAttributeType>

 

<Attribute AttributeName="Instances">

 <Record>

   <Field Name="InstanceId" Value="1" />

   <Field Name="ProcessLevelName" Value="XML testi" />

   <Field Name="ProcessLevelId" Value="PG_PS0" />

   <Field Name="OrgUnitName" Value="" />

   <Field Name="OrgUnitId" Value="" />

 </Record>

 <Record>

   <Field Name="InstanceId" Value="2" />

   <Field Name="ProcessLevelName" Value="Sub1" />

   <Field Name="ProcessLevelId" Value="PG_PS40" />

   <Field Name="OrgUnitName" Value="" />

   <Field Name="OrgUnitId" Value="" />

 </Record>

</Attribute>