RoleSet ReferenceType Mismatch
The InstanceDeclaration “\<RoleName\>” in ObjectType “RoleSetType” is bind through “HasComponent” ReferenceType
Its InstanceMember “Server.ServerCapabilities.RoleSet.Supervisor” in Object “Server” is bind though “OrganizedBy”
This does not fulfill the Specs part 3, chapter 7.11
“…
The SourceNode of References of this type shall be an Object or a View. If it is an Object then it should be an Object of the ObjectType FolderType or one of its subtypes (see 5.5.3).
…”
This is a ReferenceType mismatch, because the “RoleSetType” is not a subtype of “FolderType”.
Standard NodeSet2.xml:
TypeDefinition and InstanceMember “Server.ServerCapabilities.RoleSet” in object “Server”
TypeDefinition:
<UAObjectType NodeId=”i=15607” BrowseName=”RoleSetType”>
<DisplayName>RoleSetType</DisplayName>
<Description>A container for the roles supported by the server.</Description>
<References>
<Reference ReferenceType=”HasComponent”>i=15608</Reference> // Target is <RoleName>
<Reference ReferenceType=”HasComponent”>i=15997</Reference>
<Reference ReferenceType=”HasComponent”>i=16000</Reference>
<Reference ReferenceType=”HasSubtype” IsForward=”false”>i=58</Reference>
</References>
</UAObjectType>
<UAObject NodeId=”i=15608″ BrowseName=”<RoleName>” SymbolicName=”RoleName_Placeholder” ParentNodeId=”i=15607“>
<DisplayName><RoleName></DisplayName>
<References>
<Reference ReferenceType=”HasProperty”>i=16162</Reference>
<Reference ReferenceType=”HasTypeDefinition”>i=15620</Reference>
<Reference ReferenceType=”HasModellingRule”>i=11508</Reference> // Target is OptionalPlaceholder
<Reference ReferenceType=”HasComponent” IsForward=”false”>i=15607</Reference>
</References>
</UAObject>
InstanceMember “Server.ServerCapabilities.RoleSet” in object “Server”
<UAObject NodeId=”i=15606” BrowseName=”RoleSet” ParentNodeId=”i=2268″>
<DisplayName>RoleSet</DisplayName>
<Description>Describes the roles supported by the server.</Description>
<References>
<Reference ReferenceType=”HasComponent”>i=16301</Reference>
<Reference ReferenceType=”HasComponent”>i=16304</Reference>
<Reference ReferenceType=”HasTypeDefinition”>i=15607</Reference>
<Reference ReferenceType=”HasComponent” IsForward=”false”>i=2268</Reference>
</References>
</UAObject>
<UAObject NodeId=”i=15692″ BrowseName=”WellKnownRole_Supervisor”>
<DisplayName>Supervisor</DisplayName>
<Description>The Role is allowed to browse, read live data, read and historical data/events, call methods or subscribe to data/events.</Description>
<References>
<Reference ReferenceType=”HasProperty”>i=16247</Reference>
…
<Reference ReferenceType=”HasComponent”>i=16256</Reference>
<Reference ReferenceType=”Organizes” IsForward=”false”>i=15606</Reference>
<Reference ReferenceType=”HasTypeDefinition”>i=15620</Reference>
</References>
</UAObject>
1 Guest(s)