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

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.AbstractRoleType
All Implemented Interfaces:
Containerable, Objectable, Serializable, Cloneable
Direct Known Subclasses:
OrgType, RoleType

public abstract class AbstractRoleType
extends ObjectType
implements Serializable, Cloneable

Abstract class that conins the "essence" of a role. This is kind of "Roleable" interface when speaking in Java terms. A role 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. This is the basic building block of role-based access control (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).

Java class for AbstractRoleType complex type.

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

 <complexType name="AbstractRoleType">
   <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="requestable" type="{http://www.w3.org/2001/XMLSchema}boolean" 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="approverExpression" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ExpressionType" 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"/>
         <element name="automaticallyApproved" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ExpressionType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<ObjectReferenceType> approverRef
           
static QName COMPLEX_TYPE
           
static QName F_APPROVAL_PROCESS
           
static QName F_APPROVAL_SCHEMA
           
static QName F_APPROVER_EXPRESSION
           
static QName F_APPROVER_REF
           
static QName F_ASSIGNMENT
           
static QName F_AUTOMATICALLY_APPROVED
           
static QName F_EXCLUSION
           
static QName F_REQUESTABLE
           
 
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
AbstractRoleType()
           
 
Method Summary
 AbstractRoleType clone()
           
 String getApprovalProcess()
           
 ApprovalSchemaType getApprovalSchema()
           
 List<ExpressionType> getApproverExpression()
           
 List<ObjectReferenceType> getApproverRef()
           
 List<AssignmentType> getAssignment()
           
 ExpressionType getAutomaticallyApproved()
           
 List<ExclusionType> getExclusion()
           
 Boolean isRequestable()
           
 void setApprovalProcess(String value)
           
 void setApprovalSchema(ApprovalSchemaType value)
           
 void setAutomaticallyApproved(ExpressionType value)
           
 void setRequestable(Boolean 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 List<ObjectReferenceType> approverRef

COMPLEX_TYPE

public static final QName COMPLEX_TYPE

F_ASSIGNMENT

public static final QName F_ASSIGNMENT

F_REQUESTABLE

public static final QName F_REQUESTABLE

F_EXCLUSION

public static final QName F_EXCLUSION

F_APPROVER_REF

public static final QName F_APPROVER_REF

F_APPROVER_EXPRESSION

public static final QName F_APPROVER_EXPRESSION

F_APPROVAL_SCHEMA

public static final QName F_APPROVAL_SCHEMA

F_APPROVAL_PROCESS

public static final QName F_APPROVAL_PROCESS

F_AUTOMATICALLY_APPROVED

public static final QName F_AUTOMATICALLY_APPROVED
Constructor Detail

AbstractRoleType

public AbstractRoleType()
Method Detail

getAssignment

public List<AssignmentType> getAssignment()

isRequestable

public Boolean isRequestable()

setRequestable

public void setRequestable(Boolean value)

getExclusion

public List<ExclusionType> getExclusion()

getApproverRef

public List<ObjectReferenceType> getApproverRef()

getApproverExpression

public List<ExpressionType> getApproverExpression()

getApprovalSchema

public ApprovalSchemaType getApprovalSchema()

setApprovalSchema

public void setApprovalSchema(ApprovalSchemaType value)

getApprovalProcess

public String getApprovalProcess()

setApprovalProcess

public void setApprovalProcess(String value)

getAutomaticallyApproved

public ExpressionType getAutomaticallyApproved()

setAutomaticallyApproved

public void setAutomaticallyApproved(ExpressionType value)

clone

public AbstractRoleType clone()
Overrides:
clone in class ObjectType


Copyright © 2013 evolveum. All Rights Reserved.