Class AssignmentType

  • All Implemented Interfaces:
    Containerable, DebugDumpable, Serializable, Cloneable

    public class AssignmentType
    extends Object
    implements Serializable, Cloneable, Containerable
    Generic assignments of one object to another object. This will usually be assignment of a role to a user, assignment of an organizational unit, team or whatever. It may also be used to assign role to another role, creating a role hierarchy. Assignment is an abstract concept. It can be anything that gives the "receptor" object additional access rights, privileges, capabilities or similar ability or right. But it may also constraint the object with policy, e.g. to implement separation of duties. Roles, organizations and privileges in IDM system are examples of assignments. The assignment may target either existing IDM object (such as a role) or abstract resource account that may or may not exist. In case of resource objects it is constrained to accounts, as accounts are the only resource objects that can be assigned to a user. Other resource objects (entitlements) can be assigned to accounts, but not to users. TODO: constraints

    Java class for AssignmentType complex type.

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

     <complexType name="AssignmentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="documentation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="subtype" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}extension" minOccurs="0"/>
             <element name="lifecycleState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="metadata" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MetadataType" minOccurs="0"/>
             <choice>
               <element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/>
               <element name="construction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ConstructionType" minOccurs="0"/>
               <element name="personaConstruction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PersonaConstructionType" minOccurs="0"/>
               <element name="focusMappings" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MappingsType" minOccurs="0"/>
               <element name="policyRule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyRuleType" minOccurs="0"/>
             </choice>
             <element name="activation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivationType" minOccurs="0"/>
             <element name="order" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="orderConstraint" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OrderConstraintsType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="limitTargetContent" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentSelectorType" minOccurs="0"/>
             <element name="limitOtherPrivileges" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OtherPrivilegesLimitationType" minOccurs="0"/>
             <element name="focusType" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/>
             <element name="tenantRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/>
             <element name="orgRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/>
             <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MappingType" minOccurs="0"/>
             <element name="policySituation" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
             <element name="triggeredPolicyRule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}EvaluatedPolicyRuleType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="policyException" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyExceptionType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="assignmentRelation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentRelationType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form