Class TransformableReferenceDefinition
- java.lang.Object
-
- 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:
- Serialized Form
-
-
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
Constructors Modifier Constructor Description protected
TransformableReferenceDefinition(PrismReferenceDefinition delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PrismReferenceDefinition
clone()
protected TransformableReferenceDefinition
copy()
@NotNull PrismReference
instantiate()
Create an item instance.@NotNull PrismReference
instantiate(QName name)
Create an item instance.static TransformableReferenceDefinition
of(PrismReferenceDefinition original)
protected PrismReferenceDefinition
publicView()
MutablePrismReferenceDefinition
toMutable()
-
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, canAdd, canModify, canRead, deepClone, deepClone, delegate, delegatedItem, freeze, from, getDisplayName, getDisplayOrder, getHelp, getMaxOccurs, getMinOccurs, getProcessing, getValueEnumerationRef, isDeprecated, isEmphasized, isExperimental, isImmutable, isMutableAccess, publicFrom, revive, setCanAdd, setCanModify, setCanRead, setDeprecated, setDisplayName, setDisplayOrder, setEmphasized, setExperimental, setHelp, setMaxOccurs, setMinOccurs, setProcessing, setValueEnumerationRef, toString
-
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, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMultiValue, isSingleValue, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, createEmptyDelta, debugDumpShortToString, deepClone, deepClone, findItemDefinition, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getNamespace, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isOperational, isOptional, isValidFor, 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, setItemName, setMaxOccurs, setMinOccurs, setOperational, setPlannedRemoval, setProcessing, setReadOnly, setRuntimeSchema, setSubstitutionHead, setTypeName, setValueEnumerationRef
-
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Reference
setComposite, setTargetTypeName
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ReferenceDefinitionDelegator
delegate, getCompositeObjectElementName, getTargetTypeName, isComposite
-
-
-
-
Constructor Detail
-
TransformableReferenceDefinition
protected TransformableReferenceDefinition(PrismReferenceDefinition delegate)
-
-
Method Detail
-
of
public static TransformableReferenceDefinition of(PrismReferenceDefinition original)
-
publicView
protected PrismReferenceDefinition publicView()
- Specified by:
publicView
in classTransformableItemDefinition<PrismReference,PrismReferenceDefinition>
-
toMutable
public MutablePrismReferenceDefinition toMutable()
- Specified by:
toMutable
in interfaceDefinition
- Specified by:
toMutable
in interfaceItemDefinition<PrismReference>
- Overrides:
toMutable
in classTransformableItemDefinition<PrismReference,PrismReferenceDefinition>
-
instantiate
@NotNull public @NotNull PrismReference instantiate()
Description copied from interface:ItemDefinition
Create an item instance. Definition name or default name will 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
- Returns:
- created item instance
-
instantiate
@NotNull public @NotNull PrismReference instantiate(QName name)
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>
- Returns:
- created item instance
-
clone
@NotNull public @NotNull 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
protected TransformableReferenceDefinition copy()
- Specified by:
copy
in classTransformableItemDefinition<PrismReference,PrismReferenceDefinition>
-
-