Class ObjectTemplateType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectTemplateType
-
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,JaxbVisitable
,Objectable
,DebugDumpable
,Serializable
public class ObjectTemplateType extends AssignmentHolderType implements Objectable
TODO: update The user template used to create new users. It contains fixed values or expressions that can set-up a new user object. It is used only during user creation in the synchronization code, but will be most likely used also on other places later. The goal is to make this a kind of "policy" how the use object should look like and check it on every user modification.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 QName
CONTAINER_NAME
static ItemName
F_INCLUDE_REF
static ItemName
F_ITEM
static ItemName
F_ITERATION_SPECIFICATION
static ItemName
F_MAPPING
static ItemName
F_META
static Producer<ObjectTemplateType>
FACTORY
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
F_ARCHETYPE_REF, F_ASSIGNMENT, F_DELEGATED_REF, F_ITERATION, F_ITERATION_TOKEN, F_ROLE_INFLUENCE_REF, F_ROLE_MEMBERSHIP_REF
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
F_DESCRIPTION, F_DIAGNOSTIC_INFORMATION, F_DOCUMENTATION, F_EXTENSION, F_FETCH_RESULT, F_INDESTRUCTIBLE, F_LENS_CONTEXT, F_LIFECYCLE_STATE, F_METADATA, F_NAME, F_OPERATION_EXECUTION, F_PARENT_ORG_REF, F_POLICY_EXCEPTION, F_POLICY_SITUATION, F_SUBTYPE, F_TENANT_REF, F_TRIGGER, F_TRIGGERED_POLICY_RULE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ObjectTemplateType()
ObjectTemplateType(PrismContext context)
Deprecated.
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
createAssignmentList, getArchetypeRef, getAssignment, getDelegatedRef, getIteration, getIterationToken, getRoleInfluenceRef, getRoleMembershipRef, setIteration, setIterationToken
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
createOperationExecutionList, createPolicyExceptionList, createTriggerList, getDescription, getDiagnosticInformation, getDocumentation, getExtension, getFetchResult, getLensContext, getLifecycleState, getMetadata, getName, getOperationExecution, getParentOrgRef, getPolicyException, getPolicySituation, getSubtype, getTenantRef, getTrigger, getTriggeredPolicyRule, isIndestructible, setDescription, setDocumentation, setExtension, setFetchResult, setIndestructible, setLensContext, setLifecycleState, setMetadata, setName, setTenantRef
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
asPrismContainer, asPrismContainerValue, getOid, getVersion, hashCode, setOid, setupContainer, setupContainerValue, setVersion, toDebugName, toDebugType, toString
-
Methods inherited from class com.evolveum.prism.xml.ns._public.types_3.ObjectType
accept
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
asPrismContainerValue, cloneWithoutId, debugDump, freeze, isImmutable, setupContainerValue
-
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
-
Methods inherited from interface com.evolveum.midpoint.prism.Objectable
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setupContainer, setVersion, toDebugName, toDebugType
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_INCLUDE_REF
public static final ItemName F_INCLUDE_REF
-
F_ITERATION_SPECIFICATION
public static final ItemName F_ITERATION_SPECIFICATION
-
F_ITEM
public static final ItemName F_ITEM
-
F_MAPPING
public static final ItemName F_MAPPING
-
F_META
public static final ItemName F_META
-
FACTORY
public static final Producer<ObjectTemplateType> FACTORY
-
CONTAINER_NAME
public static final QName CONTAINER_NAME
-
-
Constructor Detail
-
ObjectTemplateType
public ObjectTemplateType()
-
ObjectTemplateType
@Deprecated public ObjectTemplateType(PrismContext context)
Deprecated.
-
-
Method Detail
-
prismGetContainerName
protected QName prismGetContainerName()
- Overrides:
prismGetContainerName
in classAssignmentHolderType
-
prismGetContainerType
protected QName prismGetContainerType()
- Overrides:
prismGetContainerType
in classAssignmentHolderType
-
asPrismObject
public PrismObject<ObjectTemplateType> asPrismObject()
- Specified by:
asPrismObject
in interfaceObjectable
- Overrides:
asPrismObject
in classAssignmentHolderType
-
getIncludeRef
public List<ObjectReferenceType> getIncludeRef()
-
getIterationSpecification
public IterationSpecificationType getIterationSpecification()
-
setIterationSpecification
public void setIterationSpecification(IterationSpecificationType value)
-
getItem
public List<ObjectTemplateItemDefinitionType> getItem()
-
createItemList
public List<ObjectTemplateItemDefinitionType> createItemList()
-
getMapping
public List<ObjectTemplateMappingType> getMapping()
-
createMappingList
public List<ObjectTemplateMappingType> createMappingList()
-
getMeta
public MetadataHandlingType getMeta()
-
setMeta
public void setMeta(MetadataHandlingType value)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classAssignmentHolderType
-
version
public ObjectTemplateType version(String value)
- Overrides:
version
in classAssignmentHolderType
-
oid
public ObjectTemplateType oid(String value)
- Overrides:
oid
in classAssignmentHolderType
-
includeRef
public ObjectTemplateType includeRef(ObjectReferenceType value)
-
includeRef
public ObjectTemplateType includeRef(String oid, QName type)
-
includeRef
public ObjectTemplateType includeRef(String oid, QName type, QName relation)
-
beginIncludeRef
public ObjectReferenceType beginIncludeRef()
-
iterationSpecification
public ObjectTemplateType iterationSpecification(IterationSpecificationType value)
-
beginIterationSpecification
public IterationSpecificationType beginIterationSpecification()
-
item
public ObjectTemplateType item(ObjectTemplateItemDefinitionType value)
-
beginItem
public ObjectTemplateItemDefinitionType beginItem()
-
mapping
public ObjectTemplateType mapping(ObjectTemplateMappingType value)
-
beginMapping
public ObjectTemplateMappingType beginMapping()
-
meta
public ObjectTemplateType meta(MetadataHandlingType value)
-
beginMeta
public MetadataHandlingType beginMeta()
-
assignment
public ObjectTemplateType assignment(AssignmentType value)
- Overrides:
assignment
in classAssignmentHolderType
-
beginAssignment
public AssignmentType beginAssignment()
- Overrides:
beginAssignment
in classAssignmentHolderType
-
iteration
public ObjectTemplateType iteration(Integer value)
- Overrides:
iteration
in classAssignmentHolderType
-
iterationToken
public ObjectTemplateType iterationToken(String value)
- Overrides:
iterationToken
in classAssignmentHolderType
-
archetypeRef
public ObjectTemplateType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
archetypeRef
public ObjectTemplateType archetypeRef(String oid, QName type)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
archetypeRef
public ObjectTemplateType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRef
in classAssignmentHolderType
-
roleMembershipRef
public ObjectTemplateType roleMembershipRef(ObjectReferenceType value)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
roleMembershipRef
public ObjectTemplateType roleMembershipRef(String oid, QName type)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
roleMembershipRef
public ObjectTemplateType roleMembershipRef(String oid, QName type, QName relation)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
beginRoleMembershipRef
public ObjectReferenceType beginRoleMembershipRef()
- Overrides:
beginRoleMembershipRef
in classAssignmentHolderType
-
delegatedRef
public ObjectTemplateType delegatedRef(ObjectReferenceType value)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
delegatedRef
public ObjectTemplateType delegatedRef(String oid, QName type)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
delegatedRef
public ObjectTemplateType delegatedRef(String oid, QName type, QName relation)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
beginDelegatedRef
public ObjectReferenceType beginDelegatedRef()
- Overrides:
beginDelegatedRef
in classAssignmentHolderType
-
roleInfluenceRef
public ObjectTemplateType roleInfluenceRef(ObjectReferenceType value)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
roleInfluenceRef
public ObjectTemplateType roleInfluenceRef(String oid, QName type)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
roleInfluenceRef
public ObjectTemplateType roleInfluenceRef(String oid, QName type, QName relation)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
beginRoleInfluenceRef
public ObjectReferenceType beginRoleInfluenceRef()
- Overrides:
beginRoleInfluenceRef
in classAssignmentHolderType
-
name
public ObjectTemplateType name(PolyStringType value)
- Overrides:
name
in classAssignmentHolderType
-
name
public ObjectTemplateType name(String value)
- Overrides:
name
in classAssignmentHolderType
-
description
public ObjectTemplateType description(String value)
- Overrides:
description
in classAssignmentHolderType
-
documentation
public ObjectTemplateType documentation(String value)
- Overrides:
documentation
in classAssignmentHolderType
-
subtype
public ObjectTemplateType subtype(String value)
- Overrides:
subtype
in classAssignmentHolderType
-
fetchResult
public ObjectTemplateType fetchResult(OperationResultType value)
- Overrides:
fetchResult
in classAssignmentHolderType
-
beginFetchResult
public OperationResultType beginFetchResult()
- Overrides:
beginFetchResult
in classAssignmentHolderType
-
extension
public ObjectTemplateType extension(ExtensionType value)
- Overrides:
extension
in classAssignmentHolderType
-
beginExtension
public ExtensionType beginExtension()
- Overrides:
beginExtension
in classAssignmentHolderType
-
parentOrgRef
public ObjectTemplateType parentOrgRef(ObjectReferenceType value)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
parentOrgRef
public ObjectTemplateType parentOrgRef(String oid, QName type)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
parentOrgRef
public ObjectTemplateType parentOrgRef(String oid, QName type, QName relation)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
- Overrides:
beginParentOrgRef
in classAssignmentHolderType
-
trigger
public ObjectTemplateType trigger(TriggerType value)
- Overrides:
trigger
in classAssignmentHolderType
-
beginTrigger
public TriggerType beginTrigger()
- Overrides:
beginTrigger
in classAssignmentHolderType
-
metadata
public ObjectTemplateType metadata(MetadataType value)
- Overrides:
metadata
in classAssignmentHolderType
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadata
in classAssignmentHolderType
-
tenantRef
public ObjectTemplateType tenantRef(ObjectReferenceType value)
- Overrides:
tenantRef
in classAssignmentHolderType
-
tenantRef
public ObjectTemplateType tenantRef(String oid, QName type)
- Overrides:
tenantRef
in classAssignmentHolderType
-
tenantRef
public ObjectTemplateType tenantRef(String oid, QName type, QName relation)
- Overrides:
tenantRef
in classAssignmentHolderType
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
- Overrides:
beginTenantRef
in classAssignmentHolderType
-
lifecycleState
public ObjectTemplateType lifecycleState(String value)
- Overrides:
lifecycleState
in classAssignmentHolderType
-
operationExecution
public ObjectTemplateType operationExecution(OperationExecutionType value)
- Overrides:
operationExecution
in classAssignmentHolderType
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
- Overrides:
beginOperationExecution
in classAssignmentHolderType
-
lensContext
public ObjectTemplateType lensContext(LensContextType value)
- Overrides:
lensContext
in classAssignmentHolderType
-
beginLensContext
public LensContextType beginLensContext()
- Overrides:
beginLensContext
in classAssignmentHolderType
-
policySituation
public ObjectTemplateType policySituation(String value)
- Overrides:
policySituation
in classAssignmentHolderType
-
triggeredPolicyRule
public ObjectTemplateType triggeredPolicyRule(EvaluatedPolicyRuleType value)
- Overrides:
triggeredPolicyRule
in classAssignmentHolderType
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
- Overrides:
beginTriggeredPolicyRule
in classAssignmentHolderType
-
policyException
public ObjectTemplateType policyException(PolicyExceptionType value)
- Overrides:
policyException
in classAssignmentHolderType
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
- Overrides:
beginPolicyException
in classAssignmentHolderType
-
diagnosticInformation
public ObjectTemplateType diagnosticInformation(DiagnosticInformationType value)
- Overrides:
diagnosticInformation
in classAssignmentHolderType
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
- Overrides:
beginDiagnosticInformation
in classAssignmentHolderType
-
indestructible
public ObjectTemplateType indestructible(Boolean value)
- Overrides:
indestructible
in classAssignmentHolderType
-
end
public <X> X end()
- Overrides:
end
in classAssignmentHolderType
-
clone
public ObjectTemplateType clone()
- Overrides:
clone
in classAssignmentHolderType
-
-