org.openliberty.arisid.schema
Class RoleRef
java.lang.Object
org.openliberty.arisid.schema.schemaRef
org.openliberty.arisid.schema.RoleRef
public class RoleRef
- extends schemaRef
A class used to define references to roles defined in CARML DataDefs
declaration and accessible via the SchemaManager
.
This class tracks optionality, policy, and use description in connection with
a reference to a RoleDef
object.
Constructor Summary |
RoleRef(org.w3c.dom.Node node)
|
RoleRef(java.lang.String roleRef,
java.lang.String policyRef,
boolean optional,
java.lang.String description)
Constructor to define a reference to an role defined in the
SchemaManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REF_ELEMENT
public static final java.lang.String REF_ELEMENT
- See Also:
- Constant Field Values
RoleRef
public RoleRef(org.w3c.dom.Node node)
RoleRef
public RoleRef(java.lang.String roleRef,
java.lang.String policyRef,
boolean optional,
java.lang.String description)
- Constructor to define a reference to an role defined in the
SchemaManager
- Parameters:
roleRef
- A String identifier corresponding to the value returned by
baseAttribute.getNameId()
.policyRef
- A String reference to a policy defined in the SchemaManageroptional
- A boolean indicating whether the role is optionaldescription
- A description of the use of the role or null.
appendChildren
public void appendChildren(org.w3c.dom.Node parent)
- Overrides:
appendChildren
in class schemaRef
toString
public java.lang.String toString()
- Overrides:
toString
in class schemaRef