Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

Properties_T_CAEX_ClassModel_Validation_CAEXTables

AutomationML edited this page Feb 22, 2017 · 1 revision

CAEXTables Properties

The CAEXTables type exposes the following members.

Properties

 

Name Description
Public property AttributesWithRefUriTable Gets the table which contains all attributes with external references. Attributes are listed, if the AttributeDataType is xs:anyURI and the value is not null or empty. The Table uses the attribute value as key.
Public property HasPendingUpdates Gets a value indicating whether this instance has pending updates.
Public property IDRefTable Gets the ID-Reference-Table. This Table contains all registered InternalElement-Objects which reference another InternalElement (i.e. Mirror-Objects) and all InternalLinks. The Table can be updated with the UpdateAllTables(Boolean) for all Elements in the current document or with one of the single Element update methods.    Access to the Property will block, if any update tasks are pending.
Public property IDTable The ID-Table. This Table contains all registered CAEX-Elements with IDs, that are InternalElements an InterfaceClasses. The Table can be updated with the UpdateAllTables(Boolean) for all Elements in the current document or with one of the single Element update methods.    Access to the Property will block, if any update tasks are pending.
Public propertyCode example ManagedByApplication Gets or sets a value indicating whether the Tables are managed by an Engine application.

Examples

This sample shows how to enabled the AmlEngine to use the DocumentTables for fast Access.

{
 CAEXDocument document = CAEXDocument.LoadFromFile ("myDoc.aml")
 document.Tables.UpdateAllTables();
 document.Tables.ManagedByApplication = true;
}
```</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfAllObjects">NumberOfAllObjects</a></td><td>
The Number of all Objects which are managed in the Tables.</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfAttributes">NumberOfAttributes</a></td><td>
Number of managed Attributes</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfInterfaceClasses">NumberOfInterfaceClasses</a></td><td>
Number of managed InterfaceClasses</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfInterfaceInstances">NumberOfInterfaceInstances</a></td><td>
Number of managed Interface Instances</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfInternalElements">NumberOfInternalElements</a></td><td>
Number of managed InternalElements</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfLinks">NumberOfLinks</a></td><td>
Number of managed Internal Links</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfRoleClasses">NumberOfRoleClasses</a></td><td>
Number of managed RoleClasses</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_NumberOfSystemUnitClasses">NumberOfSystemUnitClasses</a></td><td>
Number of managed SystemUnitClasses</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_PathRefTable">PathRefTable</a></td><td>
Gets the Path-Reference-Table. This Table contains all CAEX-Objects, which have a reference to another CAEX-Element via the CAEX-Path. The Table can be updated with the <a href="M_CAEX_ClassModel_Validation_CAEXTables_UpdateAllTables">UpdateAllTables(Boolean)</a> for all Elements in the current document or with one of the single Element update methods.
&nbsp;<ul><li><a href="M_CAEX_ClassModel_Validation_CAEXTables_AddCAEXObject">AddCAEXObject(CAEXBasicObject, Boolean)</a></li><li><a href="M_CAEX_ClassModel_Validation_CAEXTables_RemoveCAEXObject">RemoveCAEXObject(CAEXBasicObject, Boolean)</a></li><li><a href="M_CAEX_ClassModel_Validation_CAEXTables_UpdateCAEXObjectRegistration">UpdateCAEXObjectRegistration(CAEXBasicObject, Boolean, Boolean)</a></li></ul>&nbsp;
Access to the Property will block, if any update tasks are pending.</td></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td><td><a href="P_CAEX_ClassModel_Validation_CAEXTables_PathTable">PathTable</a></td><td>
Gets the Path-Table. This Table contains all CAEX-Elements, which are identifiable by their CAEXPath. The Table can be updated with the <a href="M_CAEX_ClassModel_Validation_CAEXTables_UpdateAllTables">UpdateAllTables(Boolean)</a> for all Elements in the current document or with one of the single Element update methods.
&nbsp;<ul><li><a href="M_CAEX_ClassModel_Validation_CAEXTables_AddCAEXObject">AddCAEXObject(CAEXBasicObject, Boolean)</a></li><li><a href="M_CAEX_ClassModel_Validation_CAEXTables_RemoveCAEXObject">RemoveCAEXObject(CAEXBasicObject, Boolean)</a></li><li><a href="M_CAEX_ClassModel_Validation_CAEXTables_UpdateCAEXObjectRegistration">UpdateCAEXObjectRegistration(CAEXBasicObject, Boolean, Boolean)</a></li></ul>&nbsp;
Access to the Property will block, if any update tasks are pending.</td></tr></table>&nbsp;
<a href="#caextables-properties">Back to Top</a>

## See Also


#### Reference
<a href="T_CAEX_ClassModel_Validation_CAEXTables">CAEXTables Class</a><br /><a href="N_CAEX_ClassModel_Validation">CAEX_ClassModel.Validation Namespace</a><br />
  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally