Click or drag to resize

AmlObjectsExtensions Class

This class provides extensions methods for the identification of properties of AML objects, using CAEX objects.
Inheritance Hierarchy
SystemObject
  Aml.Engine.AmlObjects.ExtensionsAmlObjectsExtensions

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

The AmlObjectsExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodAMLAttributes Conversion of any object which has an attribute collection to get access to specific AutomationML defined attributes.
Public Extension MethodAMLFacet Converts an InternalElementType to an AMLFacet.
Public Extension MethodAMLFile Converts a CAEX file to an AML file.
Public Extension MethodAMLGroup Converts an InternalElementType to an AMLGroup.
Public Extension MethodAMLPort Converts an InternalElementType to an AMLPort.
Public Extension MethodAMLSystemUnitClass Converts an SystemUnitClassType to an AMLSystemUnitClass.
Public Extension MethodAutomationMLVersion(CAEXDocument) Gets the AutomationML version for this CAEXFile object.
Public Extension MethodAutomationMLVersion(CAEXFileType) Gets the AutomationML version for this CAEXFile object.
Public Extension MethodClearMetaInformation Removes all "Writer Header" specific meta information out of this CAEX file.
Public Extension MethodDeleteMetaInformation This function deletes any existing meta information corresponding to the writerID.
Public Extension MethodFrameAttribute Gets a defined FrameAttribute from the Attribute collection of the IObjectWithAttributes. If no such attribute exists, null is returned.
Public Extension MethodGetMetaInformation(CAEXFileType) This methods returns an Enumeration of all "WriterHeader" meta information out of an existing AutomationML file.
Public Extension MethodGetMetaInformation(CAEXFileType, String) This function returns the MetaInformation corresponding to the writerID, otherwise null.
Public Extension MethodIsAMLFacet Determines whether the InternalElement instance is an AMLFacet.
Public Extension MethodIsAMLGroup Determines whether the InternalElement instance is an AMLGroup.
Public Extension MethodIsAMLObject Determines whether the CAEX object is an AutomationML object. If the CAEX object is a SystemUnitClass or InternalElement, it is checked, if there exists a role reference to the AutomationMLBaseRole. If the CAEX object is an ExternalInterface, it is checked, if there exists an InterfaceClass reference to an AutomationMLBase Interface.
Public Extension MethodIsAMLPort Determines whether the InternalElement instance is an AMLPort.
Public Extension MethodIsFacetAttribute Determines, if the attribute is an attribute of an AMLFacet.
Public Extension MethodIsFacetInterface Determines, if the ExternalInterface object is an ExternalInterface of an AMLFacet.
Public Extension MethodIsRefTypeAttribute Gets a value indicating whether this instance is a RefType attribute.
Public Extension MethodIsRefURIAttribute Gets a value indicating whether this instance is a RefURI attribute.
Public Extension MethodNew_FrameAttribute Creates a new Frame attribute for the IObjectWithAttributes if no Frame attribute exists. The provided values are used to initialize the Frame attribute values.
Public Extension MethodRefTypeAttribute Gets the RefTypeAttributeTypefrom the objectWithAttributes if one exists. This Attribute is defined for a COLLADAInterface.
Public Extension MethodRefURIAttribute Gets the RefURIAttributeType from the objectWithAttributes if one exists.
Public Extension MethodReplaceMetaInformation This function replaces any existing meta information corresponding to the identical oldWriterID with the new meta information defined in the newMetainformation
Public Extension MethodSetMetaInformation(CAEXFileType, MetaInformation) This method is a short version of the setMetaInformation. Meta data with identical WriterID is replaced.
Public Extension MethodSetMetaInformation(SourceDocumentInformationType, MetaInformation) Sets the properties for the specified SourceDocumentInformation object using the provided MetaInformation
Public Extension MethodSetMetaInformation(CAEXFileType, String, String, String, String, String, String, String, String, String) This function sets the meta information required from AutomationML standard. If meta information about the same writerID already exists, this meta information is replaced. These information comprise source information about the AutomationML file.
Public Extension MethodSetMetaInformationStandardAutomationMLLibrary This method labels this CAEX file as a standard AutomationML library coming from the AutomationML e.V. It removes all other meta information and should only be used from authorized persons in agreement with the AutomationML e.V.
Public Extension MethodSetSourceDocumentInformation This function sets the meta information required from AutomationML standard. If meta information about the same writerID already exists, this meta information is replaced. These information comprise source information about the AutomationML file.
Public Extension MethodToRefTypeAttribute Converts an AttributeType to a RefTypeAttribute.
Public Extension MethodToRefURIAttribute Converts an AttributeType to a RefUriAttribute.
Top
See Also