Class TransformableObjectDefinition<O extends Objectable>
java.lang.Object
com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition<PrismContainer<C>,PrismContainerDefinition<C>>
com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition<O>
com.evolveum.midpoint.model.impl.schema.transform.TransformableObjectDefinition<O>
- All Implemented Interfaces:
PartiallyMutableItemDefinition<PrismContainer<O>>
,PartiallyMutableItemDefinition.Container<O>
,Definition
,ContainerDefinitionDelegator<O>
,DefinitionDelegator
,ItemDefinitionDelegator<PrismContainer<O>>
,ObjectDefinitionDelegator<O>
,Freezable
,ItemDefinition<PrismContainer<O>>
,LocalItemDefinitionStore
,MutableDefinition
,MutableItemDefinition<PrismContainer<O>>
,MutablePrismContainerDefinition<O>
,MutablePrismObjectDefinition<O>
,PrismContainerDefinition<O>
,PrismContextSensitive
,PrismItemAccessDefinition
,PrismItemAccessDefinition.Mutable
,PrismObjectDefinition<O>
,Revivable
,SmartVisitable<Definition>
,Visitable<Definition>
,DebugDumpable
,Serializable
,Cloneable
public class TransformableObjectDefinition<O extends Objectable>
extends TransformableContainerDefinition<O>
implements ObjectDefinitionDelegator<O>, MutablePrismObjectDefinition<O>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition
TransformableContainerDefinition.AttributeContainer
Nested classes/interfaces inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition
PartiallyMutableItemDefinition.Attribute<T>, PartiallyMutableItemDefinition.Container<C extends Containerable>, PartiallyMutableItemDefinition.Property<T>, PartiallyMutableItemDefinition.Reference
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Mutable
-
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition
complexTypeDefinition
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionTransformableObjectDefinition
(PrismObjectDefinition<O> delegate) TransformableObjectDefinition
(PrismObjectDefinition<O> delegate, ComplexTypeDefinition typedef) -
Method Summary
Modifier and TypeMethodDescription@NotNull PrismObjectDefinition<O>
clone()
@NotNull PrismObjectDefinition<O>
cloneWithReplacedDefinition
(QName itemName, ItemDefinition<?> newDefinition) TODOprotected TransformableContainerDefinition<O>
For a strange reason, IntelliJ IDEA complains about missingcreateValue()
method.deepClone
(@NotNull DeepCloneOperation operation) TODO documentdelegate()
@NotNull PrismObject<O>
Create an item instance.@NotNull PrismObject<O>
instantiate
(QName name) Create an item instance.static <O extends Objectable>
@NotNull TransformableObjectDefinition<O>of
(PrismObjectDefinition<O> originalItem) protected PrismObjectDefinition<O>
Returns an interface to mutate this definition.Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition
copy, createEmptyDelta, ensureMutableType, findContainerDefinition, findItemDefinition, freeze, getCompileTimeClass, getComplexTypeDefinition, getDefinitions, getPropertyDefinitions, getTypeClass, getTypeName, isEmpty, isImmutable, of, replaceDefinition, require
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, canAdd, canModify, canRead, delegatedItem, from, getDisplayName, getDisplayOrder, getHelp, getMaxOccurs, getMinOccurs, getProcessing, getValueEnumerationRef, isDeprecated, isEmphasized, isExperimental, publicFrom, revive, setCanAdd, setCanModify, setCanRead, setDeprecated, setDisplayName, setDisplayOrder, setEmphasized, setExperimental, setHelp, setMaxOccurs, setMinOccurs, setProcessing, setValueEnumerationRef, toString
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
annotationsOverrides, getAnnotation, setAnnotation
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ContainerDefinitionDelegator
canRepresent, createEmptyDelta, findContainerDefinition, findItemDefinition, getCompileTimeClass, getComplexTypeDefinition, getItemNames, getPropertyDefinitions, getTypeClass, isEmpty, replaceDefinition, structuredType
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, getAnnotations, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotation
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMandatory, isMultiValue, isOptional, isSingleValue
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isSearchable, isValidFor
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition
Methods inherited from interface com.evolveum.midpoint.prism.MutablePrismContainerDefinition
setAlwaysUseForEquals
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ObjectDefinitionDelegator
getDefinitions, getExtensionDefinition
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition
addDiagram, addSchemaMigration, setCanAdd, setCanModify, setCanRead, setDeprecated, setDeprecatedSince, setDisplayName, setDisplayOrder, setDocumentation, setDynamic, setElaborate, setEmphasized, setExperimental, setHelp, setHeterogeneousListItem, setIndexOnly, setInherited, setItemName, setMaxOccurs, setMinOccurs, setOperational, setPlannedRemoval, setProcessing, setReadOnly, setRemoved, setRemovedSince, setRuntimeSchema, setSearchable, setSubstitutionHead, setTypeName, setValueEnumerationRef
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Container
createContainerDefinition, createContainerDefinition, createPropertyDefinition, createPropertyDefinition, createPropertyDefinition, setCompileTimeClass, setComplexTypeDefinition
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
createEmptyDelta, getAlwaysUseForEquals, getTypeClass, isAlwaysUseForEquals, isCompletelyDefined, structuredType
-
Constructor Details
-
TransformableObjectDefinition
-
TransformableObjectDefinition
public TransformableObjectDefinition(PrismObjectDefinition<O> delegate, ComplexTypeDefinition typedef)
-
-
Method Details
-
of
@NotNull public static <O extends Objectable> @NotNull TransformableObjectDefinition<O> of(PrismObjectDefinition<O> originalItem) -
publicView
- Overrides:
publicView
in classTransformableContainerDefinition<O extends Objectable>
-
clone
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<O extends Objectable>
- Specified by:
clone
in interfacePrismContainerDefinition<O extends Objectable>
- Specified by:
clone
in interfacePrismObjectDefinition<O extends Objectable>
- Overrides:
clone
in classTransformableContainerDefinition<O extends Objectable>
-
toMutable
Description copied from interface:Definition
Returns an interface to mutate this definition.- Specified by:
toMutable
in interfaceDefinition
- Specified by:
toMutable
in interfaceItemDefinition<O extends Objectable>
- Specified by:
toMutable
in interfacePrismContainerDefinition<O extends Objectable>
- Specified by:
toMutable
in interfacePrismObjectDefinition<O extends Objectable>
- Overrides:
toMutable
in classTransformableContainerDefinition<O extends Objectable>
-
delegate
- Specified by:
delegate
in interfaceContainerDefinitionDelegator<O extends Objectable>
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<O extends Objectable>
- Specified by:
delegate
in interfaceObjectDefinitionDelegator<O extends Objectable>
- Overrides:
delegate
in classTransformableItemDefinition<PrismContainer<O extends Objectable>,
PrismContainerDefinition<O extends Objectable>>
-
cloneWithReplacedDefinition
@NotNull public @NotNull PrismObjectDefinition<O> cloneWithReplacedDefinition(QName itemName, ItemDefinition<?> newDefinition) Description copied from interface:PrismContainerDefinition
TODO- Specified by:
cloneWithReplacedDefinition
in interfaceContainerDefinitionDelegator<O extends Objectable>
- Specified by:
cloneWithReplacedDefinition
in interfaceObjectDefinitionDelegator<O extends Objectable>
- Specified by:
cloneWithReplacedDefinition
in interfacePrismContainerDefinition<O extends Objectable>
- Specified by:
cloneWithReplacedDefinition
in interfacePrismObjectDefinition<O extends Objectable>
- Overrides:
cloneWithReplacedDefinition
in classTransformableContainerDefinition<O extends Objectable>
-
deepClone
Description copied from interface:ItemDefinition
TODO document- Specified by:
deepClone
in interfaceItemDefinition<O extends Objectable>
- Specified by:
deepClone
in interfaceItemDefinitionDelegator<O extends Objectable>
- Specified by:
deepClone
in interfaceObjectDefinitionDelegator<O extends Objectable>
- Specified by:
deepClone
in interfacePrismObjectDefinition<O extends Objectable>
- Overrides:
deepClone
in classTransformableContainerDefinition<O extends Objectable>
-
copy
- Overrides:
copy
in classTransformableContainerDefinition<O extends Objectable>
-
instantiate
Description copied from interface:ItemDefinition
Create an item instance. Definition name or default name will be used as an element name for the instance. The instance will otherwise be empty.- Specified by:
instantiate
in interfaceItemDefinition<O extends Objectable>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<O extends Objectable>
- Specified by:
instantiate
in interfaceObjectDefinitionDelegator<O extends Objectable>
- Specified by:
instantiate
in interfacePrismObjectDefinition<O extends Objectable>
- Overrides:
instantiate
in classTransformableContainerDefinition<O extends Objectable>
- Throws:
SchemaException
-
instantiate
Description copied from interface:ItemDefinition
Create an item instance. Definition name will use provided name. for the instance. The instance will otherwise be empty.- Specified by:
instantiate
in interfaceItemDefinition<O extends Objectable>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<O extends Objectable>
- Specified by:
instantiate
in interfaceObjectDefinitionDelegator<O extends Objectable>
- Specified by:
instantiate
in interfacePrismObjectDefinition<O extends Objectable>
- Overrides:
instantiate
in classTransformableContainerDefinition<O extends Objectable>
- Throws:
SchemaException
-
createValue
For a strange reason, IntelliJ IDEA complains about missingcreateValue()
method. So adding it here.- Specified by:
createValue
in interfaceContainerDefinitionDelegator<O extends Objectable>
- Specified by:
createValue
in interfaceObjectDefinitionDelegator<O extends Objectable>
- Specified by:
createValue
in interfacePrismContainerDefinition<O extends Objectable>
- Specified by:
createValue
in interfacePrismObjectDefinition<O extends Objectable>
-