Click or drag to resize

IObjectWithInheritedAttributes Interface

Interface that defines methods and properties that apply to all classes that are able to contain attributes.

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public interface IObjectWithInheritedAttributes : IObjectWithAttributes, 
	ICAEXWrapper, IXMLWrapper

The IObjectWithInheritedAttributes type exposes the following members.

Properties
 NameDescription
Public propertyAttribute Get the collection of all attributes of this object. Inherited Attributes are not included.
(Inherited from IObjectWithAttributes)
Public propertyAttributeAndDescendants Gets the attributes and all nested attributes.
(Inherited from IObjectWithAttributes)
Public propertyAttributeAndInherited Gets the attributes and including all inherited attributes.
Public propertyCAEXParent Gets the CAEXParent of this CAEX object
(Inherited from ICAEXWrapper)
Public propertyDocument Gets the XDocument containing the XML node of this object. If the object has not been inserted into a document, the XDocument is null. Direct manipulations of the XML document are not monitored by the AML engine.
(Inherited from IXMLWrapper)
Public propertyExists Determines, if this instance is wrapped around an existing XML node
(Inherited from IXMLWrapper)
Public propertyNode Get the XML node of this instance. Direct manipulations of the XML node are not monitored by the AML engine.
(Inherited from IXMLWrapper)
Public propertyOwner Gets the XML parent node of this instance. Direct manipulations of the XML node are not monitored by the AML engine.
(Inherited from IXMLWrapper)
Public propertyTagName Gets the Schema Tag name of this instance.
(Inherited from IXMLWrapper)
Top
Methods
 NameDescription
Public methodCAEXChild Gets the first child of this CAEX object with the defined CAEX tag name.
(Inherited from ICAEXWrapper)
Public methodCAEXChildren Gets all children of this CAEX object with the defined CAEX tag name.
(Inherited from ICAEXWrapper)
Public methodRemove Removes this object
(Inherited from ICAEXWrapper)
Top
Extension Methods
 NameDescription
Public Extension MethodCode exampleAddAttributeTypeReference Adds an AttributeType reference to this ObjectWithAttribute using the provided AttributeType object. The AttributeType reference is added as a AttributeType object.
(Defined by ObjectWithAttributes)
Public Extension MethodCode exampleAddAttributeTypeReference Adds an AttributeType reference to this ObjectWithAttribute using the provided CAEX path, referencing an AttributeType object. The AttributeType reference is added as a AttributeType object.
(Defined by ObjectWithAttributes)
Public Extension MethodAMLAttributes Conversion of any object which has an attribute collection to get access to specific AutomationML defined attributes.
(Defined by AmlObjectsExtensions)
Public Extension MethodAMLSchemaManager Gets the associated CAEX schema manager of the CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodAncestors Finds all ancestors of the provided CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodAncestorsT Finds the ancestors of the provided CAEX object which have the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodAttributes Enumeration Method for direct Children of Type AttributeType
(Defined by AMLEngineAdapter)
Public Extension MethodCAEXDocument Gets the CAEX document which contains this CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodCAEXFile Gets the CAEX file which contains this CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodCAEXSchema Gets the associated CAEX schema of the CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodCopyAttributesFrom Copies all attribute of the source object with attributes to the target object including children
(Defined by ObjectWithAttributes)
Public Extension MethodCreateListAttribute Creates a new list attribute for an element which can have attributes.
(Defined by ListAttribute)
Public Extension MethodDescendantsT Finds the descendants of the provided CAEX object which are of the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFindCaexObjectFromIdT Finds the CAEX object with the specified id and the specified Type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFindReferencedClassT Finds the CAEX object with the specified CAEX path and the specified Type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFirstAncestor Finds the first ancestor of the specified CAEX object which fulfils the specified predicate
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFirstAncestor Finds the first ancestor of the specified CAEX object with the given Tag name
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFirstAncestorT Finds the first ancestor of the specified CAEX object in the given Type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodFrameAttribute Gets a defined FrameAttribute from the Attribute collection of the IObjectWithAttributes. If no such attribute exists, null is returned.
(Defined by AmlObjectsExtensions)
Public Extension MethodGetAttribute Gets the first attribute with the specified name from the attribute collection of the CAEX object.
(Defined by ObjectWithAttributes)
Public Extension MethodgetAttributeField Get the whole attribute field containing a collection of all attributes of this object.
(Defined by AMLEngineAdapter)
Public Extension MethodGetAttributeValue Returns an attribute value of a given attribute name.
(Defined by AMLEngineAdapter)
Public Extension MethodGetParentT Tries to get a CAEX parent with the specified Type of the provided caexObject. If the parent is not assignable to the provided type, the result is null.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodInsert_Attribute Inserts an Attribute object in the Attribute collection of the objectWithAttributes.
(Defined by SystemUnitClassTypeExtensions)
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.
(Defined by AmlObjectsExtensions)
Public Extension MethodLibrary Gets the Library which contains this CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodNew_Attribute Appends a new Attribute object with the defined name to the specified CAEX object.
(Defined by ObjectWithAttributes)
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.
(Defined by AmlObjectsExtensions)
Public Extension MethodRefTypeAttribute Gets the RefTypeAttributeTypefrom the objectWithAttributes if one exists. This Attribute is defined for a COLLADAInterface.
(Defined by AmlObjectsExtensions)
Public Extension MethodRefURIAttribute Gets the RefURIAttributeType from the objectWithAttributes if one exists.
(Defined by AmlObjectsExtensions)
Public Extension MethodSetAttributeValue Sets a value for the attribute from a string with the specified name from the attribute collection of the CAEX object. If no attribute with that name exists, it is created.
(Defined by ObjectWithAttributes)
Public Extension MethodCode exampleSetAttributeValue Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided double value. If no attribute with that name exists, it is created. Sets the AttributeDataType to xs:double. To change existing attributes it is recommended to use indexers (see examples below).
(Defined by ObjectWithAttributes)
Public Extension MethodSetAttributeValue Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided values. If no attribute with that name exists, it is created.
(Defined by ObjectWithAttributes)
Public Extension MethodSetAttributeValue Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided values. If no attribute with that name exists, it is created. Sets the AttributeDataType to xs:double
(Defined by ObjectWithAttributes)
Public Extension MethodSetAttributeValue Modifies the attribute with the specified name from the attribute collection of the CAEX object, using the provided values. If no attribute with that name exists, it is created.
(Defined by ObjectWithAttributes)
Public Extension MethodSetAttributeValueT Sets a typed value for the attribute with the specified name from the attribute collection of the CAEX object. If no attribute with that name exists, it is created. The correct encoding for the attribute value xml representation is automatically defined.
(Defined by ObjectWithAttributes)
Top
See Also