Class AbstractMappingType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractMappingType
- All Implemented Interfaces:
Containerable,Freezable,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding,DebugDumpable,Serializable,Cloneable
- Direct Known Subclasses:
MappingType,MetadataMappingType
public class AbstractMappingType
extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
Defines how a value of a property (or attribute) should be
constructed. The value may be static or constructed as an
result of evaluating an expression.
This structure also defines a method how to merge several value
construction definitions, how to behave if a property already
has a value, etc.
This is reusable data structure, used in schemaHandling, roles
and it may also be used in may other places.
Motivation: We need to construct attribute or property values on
many places in midPoint. E.g. we need that in roles to generate
dynamic account attribute values, we need that to define "templates"
for identifiers and default values for attributes when creating a
new account. We also need that to specify values when creating a
new user (user templates). Having the same data structure for all of
these cases may simplify the code, as it all can be handled by a
generic library reused in many places through the system.
- 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.AnyNested 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
FieldsModifier and TypeFieldDescriptionstatic final QNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final Producer<AbstractMappingType>Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthoritative(Boolean value) clone()condition(ExpressionType value) description(String value) documentation(String value) <X> Xend()booleanexceptChannel(String value) expression(ExpressionType value) extension(ExtensionType value) getName()getTrace()isTrace()lifecycleState(String value) voidsetAuthoritative(Boolean value) voidsetCondition(ExpressionType value) voidsetDescription(String value) voidsetDocumentation(String value) voidsetEnabled(Boolean value) voidsetExclusive(Boolean value) voidsetExpression(ExpressionType value) voidsetExtension(ExtensionType value) voidsetLifecycleState(String value) voidvoidsetStrength(MappingStrengthType value) voidvoidvoidvoidstrength(MappingStrengthType value) timeTo(MappingTimeDeclarationType value) Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerableMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_NAME
-
F_DESCRIPTION
-
F_DOCUMENTATION
-
F_LIFECYCLE_STATE
-
F_EXTENSION
-
F_TRACE
-
F_AUTHORITATIVE
-
F_EXCLUSIVE
-
F_STRENGTH
-
F_CHANNEL
-
F_EXCEPT_CHANNEL
-
F_TIME_FROM
-
F_TIME_TO
-
F_SOURCE
-
F_EXPRESSION
-
F_TARGET
-
F_CONDITION
-
F_ENABLED
-
FACTORY
-
-
Constructor Details
-
AbstractMappingType
public AbstractMappingType() -
AbstractMappingType
Deprecated.
-
-
Method Details
-
getName
-
setName
-
getDescription
-
setDescription
-
getDocumentation
-
setDocumentation
-
getLifecycleState
-
setLifecycleState
-
getExtension
-
setExtension
-
isTrace
-
getTrace
-
setTrace
-
isAuthoritative
-
getAuthoritative
-
setAuthoritative
-
isExclusive
-
getExclusive
-
setExclusive
-
getStrength
-
setStrength
-
getChannel
-
getExceptChannel
-
getTimeFrom
-
setTimeFrom
-
getTimeTo
-
setTimeTo
-
getSource
-
getExpression
-
setExpression
-
getTarget
-
setTarget
-
getCondition
-
setCondition
-
isEnabled
-
getEnabled
-
setEnabled
-
equals
- Overrides:
equalsin classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
name
-
description
-
documentation
-
lifecycleState
-
extension
-
beginExtension
-
trace
-
authoritative
-
exclusive
-
strength
-
channel
-
exceptChannel
-
timeFrom
-
beginTimeFrom
-
timeTo
-
beginTimeTo
-
source
-
beginSource
-
expression
-
beginExpression
-
target
-
beginTarget
-
condition
-
beginCondition
-
enabled
-
end
public <X> X end() -
clone
- Overrides:
clonein classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-