Click or drag to resize

ExternalDataReference Class

This class provides methods to create and retrieve external data references as it is defined in the BPR document "ExternalDataReference" Version 1.0.0 from July 2016.
Inheritance Hierarchy
SystemObject
  Aml.Engine.AmlObjectsExternalDataReference

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static class ExternalDataReference

The ExternalDataReference type exposes the following members.

Methods
 NameDescription
Public Extension MethodAddAutomationMLBPRInterfaceClassLib Adds the AutomationMLBPRInterfaceClassLib containing all interface classes used to model external document references to the AMLDocument.
Public Extension MethodAddAutomationMLBPRRoleClassLib Adds the AutomationMLBPRRoleClassLib containing all role classes used to model external document references to the AMLDocument.
Public Extension MethodAddDocumentElement Adds a document element to the defined internalElement. A Document Element is semantically described with an attached role defined with the base role class ExternalDataRoleClassPath or a derived role class. If no role class path is given as a parameter the default is used. If the specified role class path can not be identified as a derived role from the ExternalDataRoleClassPath no document element is added (returns null).
Public Extension MethodAddDocumentElementRole Add a role reference to a external data role class or derived role class defined with the given role class path as a supported role class to the internal element. If the specified role class path can not be identified as a derived role from the ExternalDataRoleClassPath no role reference is added (returns false).
Public Extension MethodAddDocumentReference 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 Extension MethodAddExternalDataReferenceLibraries 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 Extension MethodAddLanguage 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 transferred to a list item.
Public Extension MethodAutomationMLBPRInterfaceClassLib Gets the AutomationMLBPRInterfaceClassLib containing all interface classes used to model external document references to the AMLDocument.
Public Extension MethodAutomationMLBPRRoleClassLib Gets the AutomationMLBPRRoleClassLib containing all role classes used to model external document references to the AMLDocument.
Public Extension MethodDocumentElements Gets all Internal Element Children from the specified internal element which are document elements.
Public Extension MethodExternalDataReferenceInterfaceClass(CAEXFileType) Gets the 'ExternalDataReference' InterfaceClass from the AML document.
Public Extension MethodExternalDataReferenceInterfaceClass(InterfaceClassLibType) Gets the ExternalDataReference InterfaceClass from the AutomationMLBPRInterfaceClassLib.
Public Extension MethodExternalDataRoleClass(CAEXFileType) Gets the ExternalData RoleClass from the AML document. ExternalData RoleClass is only defined for CAEX 2.15 and AutomationML 2.0
Public Extension MethodExternalDataRoleClass(RoleClassLibType) Gets the 'ExternalData' RoleClass from the AutomationMLBPRRoleClassLib.
Public Extension MethodGetLanguages Gets the languages, defined for the document element. If the given internal element is not a document element, the collection is empty.
Public Extension MethodIsDocumentElement Determines whether the specified internal element is a document element.
Top
Fields
 NameDescription
Public fieldStatic memberAutomationMLBPRInterfaceClassLibName The name of the library containing interface classes specified in BPR documents
Public fieldStatic memberAutomationMLBPRRoleClassLibName The name of the library containing role classes specified in BPR documents
Public fieldStatic memberExternalDataReferenceInterfaceClassName The name for the ExternalDataReference interface class
Public fieldStatic memberExternalDataReferenceInterfaceClassPath The class path for the ExternalDataReference interface class
Public fieldStatic memberExternalDataRoleClassName The name for the ExternalData role class
Public fieldStatic memberExternalDataRoleClassPath The class path for the ExternalData role class
Public fieldStatic memberLanguageAttributeName The language attribute name
Top
See Also