com.evolveum.midpoint.xml.ns._public.common.common_2a
Class AssignmentType
java.lang.Object
com.evolveum.midpoint.xml.ns._public.common.common_2a.AssignmentType
- All Implemented Interfaces:
- Containerable, java.io.Serializable, java.lang.Cloneable
public class AssignmentType
- extends java.lang.Object
- implements java.io.Serializable, java.lang.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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}description" minOccurs="0"/>
<element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}extension" minOccurs="0"/>
<choice>
<element name="target" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectType" minOccurs="0"/>
<element name="targetRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ObjectReferenceType" minOccurs="0"/>
<element name="accountConstruction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}AccountConstructionType" minOccurs="0"/>
</choice>
<element name="activation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-2a}ActivationType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
COMPLEX_TYPE
public static final javax.xml.namespace.QName COMPLEX_TYPE
F_DESCRIPTION
public static final javax.xml.namespace.QName F_DESCRIPTION
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
AssignmentType
public AssignmentType()
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interface Containerable
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
- Description copied from interface:
Containerable
- Setup value to the containerable representation. This is used to after (empty) containerable is created to
initialize it with a correct prism container value.
Note: This method DOES NOT change the container value parent.
- Specified by:
setupContainerValue
in interface Containerable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String value)
getExtension
public ExtensionType getExtension()
setExtension
public void setExtension(ExtensionType value)
getTarget
public ObjectType getTarget()
setTarget
public void setTarget(ObjectType value)
getTargetRef
public ObjectReferenceType getTargetRef()
setTargetRef
public void setTargetRef(ObjectReferenceType value)
getAccountConstruction
public AccountConstructionType getAccountConstruction()
setAccountConstruction
public void setAccountConstruction(AccountConstructionType value)
getActivation
public ActivationType getActivation()
setActivation
public void setActivation(ActivationType value)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String value)
clone
public AssignmentType clone()
- Overrides:
clone
in class java.lang.Object
Copyright © 2012 evolveum. All Rights Reserved.