Interface ObjectDefinitionDelegator<O extends Objectable>
- All Superinterfaces:
Cloneable
,ContainerDefinitionDelegator<O>
,DebugDumpable
,Definition
,DefinitionDelegator
,Freezable
,ItemDefinition<PrismContainer<O>>
,ItemDefinitionDelegator<PrismContainer<O>>
,LivePrismItemDefinition
,LocalItemDefinitionStore
,PrismContainerDefinition<O>
,PrismItemAccessDefinition
,PrismItemBasicDefinition
,PrismItemStorageDefinition
,PrismLifecycleDefinition
,PrismObjectDefinition<O>
,PrismPresentationDefinition
,Revivable
,SchemaLookup.Aware
,Serializable
,SmartVisitable<Definition>
,Visitable<Definition>
public interface ObjectDefinitionDelegator<O extends Objectable>
extends ContainerDefinitionDelegator<O>, PrismObjectDefinition<O>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.Definition
Definition.DefinitionBuilder, Definition.DefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.ItemDefinition
ItemDefinition.ItemDefinitionLikeBuilder, ItemDefinition.ItemDefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
PrismContainerDefinition.PrismContainerDefinitionMutator<C extends Containerable>
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Data, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Info, PrismItemAccessDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
PrismItemBasicDefinition.Data, PrismItemBasicDefinition.Delegable, PrismItemBasicDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
PrismItemStorageDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismObjectDefinition
PrismObjectDefinition.PrismObjectDefinitionMutator<O extends Objectable>
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescription@NotNull PrismObjectDefinition<O>
cloneWithNewDefinition
(QName newItemName, 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, getDisplayName, getDisplayOrder, getItemNames, getPropertyDefinitions, getTypeClass, getTypeName, isEmphasized, isEmpty, replaceDefinition, structuredType
Methods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, getAnnotations, getDeprecatedSince, getDisplayHint, getDocumentation, getDocumentationPreview, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getPlannedRemoval, getRemovedSince, getSchemaContextDefinition, getSchemaMigrations, isAbstract, isDeprecated, isElaborate, isExperimental, isOptionalCleanup, isRemoved, isRuntimeSchema
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
cloneWithNewName, getProcessing, isAlwaysUseForEquals, isIgnored
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
canAdd, canModify, canRead, debugDumpShortToString, getDiagrams, getHelp, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexed, 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
cloneWithNewType, createEmptyDelta, getAlwaysUseForEquals, getTypeClass, isAlwaysUseForEquals, isCompletelyDefined, schemaLookup, structuredType
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
getInfo
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getTypeName, isMandatory, isMultiValue, isOptional, isSingleValue
Methods inherited from interface com.evolveum.midpoint.prism.PrismObjectDefinition
clone, mutator
-
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>
-
cloneWithNewDefinition
@NotNull @NotNull PrismObjectDefinition<O> cloneWithNewDefinition(QName newItemName, ItemDefinition<?> newDefinition) Description copied from interface:PrismContainerDefinition
TODO- Specified by:
cloneWithNewDefinition
in interfaceContainerDefinitionDelegator<O extends Objectable>
- Specified by:
cloneWithNewDefinition
in interfacePrismContainerDefinition<O extends Objectable>
- Specified by:
cloneWithNewDefinition
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>
-