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

Methods_T_AML_ExternalDataReference_ExternalDataReference

AutomationML edited this page Feb 22, 2017 · 1 revision

ExternalDataReference Methods

The ExternalDataReference type exposes the following members.

Methods

 

Name Description
Public methodStatic member AddAutomationMLBPRInterfaceClassLib Adds the AutomationMLBPRInterfaceClassLib containing all interface classes used to model external document references to the AMLDocument.
Public methodStatic member AddAutomationMLBPRRoleClassLib Adds the AutomationMLBPRRoleClassLib containing all role classes used to model external document references to the AMLDocument.
Public methodStatic member AddDocumentElement Adds a document element to the defined internalElement. A Document Element is semanticaly described with an attached role defined withe the base role class ExternalDataRoleClassPath or a derived role class. If no roleclass path is given as a parameter the default is used. If the specified role class path can not be identified as a dreived role from the ExternalDataRoleClassPath no document element is added (returns null).
Public methodStatic member AddDocumentElementRole Add a role reference to a external data role class or derived roleclass defined with the given roleclass path as a supported role class to the internal element. If the specified role class path can not be identified as a dreived role from the ExternalDataRoleClassPath no role reference is added (returns false).
Public methodStatic member AddDocumentReference Adds a document with the specified external reference interface to the document element. If the given internal element is not a document element or the defined class path to the external reference interface is not derived from the standard base class no interface is added.
Public methodStatic member AddExternalDataReferenceLibraries Adds the external data reference libraries used to model external document references. It is checked, if the needed role- and interface libraries are contained in the AMLDocument. If this libs are missing, they are imported from an embedded resource stream. The current Version of the embedded libs is version 1.0.0.
Public methodStatic member AddLanguage Adds a language attribute to the internal element. If this is the first language attribute, a simple attribute is added. If this is not the first, a language attribute list is used. A former created simple attribute is transfered to a list item.
Public methodStatic member AutomationMLBPRInterfaceClassLib Gets the AutomationMLBPRInterfaceClassLib containing all interface classes used to model external document references to the AMLDocument.
Public methodStatic member AutomationMLBPRRoleClassLib Gets the AutomationMLBPRRoleClassLib containing all role classes used to model external document references to the AMLDocument.
Public methodStatic member DocumentElements Gets all Internal Element Children from the specified internal element which are document elements.
Public methodStatic member ExternalDataReferenceInterfaceClass(CAEXFileType) Gets the ExternalDataReference InterfaceClass from the AMLDocument.
Public methodStatic member ExternalDataReferenceInterfaceClass(InterfaceClassLibType) Gets the ExternalDataReference InterfaceClass from the automationMLBPRInterfaceClassLib.
Public methodStatic member ExternalDataRoleClass(CAEXFileType) Gets the ExternalData RoleClass from the AMLDocument.
Public methodStatic member ExternalDataRoleClass(RoleClassLibType) Gets the ExternalData RoleClass from the automationMLBPRRoleClassLib.
Public methodStatic member GetLanguages Gets the languages, defined for the document element. If the given internal element is not a document element, the collection is empty.
Public methodStatic member IsDocumentElement Determines whether the specified internal element is a document element.
  Back to Top

See Also

Reference

ExternalDataReference Class
AML.ExternalDataReference Namespace

  • 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