Package com.evolveum.midpoint.prism.util
Interface AbstractItemDeltaItem<D extends ItemDefinition<?>>
- All Superinterfaces:
DebugDumpable
,Serializable
- All Known Implementing Classes:
ItemDeltaItem
,ObjectDeltaObject
,Source
public interface AbstractItemDeltaItem<D extends ItemDefinition<?>>
extends DebugDumpable, Serializable
Common supertype for both
ItemDeltaItem
and ObjectDeltaObject
.
They have less in common that originally expected; in particular, the latter is *not* a subtype (nor subclass) of the former.-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptiondefault <IV extends PrismValue,
ID extends ItemDefinition<?>>
ItemDeltaItem<IV,ID> Finds a child IDI related to given `path`.<IV extends PrismValue,
ID extends ItemDefinition<?>>
ItemDeltaItem<IV,ID> findIdi
(@NotNull ItemPath path, @Nullable DefinitionResolver<D, ID> additionalDefinitionResolver) As #findIdi(ItemPath) but with additional definition resolver that provides definitions for sub-items found.The definition of the item/object in question.boolean
Is the item in question a prism container?boolean
isNull()
Is the IDI empty, i.e.boolean
Is the item in question a prism property?boolean
Is the item in question a structured property -Structured
? I.e.void
Recomputes the new state of the IDI.Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
isNull
boolean isNull()Is the IDI empty, i.e. is everything null? FIXME the implementation of this method may not be 100% precise. Should be reviewed. -
getDefinition
The definition of the item/object in question. -
recompute
Recomputes the new state of the IDI.- Throws:
SchemaException
-
findIdi
default <IV extends PrismValue,ID extends ItemDefinition<?>> ItemDeltaItem<IV,ID> findIdi(@NotNull @NotNull ItemPath path) throws SchemaException Finds a child IDI related to given `path`.- Throws:
SchemaException
-
findIdi
<IV extends PrismValue,ID extends ItemDefinition<?>> ItemDeltaItem<IV,ID> findIdi(@NotNull @NotNull ItemPath path, @Nullable @Nullable DefinitionResolver<D, ID> additionalDefinitionResolver) throws SchemaExceptionAs #findIdi(ItemPath) but with additional definition resolver that provides definitions for sub-items found.- Throws:
SchemaException
-
isContainer
boolean isContainer()Is the item in question a prism container? -
isProperty
boolean isProperty()Is the item in question a prism property? -
isStructuredProperty
boolean isStructuredProperty()Is the item in question a structured property -Structured
? I.e. a prism property that has visible components. (E.g., aPolyString
.) SeeItemDeltaItem.resolveStructuredProperty(ItemPath, PrismPropertyDefinition)
.
-