com.evolveum.midpoint.xml.ns._public.common.common_1
Class RoleType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
      extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
          extended by com.evolveum.midpoint.xml.ns._public.common.common_1.RoleType
All Implemented Interfaces:
java.io.Serializable

public class RoleType
extends ExtensibleObjectType
implements java.io.Serializable

A role that implies assignments. The role may "grant" accounts on resources, attributes and entitlements for such accounts. The role can also assign organizational units, other roles or various IDM objects that can be assigned directly to user. Role is in fact just a named set of assignments. The speicific roles are also called technical role or IT role, however this definition is an abstract definition of concept that can span wide area of intepretation. This is the basic building blog of role-based access contol (RBAC) in the provisioning system. It defines what rights (e.g. accounts) should be given to user, how they should look like (attributes) and what groups or native roles to assign to them (entitlements). This role definition is quite simplistic now. It does not support rule-derived values or any other advanced dynamics. Yet. It will be extended later in the development.

Java class for RoleType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="RoleType">
   <complexContent>
     <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExtensibleObjectType">
       <sequence>
         <element name="assignment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}AssignmentType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<AssignmentType> assignment
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, name, oid, version
 
Constructor Summary
RoleType()
           
 
Method Summary
 java.util.List<AssignmentType> getAssignment()
          Gets the value of the assignment property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
getExtension, setExtension
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

assignment

protected java.util.List<AssignmentType> assignment
Constructor Detail

RoleType

public RoleType()
Method Detail

getAssignment

public java.util.List<AssignmentType> getAssignment()
Gets the value of the assignment property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the assignment property.

For example, to add a new item, do as follows:

    getAssignment().add(newItem);
 

Objects of the following type(s) are allowed in the list AssignmentType


toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class ExtensibleObjectType


Copyright © 2011 evolveum. All Rights Reserved.