Class TransformableReferenceDefinition
java.lang.Object
com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition<PrismReference,PrismReferenceDefinition>
com.evolveum.midpoint.model.impl.schema.transform.TransformableReferenceDefinition
- All Implemented Interfaces:
PartiallyMutableItemDefinition<PrismReference>
,PartiallyMutableItemDefinition.Reference
,Definition
,DefinitionDelegator
,ItemDefinitionDelegator<PrismReference>
,ReferenceDefinitionDelegator
,Freezable
,ItemDefinition<PrismReference>
,MutableDefinition
,MutableItemDefinition<PrismReference>
,MutablePrismReferenceDefinition
,PrismContextSensitive
,PrismItemAccessDefinition
,PrismItemAccessDefinition.Mutable
,PrismReferenceDefinition
,Revivable
,SmartVisitable<Definition>
,Visitable<Definition>
,DebugDumpable
,Serializable
,Cloneable
public class TransformableReferenceDefinition
extends TransformableItemDefinition<PrismReference,PrismReferenceDefinition>
implements ReferenceDefinitionDelegator, PartiallyMutableItemDefinition.Reference
- See Also:
-
Nested Class Summary
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 interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescription@NotNull PrismReferenceDefinition
clone()
protected TransformableReferenceDefinition
copy()
<T extends ItemDefinition<?>>
TfindItemDefinition
(@NotNull ItemPath path, @NotNull Class<T> clazz) Used to find a matching item definition _within_ this definition.@NotNull PrismReference
Create an item instance.@NotNull PrismReference
instantiate
(QName name) Create an item instance.of
(PrismReferenceDefinition original) protected PrismReferenceDefinition
void
setTargetTypeName
(QName typeName) Returns an interface to mutate this definition.Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, canAdd, canModify, canRead, deepClone, delegate, delegatedItem, freeze, from, getDisplayName, getDisplayOrder, getHelp, getMaxOccurs, getMinOccurs, getProcessing, getValueEnumerationRef, isDeprecated, isEmphasized, isExperimental, isImmutable, 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.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, getAnnotations, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeClass, 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, createEmptyDelta, debugDumpShortToString, deepClone, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isSearchable, isValidFor, structuredType
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.Reference
setComposite
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ReferenceDefinitionDelegator
delegate, getCompositeObjectElementName, isComposite
-
Constructor Details
-
TransformableReferenceDefinition
-
-
Method Details
-
setTargetTypeName
- Specified by:
setTargetTypeName
in interfaceMutablePrismReferenceDefinition
- Specified by:
setTargetTypeName
in interfacePartiallyMutableItemDefinition.Reference
-
getTargetTypeName
- Specified by:
getTargetTypeName
in interfacePrismReferenceDefinition
- Specified by:
getTargetTypeName
in interfaceReferenceDefinitionDelegator
-
findItemDefinition
public <T extends ItemDefinition<?>> T findItemDefinition(@NotNull @NotNull ItemPath path, @NotNull @NotNull Class<T> clazz) Description copied from interface:ItemDefinition
Used to find a matching item definition _within_ this definition. Treats e.g. de-referencing in prism references.- Specified by:
findItemDefinition
in interfaceItemDefinition<PrismReference>
- Specified by:
findItemDefinition
in interfaceItemDefinitionDelegator<PrismReference>
-
of
-
publicView
- Specified by:
publicView
in classTransformableItemDefinition<PrismReference,
PrismReferenceDefinition>
-
toMutable
Description copied from interface:Definition
Returns an interface to mutate this definition.- Specified by:
toMutable
in interfaceDefinition
- Specified by:
toMutable
in interfaceItemDefinition<PrismReference>
- Overrides:
toMutable
in classTransformableItemDefinition<PrismReference,
PrismReferenceDefinition>
-
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<PrismReference>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<PrismReference>
- Specified by:
instantiate
in interfacePrismReferenceDefinition
- Specified by:
instantiate
in interfaceReferenceDefinitionDelegator
-
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<PrismReference>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<PrismReference>
- Specified by:
instantiate
in interfacePrismReferenceDefinition
- Specified by:
instantiate
in interfaceReferenceDefinitionDelegator
- Overrides:
instantiate
in classTransformableItemDefinition<PrismReference,
PrismReferenceDefinition>
-
clone
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<PrismReference>
- Specified by:
clone
in interfacePrismReferenceDefinition
- Overrides:
clone
in classTransformableItemDefinition<PrismReference,
PrismReferenceDefinition>
-
copy
- Specified by:
copy
in classTransformableItemDefinition<PrismReference,
PrismReferenceDefinition>
-