Interface ContainerDefinitionDelegator<C extends Containerable>
- All Superinterfaces:
- Cloneable,- DebugDumpable,- Definition,- DefinitionDelegator,- Freezable,- ItemDefinition<PrismContainer<C>>,- ItemDefinitionDelegator<PrismContainer<C>>,- LocalItemDefinitionStore,- PrismContainerDefinition<C>,- PrismContextSensitive,- PrismItemAccessDefinition,- Revivable,- Serializable,- SmartVisitable<Definition>,- Visitable<Definition>
- All Known Subinterfaces:
- AttributeContainerDefinitionDelegator,- ObjectDefinitionDelegator<O>
public interface ContainerDefinitionDelegator<C extends Containerable>
extends ItemDefinitionDelegator<PrismContainer<C>>, PrismContainerDefinition<C>
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinitionPrismItemAccessDefinition.Mutable
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptiondefault booleancanRepresent(@NotNull QName type) TODOdefault PrismContainerDefinition<C>cloneWithReplacedDefinition(QName itemName, ItemDefinition<?> newDefinition) TODOdefault @NotNull ContainerDelta<C>createEmptyDelta(ItemPath path) Creates an empty delta (with appropriate implementation class), pointing to this item definition, with a given path.default PrismContainerValue<C>TODOdelegate()default <C extends Containerable>
 PrismContainerDefinition<C>findContainerDefinition(@NotNull ItemPath path) ReturnsPrismContainerDefinitioncorresponding to given path (rooted at this store).default <T extends ItemDefinition<?>>
 TfindItemDefinition(@NotNull ItemPath path, @NotNull Class<T> clazz) Used to find a matching item definition _within_ this definition.Static (compile-time) class holding the container values.default ComplexTypeDefinitionDefinition of the container values.default @NotNull List<? extends ItemDefinition<?>>Returns a list of item definitions in this container.default Collection<ItemName>Returns names of items that are defined within this container definition.default List<PrismPropertyDefinition<?>>Returns set of property definitions.Returns a compile-time class that is used to represent items.default booleanisEmpty()TODOdefault voidreplaceDefinition(QName itemName, ItemDefinition<?> newDefinition) TODOdefault Optional<ComplexTypeDefinition>Returns complex type definition of item, if underlying value is possible structured.Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegatoraccept, 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, setAnnotationMethods inherited from interface com.evolveum.midpoint.prism.FreezablecheckImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinitionisMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegatoradoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, deepClone, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, instantiate, instantiate, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isSearchable, isValidForMethods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStorecontainsItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinitionMethods inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinitionclone, getAlwaysUseForEquals, isAlwaysUseForEquals, isCompletelyDefined, toMutable
- 
Method Details- 
delegatePrismContainerDefinition<C> delegate()- Specified by:
- delegatein interface- DefinitionDelegator
- Specified by:
- delegatein interface- ItemDefinitionDelegator<C extends Containerable>
 
- 
getCompileTimeClassDescription copied from interface:PrismContainerDefinitionStatic (compile-time) class holding the container values. May be null. (Let's not mark it as @Nullable to avoid lots of warnings.)- Specified by:
- getCompileTimeClassin interface- PrismContainerDefinition<C extends Containerable>
 
- 
getComplexTypeDefinitionDescription copied from interface:PrismContainerDefinitionDefinition of the container values. May be null. (Let's not mark it as @Nullable to avoid lots of warnings.) Note that individual values can hold their own (more specific) complex type definitions.- Specified by:
- getComplexTypeDefinitionin interface- PrismContainerDefinition<C extends Containerable>
 
- 
getDefinitionsDescription copied from interface:PrismContainerDefinitionReturns a list of item definitions in this container. It is intentionally aListbecause it is ordered. (To provide standard format for serialization.) Usually obtained fromComplexTypeDefinition. So please do not modify the content of the list!- Specified by:
- getDefinitionsin interface- LocalItemDefinitionStore
- Specified by:
- getDefinitionsin interface- PrismContainerDefinition<C extends Containerable>
 
- 
getItemNamesDescription copied from interface:PrismContainerDefinitionReturns names of items that are defined within this container definition. They do NOT include items that can be put into instantiated container by means of "xsd:any" mechanism.- Specified by:
- getItemNamesin interface- PrismContainerDefinition<C extends Containerable>
 
- 
getPropertyDefinitionsDescription copied from interface:PrismContainerDefinitionReturns set of property definitions. The set contains all property definitions of all types that were parsed. Order of definitions is insignificant. The returned set is immutable! All changes may be lost.- Specified by:
- getPropertyDefinitionsin interface- PrismContainerDefinition<C extends Containerable>
- Returns:
- set of definitions
 
- 
findItemDefinitiondefault <T extends ItemDefinition<?>> T findItemDefinition(@NotNull @NotNull ItemPath path, @NotNull @NotNull Class<T> clazz) Description copied from interface:ItemDefinitionUsed to find a matching item definition _within_ this definition. Treats e.g. de-referencing in prism references.- Specified by:
- findItemDefinitionin interface- ItemDefinition<C extends Containerable>
- Specified by:
- findItemDefinitionin interface- ItemDefinitionDelegator<C extends Containerable>
- Specified by:
- findItemDefinitionin interface- LocalItemDefinitionStore
 
- 
cloneWithReplacedDefinitiondefault PrismContainerDefinition<C> cloneWithReplacedDefinition(QName itemName, ItemDefinition<?> newDefinition) Description copied from interface:PrismContainerDefinitionTODO- Specified by:
- cloneWithReplacedDefinitionin interface- PrismContainerDefinition<C extends Containerable>
 
- 
replaceDefinitionDescription copied from interface:PrismContainerDefinitionTODO- Specified by:
- replaceDefinitionin interface- PrismContainerDefinition<C extends Containerable>
 
- 
createValueDescription copied from interface:PrismContainerDefinitionTODO- Specified by:
- createValuein interface- PrismContainerDefinition<C extends Containerable>
 
- 
isEmptydefault boolean isEmpty()Description copied from interface:PrismContainerDefinitionTODO- Specified by:
- isEmptyin interface- PrismContainerDefinition<C extends Containerable>
 
- 
canRepresentDescription copied from interface:PrismContainerDefinitionTODO- Specified by:
- canRepresentin interface- PrismContainerDefinition<C extends Containerable>
 
- 
findContainerDefinitiondefault <C extends Containerable> PrismContainerDefinition<C> findContainerDefinition(@NotNull @NotNull ItemPath path) Description copied from interface:LocalItemDefinitionStoreReturnsPrismContainerDefinitioncorresponding to given path (rooted at this store). Tries the global resolution in the case of "any" content.- Specified by:
- findContainerDefinitionin interface- LocalItemDefinitionStore
 
- 
createEmptyDeltaDescription copied from interface:ItemDefinitionCreates an empty delta (with appropriate implementation class), pointing to this item definition, with a given path.- Specified by:
- createEmptyDeltain interface- ItemDefinition<C extends Containerable>
- Specified by:
- createEmptyDeltain interface- ItemDefinitionDelegator<C extends Containerable>
- Specified by:
- createEmptyDeltain interface- PrismContainerDefinition<C extends Containerable>
 
- 
getTypeClassDescription copied from interface:DefinitionReturns a compile-time class that is used to represent items. E.g. returns String, Integer, subclasses of Objectable and Containerable and so on.- Specified by:
- getTypeClassin interface- Definition
- Specified by:
- getTypeClassin interface- DefinitionDelegator
- Specified by:
- getTypeClassin interface- PrismContainerDefinition<C extends Containerable>
 
- 
structuredTypeDescription copied from interface:ItemDefinitionReturns complex type definition of item, if underlying value is possible structured. NOTE: This seems weird, since properties and references are simple values, but actually object reference is serialized as structured value and some of properties are also.- Specified by:
- structuredTypein interface- ItemDefinition<C extends Containerable>
- Specified by:
- structuredTypein interface- ItemDefinitionDelegator<C extends Containerable>
- Specified by:
- structuredTypein interface- PrismContainerDefinition<C extends Containerable>
 
 
-