QPR Knowledge Base

ModelElementType XML Element

Hide Navigation Pane

ModelElementType XML Element

Previous topic Next topic No expanding text in this topic  

ModelElementType XML Element

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

ModelElementType XML element has the type information about a single QPR model element, e.g. flow type information of QPR ProcessGuide. The ModelElementType's TypeName and TypeID XML attribute values must be unique within the XML document.

 

The file format is invalid if there is ModelElement XML element that has a reference (defined by TypeID XML attribute in ModelElementType and ModelElement elements) to a missing ModelElementType XML element. However, it is completely legal to have ModelElementType without any referring ModelElements.

 

Each ModelElementType contains 0 to n ModelAttributeType XML elements. They define what attributes each element of this element type may contain. In the case of attribute sets, also  sub-attributes are included. Example of QPR ProcessGuide ModelElementType definition:

 

<ModelElementType TypeName="Activity" TypeID="PG_PS2" TypeType="0" Description="Process step type Activity">

 

XML attribute

Description

TypeName

The name of the element type. Unique within the XML document.

TypeID

The ID of the element type. Unique within the XML document.

TypeType

Additional information about element type. Example: in QPR ProcessGuide process step types of type 'Activity' have TypeType value 0, 'Subprocess' value 1 and 'External Model' value 2.

Description

The description of the element type.

Table 3.2 The XML attributes of ModelElementType

Comments (...)