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, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

public class RoleType
extends ExtensibleObjectType
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_ASSIGNMENT
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension, F_EXTENSION
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, F_DESCRIPTION, F_FETCH_RESULT, F_NAME, F_VERSION, fetchResult, name, oid, version
 
Constructor Summary
RoleType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 java.util.List<AssignmentType> getAssignment()
          Gets the value of the assignment property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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, getFetchResult, getName, getOid, getVersion, setDescription, setFetchResult, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

assignment

protected java.util.List<AssignmentType> assignment

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_ASSIGNMENT

public static final javax.xml.namespace.QName F_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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class ExtensibleObjectType

hashCode

public int hashCode()
Overrides:
hashCode in class ExtensibleObjectType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class ExtensibleObjectType

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class ExtensibleObjectType


Copyright © 2012 evolveum. All Rights Reserved.