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

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.ObjectType
      extended by com.evolveum.midpoint.xml.ns._public.common.common_2a.RoleType
All Implemented Interfaces:
Containerable, Objectable, java.io.Serializable, java.lang.Cloneable

public class RoleType
extends ObjectType
implements java.io.Serializable, java.lang.Cloneable

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-2a}ObjectType">
       <sequence>
         <element name="assignment" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}AssignmentType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="exclusion" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ExclusionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="approverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="approvalSchema" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ApprovalSchemaType" minOccurs="0"/>
         <element name="approvalProcess" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<ObjectReferenceType> approverRef
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_APPROVAL_PROCESS
           
static javax.xml.namespace.QName F_APPROVAL_SCHEMA
           
static javax.xml.namespace.QName F_APPROVER_REF
           
static javax.xml.namespace.QName F_ASSIGNMENT
           
static javax.xml.namespace.QName F_EXCLUSION
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_2a.ObjectType
F_DESCRIPTION, F_EXTENSION, F_FETCH_RESULT, F_NAME, F_PARENT_ORG, F_PARENT_ORG_REF, parentOrgRef
 
Constructor Summary
RoleType()
           
 
Method Summary
 RoleType clone()
           
 java.lang.String getApprovalProcess()
           
 ApprovalSchemaType getApprovalSchema()
           
 java.util.List<ObjectReferenceType> getApproverRef()
           
 java.util.List<AssignmentType> getAssignment()
           
 java.util.List<ExclusionType> getExclusion()
           
 void setApprovalProcess(java.lang.String value)
           
 void setApprovalSchema(ApprovalSchemaType value)
           
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_2a.ObjectType
asPrismContainer, asPrismContainerValue, asPrismObject, equals, getDescription, getExtension, getFetchResult, getName, getOid, getParentOrg, getParentOrgRef, getVersion, hashCode, setDescription, setExtension, setFetchResult, setName, setOid, setupContainer, setupContainerValue, setVersion, toDebugName, toDebugType, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

approverRef

protected java.util.List<ObjectReferenceType> approverRef

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_ASSIGNMENT

public static final javax.xml.namespace.QName F_ASSIGNMENT

F_EXCLUSION

public static final javax.xml.namespace.QName F_EXCLUSION

F_APPROVER_REF

public static final javax.xml.namespace.QName F_APPROVER_REF

F_APPROVAL_SCHEMA

public static final javax.xml.namespace.QName F_APPROVAL_SCHEMA

F_APPROVAL_PROCESS

public static final javax.xml.namespace.QName F_APPROVAL_PROCESS
Constructor Detail

RoleType

public RoleType()
Method Detail

getAssignment

public java.util.List<AssignmentType> getAssignment()

getExclusion

public java.util.List<ExclusionType> getExclusion()

getApproverRef

public java.util.List<ObjectReferenceType> getApproverRef()

getApprovalSchema

public ApprovalSchemaType getApprovalSchema()

setApprovalSchema

public void setApprovalSchema(ApprovalSchemaType value)

getApprovalProcess

public java.lang.String getApprovalProcess()

setApprovalProcess

public void setApprovalProcess(java.lang.String value)

clone

public RoleType clone()
Overrides:
clone in class ObjectType


Copyright © 2012 evolveum. All Rights Reserved.