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

public class AssignmentType
extends java.lang.Object
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}extension" minOccurs="0"/>
         <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
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
protected  Extension extension
           
static javax.xml.namespace.QName F_ACCOUNT_CONSTRUCTION
           
static javax.xml.namespace.QName F_ACTIVATION
           
static javax.xml.namespace.QName F_EXTENSION
           
static javax.xml.namespace.QName F_TARGET
           
static javax.xml.namespace.QName F_TARGET_REF
           
protected  ObjectType target
           
protected  ObjectReferenceType targetRef
           
 
Constructor Summary
AssignmentType()
           
 
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)
           
 AccountConstructionType getAccountConstruction()
          Gets the value of the accountConstruction property.
 ActivationType getActivation()
          Gets the value of the activation property.
 Extension getExtension()
          The assignment extension used to add parameters to the assignment.
 ObjectType getTarget()
          Gets the value of the target property.
 ObjectReferenceType getTargetRef()
          Gets the value of the targetRef property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setAccountConstruction(AccountConstructionType value)
          Sets the value of the accountConstruction property.
 void setActivation(ActivationType value)
          Sets the value of the activation property.
 void setExtension(Extension value)
          Sets the value of the extension 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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

extension

protected Extension extension

target

protected ObjectType target

targetRef

protected ObjectReferenceType targetRef

accountConstruction

protected AccountConstructionType accountConstruction

activation

protected ActivationType activation

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_EXTENSION

public static final javax.xml.namespace.QName F_EXTENSION

F_TARGET

public static final javax.xml.namespace.QName F_TARGET

F_TARGET_REF

public static final javax.xml.namespace.QName F_TARGET_REF

F_ACCOUNT_CONSTRUCTION

public static final javax.xml.namespace.QName F_ACCOUNT_CONSTRUCTION

F_ACTIVATION

public static final javax.xml.namespace.QName F_ACTIVATION
Constructor Detail

AssignmentType

public AssignmentType()
Method Detail

getExtension

public Extension getExtension()
The assignment extension used to add parameters to the assignment.

Returns:
possible object is Extension

setExtension

public void setExtension(Extension value)
Sets the value of the extension property.

Parameters:
value - allowed object is Extension

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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

equals

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


Copyright © 2012 evolveum. All Rights Reserved.