 | AttributeNameMappingTypeRoleClassMappingElements Method |
Gets the collection of possible mapping identifiers for this AttributeNameMappingType for elements of
the mapped RoleClass. The Collection contains all attributes (including inherited attributes) of the
RoleClass and also the attributes of the ExternalInterfaces (including inherited external interfaces) of
the RoleClass. The Attribute Identifiers are the unique CAEXPath's of the attributes relative to the
RoleClass.
Namespace: Aml.Engine.CAEXAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic override IEnumerable<(AttributeType CaexObject, string MappingIdentifier)> RoleClassMappingElements(
bool includeDuplicates = false
)
Public Overrides Function RoleClassMappingElements (
Optional includeDuplicates As Boolean = false
) As IEnumerable(Of (CaexObject As AttributeType, MappingIdentifier As String))
public:
virtual IEnumerable<ValueTuple<AttributeType^, String^>>^ RoleClassMappingElements(
bool includeDuplicates = false
) override
Parameters
- includeDuplicates Boolean (Optional)
[Missing <param name="includeDuplicates"/> documentation for "M:Aml.Engine.CAEX.AttributeNameMappingType.RoleClassMappingElements(System.Boolean)"]
Field Value
IEnumerableValueTupleAttributeType,
String
The possible mapping identifiers to map Attributes of the RoleClass and its ExternalInterface objects.
Return Value
IEnumerableValueTupleAttributeType,
String[Missing <returns> documentation for "M:Aml.Engine.CAEX.AttributeNameMappingType.RoleClassMappingElements(System.Boolean)"]
Remarks
The MultipleRole Concept in AutomationML 2.0 based on CAEX 2.15 allows the definition of Mappings to
SupportedRoleClass
objects. These Elements are only included in this collection, if a qualified element has been already assigned to
the RoleRequirements object. To get the possible qualified RoleClass Attributes, which are not already
assigned to the RoleRequirements object, the method
UnAssignedQualifiedRoleClassAttributesOfMultipleRoles
can be used.
If an instance supports multiple roles and the requirements to the different roles shall be stored at the
instance,
this shall be done using the CAEX element "RoleRequirements" whereas the corresponding attributes or interfaces
are
directly assigned including the role name, a separator string "." and the attribute or interface name.
See Also