Click or drag to resize

RoleRequirementsType Methods

The RoleRequirementsType type exposes the following members.

Methods
 NameDescription
Public methodAssignQualifiedRoleClassAttribute This method supports the Multiple Roles concept in AutomationML 2.0, based on CAEX 2.15. The method is not applicable for documents, based on CAEX 3.0 and later. It tests, if the provided Attribute object is a role class attribute of a supported role class object which can be used in a Multiple role mapping and assigns it to this RoleRequirements instance.
Public methodAssignQualifiedRoleClassInterface This method supports the Multiple Roles concept in AutomationML 2.0, based on CAEX 2.15. The method is not applicable for documents, based on CAEX 3.0 and later. It tests, if the provided ExternalInterface object is a role class interface of a supported role class object which can be used in a Multiple role mapping and assigns it to this RoleRequirements instance.
Public methodCAEXChild Gets the first child of this CAEX object with the defined CAEX tag name.
(Inherited from CAEXWrapper)
Public methodCAEXChildren Gets all children of this CAEX object with the defined CAEX tag name.
(Inherited from CAEXWrapper)
Public methodCAEXSequence Gets the CAEXSequence owned by this CAEX object, which contains the specified CAEX object.
(Overrides CAEXBasicObjectCAEXSequence(ICAEXWrapper))
Public methodContainerT Gets the CAEX Container for elements of type T, which is owned by this CAEX object
(Inherited from CAEXBasicObject)
Public methodCopy Creates a deep copy of this CAEX object
(Inherited from CAEXWrapper)
Public methodEquals Equality of CAEX wrapper instances is defined on the equality of the wrapped XML elements.
(Inherited from CAEXWrapper)
Public methodGetHashCode Gets the Hash code for this instance, using the wrapped XML element.
(Inherited from CAEXWrapper)
Public methodGetXAttributeValue Gets the value of the Xml-Attribute with the specified attribute name of the wrapped Xml-Element.
(Inherited from CAEXWrapper)
Public methodHasRoleClassReference Determines whether this RoleRequirements object has an associated reference to the provided RoleClass. If inheritance relations between RoleClasses should be regarded, the optional parameter 'regardInheritance' should be set. In this case the specified RoleClass is either identical to the referenced RoleClass or the referenced RoleClass is derived from the provided RoleClass.
Public methodImport Imports the specified CAEX object in it's associated sequence. The provided CAEX object is copied and all references are recalculated before it is inserted.
(Overrides CAEXBasicObjectImport(CAEXWrapper, String, Boolean))
Public methodInsert(CAEXWrapper, Boolean) Inserts the specified CAEX object in it's associated sequence. The RoleRequirementsType defines the Attribute and ExternalInterface sequence.
(Overrides CAEXBasicObjectInsert(CAEXWrapper, Boolean))
Public methodInsert(Int32, CAEXWrapper) Inserts the specified CAEX object in it's associated sequence. The RoleRequirementsType defines the Attribute and ExternalInterface sequence.
(Overrides CAEXBasicObjectInsert(Int32, CAEXWrapper))
Public methodInsertNew This method can be used to create an XML node, if this CAEX wrapper was instantiated without an XML node. This method can only be applied, if an Owner is defined. The new created CAEX object is inserted as a new child of the owner.
(Inherited from CAEXWrapper)
Public methodIsAssignableRoleClassAttribute This method supports the Multiple Roles concept in AutomationML 2.0, based on CAEX 2.15. The method is not applicable for documents, based on CAEX 3.0 and later. It tests, if the provided attribute is a role class attributes of a supported role class object which can be used in a Multiple role mapping and is assignable to this RoleRequirements instance
Public methodIsAssignableRoleClassInterface This method supports the Multiple Roles concept in AutomationML 2.0, based on CAEX 2.15. The method is not applicable for documents, based on CAEX 3.0 and later. It tests, if the provided ExternalInterface object is a role class interface of a supported role class object which can be used in a Multiple role mapping and is assignable to this RoleRequirements instance
Public methodNew_MappingObject Adding a new MappingObject element to this RoleRequirements object.
Public methodNew_Revision Creates a new Revision object and inserts it to the collection of Revision objects Revision either at the beginning or at the end of the sequence, according to the specified optional value. The Revision object is initialized with the provided values.
(Inherited from CAEXBasicObject)
Public methodRemove Removes this element. After that it is no longer assigned to a document and has no owner anymore.
(Inherited from CAEXWrapper)
Public methodSetXAttributeValue Sets the value of an attribute, adds an attribute, or removes an attribute (if the value is null).
(Inherited from CAEXWrapper)
Public methodUpdateInstance Updates the RoleRequirement using added attributes andd added external interfaces of the referenced RoleClass.
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 MethodCode exampleAddInterfaceClassReference Adds an InterfaceClass reference to this ObjectWithExternalInterface using the provided InterfaceClass object. The InterfaceClass reference is added as a ExternalInterfaceType object.
(Defined by ObjectWithExternalInterface)
Public Extension MethodCode exampleAddInterfaceClassReference Adds an InterfaceClass reference to this ObjectWithExternalInterface using the provided CAEX path, referencing an InterfaceClass object. The InterfaceClass reference is added as a ExternalInterfaceType object.
(Defined by ObjectWithExternalInterface)
Public Extension MethodAllLibraryReferences Gets all libraries which are referenced by this CAEX object.
(Defined by CAEXBasicObjectExtensions)
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 MethodAutomationMLEdition Gets the AutomationML edition of this caex object. The AutomationML edition is extracted from the AutomationML filename, if it is coded in the name as defined in the library development guide. If no edition is defined in the filename, the AutomationML version string is provided as it is found in the AutomationML document.
(Defined by CAEXBasicObjectExtensions)
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 MethodcloneCopy(Boolean, Boolean, Boolean)
(Defined by AMLEngineAdapter)
Public Extension MethodCloneNode Clones the node.
(Defined by AMLEngineAdapter)
Public Extension MethodConsistencyCheck_ClassReference Check if the given classPath is a valid path to an existent class in the AML file.
(Defined by AMLEngineAdapter)
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 MethodDescendants Finds all descendants of the provided CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodDescendants Finds the descendants of the provided CAEX object which are of the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodDescendantsT Finds the descendants of the provided CAEX object which are of the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodDescendantsT Finds the descendants of the provided CAEX object which are of the given type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodExternalInterfaces Enumeration Method for direct Children of Type InterfaceClassType
(Defined by AMLEngineAdapter)
Public Extension MethodFindCaexObjectFromIdT Finds the CAEX object with the specified id and the specified Type.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodfindExternalInterface Searches for an ExternalInterface in this InternalElement
(Defined by AMLEngineAdapter)
Public Extension MethodfindInternalElement Resolve a reference to an InternalElement and return the referenced element if found.
(Defined by AMLEngineAdapter)
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 MethodGetExternalInterfaces Gets the external interfaces.
(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 MethodgetReferencedClass Getting the XML Node for a class path.
(Defined by AMLEngineAdapter)
Public Extension MethodgetReferencedGUID Parsing a string of form GUID:Interface and returning the GUID
(Defined by AMLEngineAdapter)
Public Extension MethodgetReferencedInterfaceClass Getting a referenced InterfaceClass. Use FindFastByPath for speed optimizations.
(Defined by AMLEngineAdapter)
Public Extension MethodgetReferencedInterfaceName Getting the name of the referenced Interface.
(Defined by AMLEngineAdapter)
Public Extension MethodCode exampleHasInterfaceClassReference Determines whether an object with ExternalInterfaces has an associated reference to the specified InterfaceClass. If inheritance relations between InterfaceClasses should be regarded, the optional parameter 'regardInheritance' should be set. In this case the specified InterfaceClass is either identical to a referenced InterfaceClass or a referenced InterfaceClass is derived from the specified InterfaceClass.
(Defined by ObjectWithExternalInterface)
Public Extension MethodCode exampleHasInterfaceClassReference Determines whether this Object with ExternalInterfaces has an associated InterfaceClass reference with the specified CAEX path interface reference. If inheritance relations between interface classes should be regarded, the optional parameter 'regardInheritance' should be set. In this case the specified InterfaceClass is either identical to a referenced InterfaceClass or a referenced InterfaceClass is derived from the specified InterfaceClass.
(Defined by ObjectWithExternalInterface)
Public Extension MethodHasNewVersion Determines, if this caex object has a related newer version
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodHasOldVersion Determines, if this caex object has a related older version
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodInsert_Attribute Inserts an Attribute object in the Attribute collection of the objectWithAttributes.
(Defined by SystemUnitClassTypeExtensions)
Public Extension MethodInsert_Element Inserting an element of base type TypeBase to this object. The Element is inserted at the first Element of any existing Elements of the same Type if nothing else is explicit defined.
(Defined by AMLEngineAdapter)
Public Extension MethodInsert_ExternalInterface Inserting an ExternalInterface to the ExternalInterface-Collection of the objectWithExternalInterface. The Element is inserted at the first Element of any existing ExternalInterfaces if no other position is defined.
(Defined by SystemUnitClassTypeExtensions)
Public Extension MethodInsert_NewInstance Inserting a new class instance to this object. This method can be overridden in derived classes. The Instance is inserted as the first instance of any other element with the same type if nothing else is explicit defined.
(Defined by AMLEngineAdapter)
Public Extension MethodInsert_TypeBaseElementInsert(CAEXWrapper, Boolean)
(Defined by AMLEngineAdapter)
Public Extension MethodInterfaceClassReferences All external Interfaces of this Object with ExternalInterfaces with an associated InterfaceClass reference with the specified CAEX path interface reference. If inheritance relations between interface classes should be regarded, the optional parameter 'regardInheritance' should be set. In this case the specified InterfaceClass is either identical to a referenced InterfaceClass or a referenced InterfaceClass is derived from the specified InterfaceClass.
(Defined by ObjectWithExternalInterface)
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 MethodIsAutomationMLBaseRole Determines whether the specified role reference defines an inheritance relation from the AutomationMLBaseRole RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsDerivedFromRoleClass Determines whether the specified role reference defines an inheritance relation from the role, uniquely identifiable by the given role class path. The role class path may contain an alias.
(Defined by InheritanceExtensions)
Public Extension MethodIsFacet Determines whether the specified role reference defines an inheritance relation from the Facet RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsFrame Determines whether the specified role reference defines an inheritance relation from the Frame RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsGroup Determines whether the specified role reference defines an inheritance relation from the Group RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsInterlockingSourceGroup Determines whether the specified role reference defines an inheritance relation from the InterlockingSourceGroup RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsInterlockingTargetGroup Determines whether the specified role reference defines an inheritance relation from the InterlockingTargetGroup RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsLogicObject Determines whether the specified role reference defines an inheritance relation from the LogicObject RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsPort Determines whether the specified role reference defines an inheritance relation from the Port RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsProcess Determines whether the specified role reference defines an inheritance relation from the Process RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsProcessStructure Determines whether the specified role reference defines an inheritance relation from the ProcessStructure RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsProduct Determines whether the specified role reference defines an inheritance relation from the Product RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsProductStructure Determines whether the specified role reference defines an inheritance relation from the ProductStructure RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsPropertySet Determines whether the specified role reference defines an inheritance relation from the PropertySet RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsResource Determines whether the specified role reference defines an inheritance relation from the Resource RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsResourceStructure Determines whether the specified role reference defines an inheritance relation from the ResourceStructure RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodIsStructure Determines whether the specified role reference defines an inheritance relation from the Structure RoleClass
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodLibrary Gets the Library which contains this CAEX object.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodMakeAutomationMLBaseRole Makes the AutomationML base role.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeFacet Makes the facet.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeGroup Makes the group.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakePort Makes the port.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeProcess Makes the process.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeProcessStructure Makes the process structure.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeProduct Makes the Product.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeProductStructure Makes the product structure.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakePropertySet Makes the property set.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeResource Makes the resource.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeResourceStructure Makes the resource structure.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodMakeStructure Makes the structure.
(Defined by AutomationMLBaseRoleClassLib)
Public Extension MethodName Get the Name of the specified object.
(Defined by AMLEngineAdapter)
Public Extension MethodName Gets a names for the specified CAEX wrapper object. If the specified object is a CAEXObject, the Name is returned; otherwise the TagName of the CAEX item.
(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_Description Adds an new Description node to this object if it doesn't exists.
(Defined by CAEXBasicObjectExtensions)
Public Extension MethodNew_ExternalInterface Adding a new ExternalInterface instance to the ExternalInterface-Collection of the objectWithExternalInterface. The New ExternalInterface is inserted as the first ExternalInterface of any existing Interfaces if nothing else is explicit defined.
(Defined by SystemUnitClassTypeExtensions)
Public Extension MethodNew_ExternalInterface Adding a new ExternalInterface instance to the ExternalInterface-Collection of the objectWithExternalInterface referencing a specific InterfaceClass. The New ExternalInterface is inserted as the first ExternalInterface of any existing Interfaces if nothing else is explicit defined. The provided interfaceClassPath is set as the RefBaseClassPath value.
(Defined by SystemUnitClassTypeExtensions)
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 MethodOfInterfaceClass Gets all ExternalInterface objects from the specified objectWithExternalInterface, which are derived from an InterfaceClass, identified with the given interfaceClassPath.
(Defined by ExternalInterfaceTypeExtensions)
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