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:
- Serialized Form
-
-
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
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ACTIVATION
static ItemName
F_ASSIGNMENT_RELATION
static ItemName
F_CONDITION
static ItemName
F_CONSTRUCTION
static ItemName
F_DESCRIPTION
static ItemName
F_DOCUMENTATION
static ItemName
F_EXTENSION
static ItemName
F_FOCUS_MAPPINGS
static ItemName
F_FOCUS_TYPE
static ItemName
F_LIFECYCLE_STATE
static ItemName
F_LIMIT_OTHER_PRIVILEGES
static ItemName
F_LIMIT_TARGET_CONTENT
static ItemName
F_METADATA
static ItemName
F_ORDER
static ItemName
F_ORDER_CONSTRAINT
static ItemName
F_ORG_REF
static ItemName
F_PERSONA_CONSTRUCTION
static ItemName
F_POLICY_EXCEPTION
static ItemName
F_POLICY_RULE
static ItemName
F_POLICY_SITUATION
static ItemName
F_SUBTYPE
static ItemName
F_TARGET_REF
static ItemName
F_TENANT_REF
static ItemName
F_TRIGGERED_POLICY_RULE
static Producer<AssignmentType>
FACTORY
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AssignmentType()
AssignmentType(PrismContext context)
Deprecated.
-
Method Summary
-
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 Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_SUBTYPE
public static final ItemName F_SUBTYPE
-
F_EXTENSION
public static final ItemName F_EXTENSION
-
F_LIFECYCLE_STATE
public static final ItemName F_LIFECYCLE_STATE
-
F_METADATA
public static final ItemName F_METADATA
-
F_TARGET_REF
public static final ItemName F_TARGET_REF
-
F_CONSTRUCTION
public static final ItemName F_CONSTRUCTION
-
F_PERSONA_CONSTRUCTION
public static final ItemName F_PERSONA_CONSTRUCTION
-
F_FOCUS_MAPPINGS
public static final ItemName F_FOCUS_MAPPINGS
-
F_POLICY_RULE
public static final ItemName F_POLICY_RULE
-
F_ACTIVATION
public static final ItemName F_ACTIVATION
-
F_ORDER
public static final ItemName F_ORDER
-
F_ORDER_CONSTRAINT
public static final ItemName F_ORDER_CONSTRAINT
-
F_LIMIT_TARGET_CONTENT
public static final ItemName F_LIMIT_TARGET_CONTENT
-
F_LIMIT_OTHER_PRIVILEGES
public static final ItemName F_LIMIT_OTHER_PRIVILEGES
-
F_FOCUS_TYPE
public static final ItemName F_FOCUS_TYPE
-
F_TENANT_REF
public static final ItemName F_TENANT_REF
-
F_ORG_REF
public static final ItemName F_ORG_REF
-
F_CONDITION
public static final ItemName F_CONDITION
-
F_POLICY_SITUATION
public static final ItemName F_POLICY_SITUATION
-
F_TRIGGERED_POLICY_RULE
public static final ItemName F_TRIGGERED_POLICY_RULE
-
F_POLICY_EXCEPTION
public static final ItemName F_POLICY_EXCEPTION
-
F_ASSIGNMENT_RELATION
public static final ItemName F_ASSIGNMENT_RELATION
-
FACTORY
public static final Producer<AssignmentType> FACTORY
-
-
Constructor Detail
-
AssignmentType
public AssignmentType()
-
AssignmentType
@Deprecated public AssignmentType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getExtension
public ExtensionType getExtension()
-
setExtension
public void setExtension(ExtensionType value)
-
getLifecycleState
public String getLifecycleState()
-
setLifecycleState
public void setLifecycleState(String value)
-
getMetadata
public MetadataType getMetadata()
-
setMetadata
public void setMetadata(MetadataType value)
-
getTargetRef
public ObjectReferenceType getTargetRef()
-
setTargetRef
public void setTargetRef(ObjectReferenceType value)
-
getConstruction
public ConstructionType getConstruction()
-
setConstruction
public void setConstruction(ConstructionType value)
-
getPersonaConstruction
public PersonaConstructionType getPersonaConstruction()
-
setPersonaConstruction
public void setPersonaConstruction(PersonaConstructionType value)
-
getFocusMappings
public MappingsType getFocusMappings()
-
setFocusMappings
public void setFocusMappings(MappingsType value)
-
getPolicyRule
public PolicyRuleType getPolicyRule()
-
setPolicyRule
public void setPolicyRule(PolicyRuleType value)
-
getActivation
public ActivationType getActivation()
-
setActivation
public void setActivation(ActivationType value)
-
getOrder
public Integer getOrder()
-
setOrder
public void setOrder(Integer value)
-
getOrderConstraint
public List<OrderConstraintsType> getOrderConstraint()
-
createOrderConstraintList
public List<OrderConstraintsType> createOrderConstraintList()
-
getLimitTargetContent
public AssignmentSelectorType getLimitTargetContent()
-
setLimitTargetContent
public void setLimitTargetContent(AssignmentSelectorType value)
-
getLimitOtherPrivileges
public OtherPrivilegesLimitationType getLimitOtherPrivileges()
-
setLimitOtherPrivileges
public void setLimitOtherPrivileges(OtherPrivilegesLimitationType value)
-
getFocusType
public QName getFocusType()
-
setFocusType
public void setFocusType(QName value)
-
getTenantRef
public ObjectReferenceType getTenantRef()
-
setTenantRef
public void setTenantRef(ObjectReferenceType value)
-
getOrgRef
public ObjectReferenceType getOrgRef()
-
setOrgRef
public void setOrgRef(ObjectReferenceType value)
-
getCondition
public MappingType getCondition()
-
setCondition
public void setCondition(MappingType value)
-
getTriggeredPolicyRule
public List<EvaluatedPolicyRuleType> getTriggeredPolicyRule()
-
getPolicyException
public List<PolicyExceptionType> getPolicyException()
-
createPolicyExceptionList
public List<PolicyExceptionType> createPolicyExceptionList()
-
getAssignmentRelation
public List<AssignmentRelationType> getAssignmentRelation()
-
createAssignmentRelationList
public List<AssignmentRelationType> createAssignmentRelationList()
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
public AssignmentType id(Long value)
-
description
public AssignmentType description(String value)
-
documentation
public AssignmentType documentation(String value)
-
subtype
public AssignmentType subtype(String value)
-
extension
public AssignmentType extension(ExtensionType value)
-
beginExtension
public ExtensionType beginExtension()
-
lifecycleState
public AssignmentType lifecycleState(String value)
-
metadata
public AssignmentType metadata(MetadataType value)
-
beginMetadata
public MetadataType beginMetadata()
-
targetRef
public AssignmentType targetRef(ObjectReferenceType value)
-
targetRef
public AssignmentType targetRef(String oid, QName type)
-
targetRef
public AssignmentType targetRef(String oid, QName type, QName relation)
-
beginTargetRef
public ObjectReferenceType beginTargetRef()
-
construction
public AssignmentType construction(ConstructionType value)
-
beginConstruction
public ConstructionType beginConstruction()
-
personaConstruction
public AssignmentType personaConstruction(PersonaConstructionType value)
-
beginPersonaConstruction
public PersonaConstructionType beginPersonaConstruction()
-
focusMappings
public AssignmentType focusMappings(MappingsType value)
-
beginFocusMappings
public MappingsType beginFocusMappings()
-
policyRule
public AssignmentType policyRule(PolicyRuleType value)
-
beginPolicyRule
public PolicyRuleType beginPolicyRule()
-
activation
public AssignmentType activation(ActivationType value)
-
beginActivation
public ActivationType beginActivation()
-
order
public AssignmentType order(Integer value)
-
orderConstraint
public AssignmentType orderConstraint(OrderConstraintsType value)
-
beginOrderConstraint
public OrderConstraintsType beginOrderConstraint()
-
limitTargetContent
public AssignmentType limitTargetContent(AssignmentSelectorType value)
-
beginLimitTargetContent
public AssignmentSelectorType beginLimitTargetContent()
-
limitOtherPrivileges
public AssignmentType limitOtherPrivileges(OtherPrivilegesLimitationType value)
-
beginLimitOtherPrivileges
public OtherPrivilegesLimitationType beginLimitOtherPrivileges()
-
focusType
public AssignmentType focusType(QName value)
-
tenantRef
public AssignmentType tenantRef(ObjectReferenceType value)
-
tenantRef
public AssignmentType tenantRef(String oid, QName type)
-
tenantRef
public AssignmentType tenantRef(String oid, QName type, QName relation)
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
-
orgRef
public AssignmentType orgRef(ObjectReferenceType value)
-
orgRef
public AssignmentType orgRef(String oid, QName type)
-
orgRef
public AssignmentType orgRef(String oid, QName type, QName relation)
-
beginOrgRef
public ObjectReferenceType beginOrgRef()
-
condition
public AssignmentType condition(MappingType value)
-
beginCondition
public MappingType beginCondition()
-
policySituation
public AssignmentType policySituation(String value)
-
triggeredPolicyRule
public AssignmentType triggeredPolicyRule(EvaluatedPolicyRuleType value)
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
-
policyException
public AssignmentType policyException(PolicyExceptionType value)
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
-
assignmentRelation
public AssignmentType assignmentRelation(AssignmentRelationType value)
-
beginAssignmentRelation
public AssignmentRelationType beginAssignmentRelation()
-
end
public <X> X end()
-
clone
public AssignmentType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
-