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 <p>Java class for AssignmentType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="AssignmentType"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="documentation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="subtype" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}extension" minOccurs="0"/&gt; &lt;element name="lifecycleState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="metadata" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MetadataType" minOccurs="0"/&gt; &lt;choice&gt; &lt;element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/&gt; &lt;element name="construction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ConstructionType" minOccurs="0"/&gt; &lt;element name="personaConstruction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PersonaConstructionType" minOccurs="0"/&gt; &lt;element name="focusMappings" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MappingsType" minOccurs="0"/&gt; &lt;element name="policyRule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyRuleType" minOccurs="0"/&gt; &lt;/choice&gt; &lt;element name="activation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ActivationType" minOccurs="0"/&gt; &lt;element name="order" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/&gt; &lt;element name="orderConstraint" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OrderConstraintsType" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="limitTargetContent" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentSelectorType" minOccurs="0"/&gt; &lt;element name="limitOtherPrivileges" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OtherPrivilegesLimitationType" minOccurs="0"/&gt; &lt;element name="focusType" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/&gt; &lt;element name="tenantRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/&gt; &lt;element name="orgRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/&gt; &lt;element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MappingType" minOccurs="0"/&gt; &lt;element name="policySituation" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="triggeredPolicyRule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}EvaluatedPolicyRuleType" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="policyException" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyExceptionType" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="assignmentRelation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentRelationType" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form