Class AssignmentType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class AssignmentType
extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final Producer<AssignmentType>
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivation
(ActivationType value) clone()
condition
(MappingType value) construction
(ConstructionType value) description
(String value) documentation
(String value) <X> X
end()
boolean
extension
(ExtensionType value) focusMappings
(MappingsType value) getOrder()
identifier
(String value) lifecycleState
(String value) metadata
(MetadataType value) orgRef
(ObjectReferenceType value) policyRule
(PolicyRuleType value) policySituation
(String value) void
setActivation
(ActivationType value) void
setCondition
(MappingType value) void
setConstruction
(ConstructionType value) void
setDescription
(String value) void
setDocumentation
(String value) void
setExtension
(ExtensionType value) void
setFocusMappings
(MappingsType value) void
setFocusType
(QName value) void
setIdentifier
(String value) void
setLifecycleState
(String value) void
void
void
setMetadata
(MetadataType value) void
void
setOrgRef
(ObjectReferenceType value) void
void
setPolicyRule
(PolicyRuleType value) void
setTargetRef
(ObjectReferenceType value) void
setTenantRef
(ObjectReferenceType value) targetRef
(ObjectReferenceType value) tenantRef
(ObjectReferenceType value) Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_IDENTIFIER
-
F_DESCRIPTION
-
F_DOCUMENTATION
-
F_SUBTYPE
-
F_EXTENSION
-
F_LIFECYCLE_STATE
-
F_METADATA
-
F_TARGET_REF
-
F_CONSTRUCTION
-
F_PERSONA_CONSTRUCTION
-
F_FOCUS_MAPPINGS
-
F_POLICY_RULE
-
F_ACTIVATION
-
F_ORDER
-
F_ORDER_CONSTRAINT
-
F_LIMIT_TARGET_CONTENT
-
F_LIMIT_OTHER_PRIVILEGES
-
F_FOCUS_TYPE
-
F_TENANT_REF
-
F_ORG_REF
-
F_CONDITION
-
F_POLICY_SITUATION
-
F_TRIGGERED_POLICY_RULE
-
F_POLICY_EXCEPTION
-
F_ASSIGNMENT_RELATION
-
FACTORY
-
-
Constructor Details
-
AssignmentType
public AssignmentType() -
AssignmentType
Deprecated.
-
-
Method Details
-
getIdentifier
-
setIdentifier
-
getDescription
-
setDescription
-
getDocumentation
-
setDocumentation
-
getSubtype
-
getExtension
-
setExtension
-
getLifecycleState
-
setLifecycleState
-
getMetadata
-
setMetadata
-
getTargetRef
-
setTargetRef
-
getConstruction
-
setConstruction
-
getPersonaConstruction
-
setPersonaConstruction
-
getFocusMappings
-
setFocusMappings
-
getPolicyRule
-
setPolicyRule
-
getActivation
-
setActivation
-
getOrder
-
setOrder
-
getOrderConstraint
-
createOrderConstraintList
-
getLimitTargetContent
-
setLimitTargetContent
-
getLimitOtherPrivileges
-
setLimitOtherPrivileges
-
getFocusType
-
setFocusType
-
getTenantRef
-
setTenantRef
-
getOrgRef
-
setOrgRef
-
getCondition
-
setCondition
-
getPolicySituation
-
getTriggeredPolicyRule
-
getPolicyException
-
createPolicyExceptionList
-
getAssignmentRelation
-
createAssignmentRelationList
-
equals
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
identifier
-
description
-
documentation
-
subtype
-
extension
-
beginExtension
-
lifecycleState
-
metadata
-
beginMetadata
-
targetRef
-
targetRef
-
targetRef
-
beginTargetRef
-
construction
-
beginConstruction
-
personaConstruction
-
beginPersonaConstruction
-
focusMappings
-
beginFocusMappings
-
policyRule
-
beginPolicyRule
-
activation
-
beginActivation
-
order
-
orderConstraint
-
beginOrderConstraint
-
limitTargetContent
-
beginLimitTargetContent
-
limitOtherPrivileges
-
beginLimitOtherPrivileges
-
focusType
-
tenantRef
-
tenantRef
-
tenantRef
-
beginTenantRef
-
orgRef
-
orgRef
-
orgRef
-
beginOrgRef
-
condition
-
beginCondition
-
policySituation
-
triggeredPolicyRule
-
beginTriggeredPolicyRule
-
policyException
-
beginPolicyException
-
assignmentRelation
-
beginAssignmentRelation
-
end
public <X> X end() -
clone
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-