Interface ShadowAttributesContainerDefinitionDelegator
- All Superinterfaces:
Cloneable
,ContainerDefinitionDelegator<ShadowAttributesType>
,DebugDumpable
,Definition
,DefinitionDelegator
,Freezable
,ItemDefinition<PrismContainer<ShadowAttributesType>>
,ItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
,LivePrismItemDefinition
,LocalItemDefinitionStore
,PrismContainerDefinition<ShadowAttributesType>
,PrismItemAccessDefinition
,PrismItemBasicDefinition
,PrismItemStorageDefinition
,PrismLifecycleDefinition
,PrismPresentationDefinition
,Revivable
,SchemaLookup.Aware
,Serializable
,ShadowAttributesContainerDefinition
,SmartVisitable<Definition>
,Visitable<Definition>
public interface ShadowAttributesContainerDefinitionDelegator
extends ContainerDefinitionDelegator<ShadowAttributesType>, ShadowAttributesContainerDefinition
-
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.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptiondelegate()
default ShadowSimpleAttributeDefinition<?>
findAttributeDefinition
(ItemPath elementPath) default Collection<? extends ShadowSimpleAttributeDefinition<?>>
Definition of the container values.default @NotNull List<? extends ItemDefinition<?>>
Returns a list of item definitions in this container.default Collection<? extends ShadowSimpleAttributeDefinition<?>>
TODO review docs Returns the definition of primary identifier attributes of a resource object.default Collection<? extends ShadowSimpleAttributeDefinition<?>>
TODO review docs Returns the definition of secondary identifier attributes of a resource object.default @NotNull List<? extends ShadowSimpleAttributeDefinition<?>>
default @NotNull ShadowAttributesContainer
Create an item instance.default @NotNull ShadowAttributesContainer
instantiate
(QName name) Create an item instance.Methods inherited from interface com.evolveum.midpoint.prism.deleg.ContainerDefinitionDelegator
canRepresent, cloneWithNewDefinition, createEmptyDelta, createValue, findContainerDefinition, findItemDefinition, getCompileTimeClass, 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, deepClone, 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, mutator, 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.schema.processor.ShadowAttributesContainerDefinition
clone, getResourceObjectDefinition, isUsedInSimpleAssociationObject
-
Method Details
-
delegate
ShadowAttributesContainerDefinition delegate()- Specified by:
delegate
in interfaceContainerDefinitionDelegator<ShadowAttributesType>
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
-
getPrimaryIdentifiers
Description copied from interface:ShadowAttributesContainerDefinition
TODO review docs Returns the definition of primary identifier attributes of a resource object. May return empty set if there are no identifier attributes. Must not return null. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing.- Specified by:
getPrimaryIdentifiers
in interfaceShadowAttributesContainerDefinition
- Returns:
- definition of identifier attributes
-
getSecondaryIdentifiers
Description copied from interface:ShadowAttributesContainerDefinition
TODO review docs Returns the definition of secondary identifier attributes of a resource object. May return empty set if there are no secondary identifier attributes. Must not return null. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing.- Specified by:
getSecondaryIdentifiers
in interfaceShadowAttributesContainerDefinition
- Returns:
- definition of secondary identifier attributes
-
getAllIdentifiers
- Specified by:
getAllIdentifiers
in interfaceShadowAttributesContainerDefinition
-
findAttributeDefinition
- Specified by:
findAttributeDefinition
in interfaceShadowAttributesContainerDefinition
-
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<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceShadowAttributesContainerDefinition
-
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<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceShadowAttributesContainerDefinition
-
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<ShadowAttributesType>
- Specified by:
getDefinitions
in interfaceLocalItemDefinitionStore
- Specified by:
getDefinitions
in interfacePrismContainerDefinition<ShadowAttributesType>
- Specified by:
getDefinitions
in interfaceShadowAttributesContainerDefinition
-
getSimpleAttributesDefinitions
@NotNull default @NotNull List<? extends ShadowSimpleAttributeDefinition<?>> getSimpleAttributesDefinitions()- Specified by:
getSimpleAttributesDefinitions
in interfaceShadowAttributesContainerDefinition
-
getComplexTypeDefinition
Description copied from interface:PrismContainerDefinition
Definition 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:
getComplexTypeDefinition
in interfaceContainerDefinitionDelegator<ShadowAttributesType>
- Specified by:
getComplexTypeDefinition
in interfacePrismContainerDefinition<ShadowAttributesType>
- Specified by:
getComplexTypeDefinition
in interfaceShadowAttributesContainerDefinition
-