Package com.evolveum.midpoint.prism
Interface PrismObjectDefinition<O extends Objectable>
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,Freezable
,ItemDefinition<PrismContainer<O>>
,LocalItemDefinitionStore
,PrismContainerDefinition<O>
,PrismContextSensitive
,PrismItemAccessDefinition
,Revivable
,Serializable
,SmartVisitable<Definition>
,Visitable<Definition>
- All Known Subinterfaces:
MutablePrismObjectDefinition<O>
,ObjectDefinitionDelegator<O>
- All Known Implementing Classes:
DummyPrismObjectDefinition
,PrismObjectDefinitionImpl
,TransformableObjectDefinition
public interface PrismObjectDefinition<O extends Objectable> extends PrismContainerDefinition<O>
TODO
-
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull PrismObjectDefinition<O>
clone()
@NotNull PrismObjectDefinition<O>
cloneWithReplacedDefinition(QName itemName, ItemDefinition<?> newDefinition)
TODOPrismObjectValue<O>
createValue()
TODOPrismObjectDefinition<O>
deepClone(@NotNull DeepCloneOperation operation)
TODO documentPrismContainerDefinition<?>
getExtensionDefinition()
@NotNull PrismObject<O>
instantiate()
Create an item instance.@NotNull PrismObject<O>
instantiate(QName name)
Create an item instance.MutablePrismObjectDefinition<O>
toMutable()
Returns an interface to mutate this definition.-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getSchemaMigrations, getSchemaRegistry, 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
adoptElementDefinitionFrom, canBeDefinitionOf, canBeDefinitionOf, debugDumpShortToString, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSingleValue, isValidFor
-
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
canRepresent, createEmptyDelta, getCompileTimeClass, getComplexTypeDefinition, getDefinitions, getItemNames, getPropertyDefinitions, getTypeClass, isCompletelyDefined, isEmpty, replaceDefinition, structuredType
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canRead
-
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
-
-
-
Method Detail
-
instantiate
@NotNull @NotNull PrismObject<O> instantiate() throws SchemaException
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>
- Throws:
SchemaException
-
instantiate
@NotNull @NotNull PrismObject<O> instantiate(QName name) throws SchemaException
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>
- Throws:
SchemaException
-
clone
@NotNull @NotNull PrismObjectDefinition<O> clone()
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<O extends Objectable>
- Specified by:
clone
in interfacePrismContainerDefinition<O extends Objectable>
-
deepClone
PrismObjectDefinition<O> deepClone(@NotNull @NotNull DeepCloneOperation operation)
Description copied from interface:ItemDefinition
TODO document- Specified by:
deepClone
in interfaceItemDefinition<O extends Objectable>
-
cloneWithReplacedDefinition
@NotNull @NotNull PrismObjectDefinition<O> cloneWithReplacedDefinition(QName itemName, ItemDefinition<?> newDefinition)
Description copied from interface:PrismContainerDefinition
TODO- Specified by:
cloneWithReplacedDefinition
in interfacePrismContainerDefinition<O extends Objectable>
-
getExtensionDefinition
PrismContainerDefinition<?> getExtensionDefinition()
-
createValue
PrismObjectValue<O> createValue()
Description copied from interface:PrismContainerDefinition
TODO- Specified by:
createValue
in interfacePrismContainerDefinition<O extends Objectable>
-
toMutable
MutablePrismObjectDefinition<O> 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>
-
-