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

G_CAEX_ClassModel

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEX_ClassModel Namespaces

Namespaces

 

Namespace Description
CAEX_ClassModel The CAEX_ClassModel Namespace provides Methods to read and manipulate a CAEX-Document. Most of the Classes in this namespace are CAEX-Wrapper Classes. These Classes have been generated with Altova XMLSpy from the CAEX-Schema Version 2.15. The Altova Code Generation generates an Altova Kernel and all Wrapper Classes. When a CAEX-Document is loaded, only the Document Wrapper Class CAEXDocument is created. All other CAEX-Wrappers are only created, when a Property of the CAEX-Document and subordinate Elements are retrieved from an application. The AMLEngine has extended the Altova generated Wrapper-Classes with additional Methods and Properties to offer extended features, which may be helpful to edit or read an AutomationML Document. The Classes in the CAEX_ClassModel Namespace represent the Document Oject Model of the CAEX-XSD Schema Version 2.15
CAEX_ClassModel.AutomationMLObjects
CAEX_ClassModel.Validation The CAEX_ClassModel.Validation Namespace provides Methods to organize the most CAEX-Elements of a CAEX-Document in Dictionaries. These Dictionaries are useful for a fast key-based Access to a CAEX-Element if the Element-Key is known, which could be the CAEX-ID of an InternalElement or the CAEXPath of any Class (SystemUnitClass, RoleClass, InterfaceClass). Another Use Case is the Validation of CAEX - and AutomationML Model Requirements and the repair of discovered Consistency Violations. The Element-Dictionaries in this Namespace are based on the former HashTables, provided in the CAEXFileType Class but now include additional Tables for the Detection of Cross References between CAEX-Elements using ID- and Path-Attributes. The old Methods, defined on the Hash-Tables are still provided for downward compatibility, but should be considered as obsolete.
CAEX_ClassModel.XmlExtension The CAEX_ClassModel.XmlExtension Namespace provides Extension Methods for XmlNode and XmlElement. These Methodsavoid the overhead of an additional CAEXWrapper and provide direct access to some CAEX-Elements and Attributes from the plain Xml-Element.
 
  • 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