Interface ObjectDefinitionDelegator<O extends Objectable>
- All Superinterfaces:
Cloneable
,ContainerDefinitionDelegator<O>
,DebugDumpable
,Definition
,DefinitionDelegator
,Freezable
,ItemDefinition<PrismContainer<O>>
,ItemDefinitionDelegator<PrismContainer<O>>
,LocalItemDefinitionStore
,PrismContainerDefinition<O>
,PrismContextSensitive
,PrismItemAccessDefinition
,PrismObjectDefinition<O>
,Revivable
,Serializable
,SmartVisitable<Definition>
,Visitable<Definition>
- All Known Implementing Classes:
TransformableObjectDefinition
public interface ObjectDefinitionDelegator<O extends Objectable>
extends ContainerDefinitionDelegator<O>, PrismObjectDefinition<O>
-
Nested Class Summary
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
-
Method Summary
Modifier and TypeMethodDescription@NotNull PrismObjectDefinition<O>
cloneWithReplacedDefinition
(QName itemName, ItemDefinition<?> newDefinition) TODOdefault PrismObjectValue<O>
TODOdeepClone
(@NotNull DeepCloneOperation operation) TODO documentdelegate()
default @NotNull List<? extends ItemDefinition<?>>
Returns a list of item definitions in this container.default PrismContainerDefinition<?>
default @NotNull PrismObject<O>
Create an item instance.default @NotNull PrismObject<O>
instantiate
(QName name) Create an item instance.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.PrismContainerDefinition
createEmptyDelta, getAlwaysUseForEquals, getTypeClass, isAlwaysUseForEquals, isCompletelyDefined, structuredType
Methods inherited from interface com.evolveum.midpoint.prism.PrismObjectDefinition
clone, toMutable
-
Method Details
-
delegate
PrismObjectDefinition<O> delegate()- Specified by:
delegate
in interfaceContainerDefinitionDelegator<O extends Objectable>
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<O extends Objectable>
-
getExtensionDefinition
- Specified by:
getExtensionDefinition
in interfacePrismObjectDefinition<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 interfacePrismObjectDefinition<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 interfacePrismObjectDefinition<O extends Objectable>
- Throws:
SchemaException
-
getDefinitions
Description copied from interface:PrismContainerDefinition
Returns a list of item definitions in this container. It is intentionally aList
because it is ordered. (To provide standard format for serialization.) Usually obtained fromComplexTypeDefinition
. So please do not modify the content of the list!- Specified by:
getDefinitions
in interfaceContainerDefinitionDelegator<O extends Objectable>
- Specified by:
getDefinitions
in interfaceLocalItemDefinitionStore
- Specified by:
getDefinitions
in interfacePrismContainerDefinition<O extends Objectable>
-
createValue
Description copied from interface:PrismContainerDefinition
TODO- Specified by:
createValue
in interfaceContainerDefinitionDelegator<O extends Objectable>
- Specified by:
createValue
in interfacePrismContainerDefinition<O extends Objectable>
- Specified by:
createValue
in interfacePrismObjectDefinition<O extends Objectable>
-
cloneWithReplacedDefinition
@NotNull @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 interfacePrismContainerDefinition<O extends Objectable>
- Specified by:
cloneWithReplacedDefinition
in interfacePrismObjectDefinition<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 interfacePrismObjectDefinition<O extends Objectable>
-