com.evolveum.midpoint.xml.ns._public.common.common_1
Class AssignmentType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.AssignmentType
All Implemented Interfaces:
java.io.Serializable

public class AssignmentType
extends java.lang.Object
implements java.io.Serializable

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 assing 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 impelemt separation of duties. Roles, organizations and privileges in IDM system are examples of assignments. The assignemtn 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 accoutns 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>
         <choice>
           <element name="target" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectType"/>
           <element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectReferenceType"/>
           <element name="accountConstruction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}AccountConstructionType"/>
         </choice>
         <element name="activation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ActivationType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  AccountConstructionType accountConstruction
           
protected  ActivationType activation
           
protected  ObjectType target
           
protected  ObjectReferenceType targetRef
           
 
Constructor Summary
AssignmentType()
           
 
Method Summary
 AccountConstructionType getAccountConstruction()
          Gets the value of the accountConstruction property.
 ActivationType getActivation()
          Gets the value of the activation property.
 ObjectType getTarget()
          Gets the value of the target property.
 ObjectReferenceType getTargetRef()
          Gets the value of the targetRef property.
 void setAccountConstruction(AccountConstructionType value)
          Sets the value of the accountConstruction property.
 void setActivation(ActivationType value)
          Sets the value of the activation property.
 void setTarget(ObjectType value)
          Sets the value of the target property.
 void setTargetRef(ObjectReferenceType value)
          Sets the value of the targetRef property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

target

protected ObjectType target

targetRef

protected ObjectReferenceType targetRef

accountConstruction

protected AccountConstructionType accountConstruction

activation

protected ActivationType activation
Constructor Detail

AssignmentType

public AssignmentType()
Method Detail

getTarget

public ObjectType getTarget()
Gets the value of the target property.

Returns:
possible object is ObjectType

setTarget

public void setTarget(ObjectType value)
Sets the value of the target property.

Parameters:
value - allowed object is ObjectType

getTargetRef

public ObjectReferenceType getTargetRef()
Gets the value of the targetRef property.

Returns:
possible object is ObjectReferenceType

setTargetRef

public void setTargetRef(ObjectReferenceType value)
Sets the value of the targetRef property.

Parameters:
value - allowed object is ObjectReferenceType

getAccountConstruction

public AccountConstructionType getAccountConstruction()
Gets the value of the accountConstruction property.

Returns:
possible object is AccountConstructionType

setAccountConstruction

public void setAccountConstruction(AccountConstructionType value)
Sets the value of the accountConstruction property.

Parameters:
value - allowed object is AccountConstructionType

getActivation

public ActivationType getActivation()
Gets the value of the activation property.

Returns:
possible object is ActivationType

setActivation

public void setActivation(ActivationType value)
Sets the value of the activation property.

Parameters:
value - allowed object is ActivationType

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 java.lang.Object


Copyright © 2011 evolveum. All Rights Reserved.