element <roleTemplate> (local)
Namespace:
Type:
anonymous complexType
Content:
complex, 1 attribute, 2 elements
Defined:
locally within roleMapType complexType in hsinfra.xsd; see XML source
Includes:
definitions of 1 attribute, 2 elements
XML Representation Summary
<roleTemplate
   
 = 
xsd:string
   
>
   
Content: 
</roleTemplate>
Content model elements (2):
fullDescription (in roleTemplate), method (in roleTemplate)
Included in content model of elements (2):
roleMap, roleMap (type roleMapType)
Annotation
This element encapsulates the definition of a role. The attribute set for this element includes the document class that this <b>roleTemplate</b> refers to, the name of the <b>roleTemplate</b>, and the priority of the <b>roleTemplate</b>.
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="roleTemplate">
<xsd:annotation>
<xsd:documentation>
This element encapsulates the definition of a role. The attribute set for
this element includes the document class that this
<b>roleTemplate</b>
refers to,
the name of the
<b>roleTemplate</b>
, and the priority of the
<b>roleTemplate</b>
.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="fullDescription" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains a description of this
<b>roleTemplate</b>
that specifies the capabilities a caller will have
when accessing information through this role.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="method">
<xsd:annotation>
<xsd:documentation>
This element specifies the methods available within this
<b>roleTemplate</b>
by name
and by scope. When a subject maps to a
<b>roleTemplate</b>
, the method
in the request must match one of these elements for the message to continue
to flow. If the method exists, the data available to the method is a function
of the scope referenced by this method, combined with an optional
scope referenced by the role defined in the
<b>roleList</b>
.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="name" type="string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the name of the method.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scopeRef" type="idRefType" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute specifies the scope within this document
that is in effect for this method.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the name of the role.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<!--
<xsd:attribute
name="priority"
type="xsd:int"
use="required"
>
<xsd:annotation>
<xsd:documentation>
This element specifies the priority of the <b>roleTemplate</b> used to select that
actual <b>roleTemplate</b> when the role evaluation determines that the subject maps to multiple
<b>roleTemplates</b>.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
-->
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; 1/1)
name
Type:
Use:
required
Defined:
locally within (this) roleTemplate element
This element specifies the name of the role.
XML Source (see within schema source)
<xsd:attribute name="name" type="string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the name of the role.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
Content Element Detail (all declarations; 2/2)
fullDescription
Type:
localizableString, simple content
Defined:
locally within (this) roleTemplate element
This element contains a description of this <b>roleTemplate</b> that specifies the capabilities a caller will have when accessing information through this role.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="fullDescription" type="localizableString">
<xsd:annotation>
<xsd:documentation>
This element contains a description of this
<b>roleTemplate</b>
that specifies the capabilities a caller will have
when accessing information through this role.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

method
Type:
anonymous complexType, empty content
Defined:
locally within (this) roleTemplate element
This element specifies the methods available within this <b>roleTemplate</b> by name and by scope. When a subject maps to a <b>roleTemplate</b>, the method in the request must match one of these elements for the message to continue to flow. If the method exists, the data available to the method is a function of the scope referenced by this method, combined with an optional scope referenced by the role defined in the <b>roleList</b>.
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="method">
<xsd:annotation>
<xsd:documentation>
This element specifies the methods available within this
<b>roleTemplate</b>
by name
and by scope. When a subject maps to a
<b>roleTemplate</b>
, the method
in the request must match one of these elements for the message to continue
to flow. If the method exists, the data available to the method is a function
of the scope referenced by this method, combined with an optional
scope referenced by the role defined in the
<b>roleList</b>
.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="name" type="string" use="required">
<xsd:annotation>
<xsd:documentation>
This element specifies the name of the method.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scopeRef" type="idRefType" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute specifies the scope within this document
that is in effect for this method.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>