Class TransformableContainerDefinition.AttributeContainer
java.lang.Object
com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition<PrismContainer<C>,PrismContainerDefinition<C>>
com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition<ShadowAttributesType>
com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition.AttributeContainer
- All Implemented Interfaces:
PartiallyMutableItemDefinition<PrismContainer<ShadowAttributesType>>
,PartiallyMutableItemDefinition.Container<ShadowAttributesType>
,Definition
,ContainerDefinitionDelegator<ShadowAttributesType>
,DefinitionDelegator
,ItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
,Freezable
,ItemDefinition<PrismContainer<ShadowAttributesType>>
,LocalItemDefinitionStore
,MutableDefinition
,MutableItemDefinition<PrismContainer<ShadowAttributesType>>
,MutablePrismContainerDefinition<ShadowAttributesType>
,PrismContainerDefinition<ShadowAttributesType>
,PrismContextSensitive
,PrismItemAccessDefinition
,PrismItemAccessDefinition.Mutable
,Revivable
,SmartVisitable<Definition>
,Visitable<Definition>
,AttributeContainerDefinitionDelegator
,ResourceAttributeContainerDefinition
,DebugDumpable
,Serializable
,Cloneable
- Enclosing class:
- TransformableContainerDefinition<C extends Containerable>
public static class TransformableContainerDefinition.AttributeContainer
extends TransformableContainerDefinition<ShadowAttributesType>
implements AttributeContainerDefinitionDelegator
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition
TransformableContainerDefinition.AttributeContainer
Nested classes/interfaces inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition
PartiallyMutableItemDefinition.Attribute<T>, PartiallyMutableItemDefinition.Container<C extends Containerable>, PartiallyMutableItemDefinition.Property<T>, PartiallyMutableItemDefinition.Reference
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Mutable
-
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition
complexTypeDefinition
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ModifierConstructorDescriptionAttributeContainer
(TransformableContainerDefinition.AttributeContainer copy, TransformableComplexTypeDefinition typeDef) protected
-
Method Summary
Modifier and TypeMethodDescription@NotNull ResourceAttributeContainerDefinition
clone()
cloneWithReplacedDefinition
(QName itemName, ItemDefinition<?> newDefinition) TODOdelegate()
Definition of the container values.@NotNull List<? extends ResourceAttributeDefinition<?>>
Returns a list of item definitions in this container.@NotNull ResourceAttributeContainer
Create an item instance.@NotNull ResourceAttributeContainer
instantiate
(QName elementName) Create an item instance.Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableContainerDefinition
copy, copy, createEmptyDelta, deepClone, ensureMutableType, findContainerDefinition, findItemDefinition, freeze, getCompileTimeClass, getPropertyDefinitions, getTypeClass, getTypeName, isEmpty, isImmutable, of, publicView, replaceDefinition, require, toMutable
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, canAdd, canModify, canRead, delegatedItem, from, getDisplayName, getDisplayOrder, getHelp, getMaxOccurs, getMinOccurs, getProcessing, getValueEnumerationRef, isDeprecated, isEmphasized, isExperimental, publicFrom, revive, setCanAdd, setCanModify, setCanRead, setDeprecated, setDisplayName, setDisplayOrder, setEmphasized, setExperimental, setHelp, setMaxOccurs, setMinOccurs, setProcessing, setValueEnumerationRef, toString
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
annotationsOverrides, getAnnotation, setAnnotation
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.schema.processor.deleg.AttributeContainerDefinitionDelegator
findAttributeDefinition, findAttributeDefinition, findAttributeDefinition, getAllIdentifiers, getAttributeDefinitions, getDescriptionAttribute, getDisplayNameAttribute, getNamingAttribute, getNativeObjectClass, getPrimaryIdentifiers, getSecondaryIdentifiers, isDefaultAccountDefinition, toShadowDefinition
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ContainerDefinitionDelegator
canRepresent, createEmptyDelta, createValue, findContainerDefinition, findItemDefinition, getCompileTimeClass, getItemNames, getPropertyDefinitions, getTypeClass, isEmpty, replaceDefinition, structuredType
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, 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, setAnnotation
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMandatory, isMultiValue, isOptional, isSingleValue
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, deepClone, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, 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.MutablePrismContainerDefinition
setAlwaysUseForEquals
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition
addDiagram, addSchemaMigration, setCanAdd, setCanModify, setCanRead, setDeprecated, setDeprecatedSince, setDisplayName, setDisplayOrder, setDocumentation, setDynamic, setElaborate, setEmphasized, setExperimental, setHelp, setHeterogeneousListItem, setIndexOnly, setInherited, setItemName, setMaxOccurs, setMinOccurs, setOperational, setPlannedRemoval, setProcessing, setReadOnly, setRemoved, setRemovedSince, setRuntimeSchema, setSearchable, setSubstitutionHead, setTypeName, setValueEnumerationRef
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Container
createContainerDefinition, createContainerDefinition, createPropertyDefinition, createPropertyDefinition, createPropertyDefinition, setCompileTimeClass, setComplexTypeDefinition
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
createEmptyDelta, getAlwaysUseForEquals, getTypeClass, isAlwaysUseForEquals, isCompletelyDefined, structuredType, toMutable
-
Constructor Details
-
AttributeContainer
-
AttributeContainer
public AttributeContainer(TransformableContainerDefinition.AttributeContainer copy, TransformableComplexTypeDefinition typeDef)
-
-
Method Details
-
delegate
- Specified by:
delegate
in interfaceAttributeContainerDefinitionDelegator
- Specified by:
delegate
in interfaceContainerDefinitionDelegator<ShadowAttributesType>
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
- Overrides:
delegate
in classTransformableItemDefinition<PrismContainer<ShadowAttributesType>,
PrismContainerDefinition<ShadowAttributesType>>
-
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 interfaceAttributeContainerDefinitionDelegator
- Specified by:
getDefinitions
in interfaceContainerDefinitionDelegator<ShadowAttributesType>
- Specified by:
getDefinitions
in interfaceLocalItemDefinitionStore
- Specified by:
getDefinitions
in interfacePrismContainerDefinition<ShadowAttributesType>
- Specified by:
getDefinitions
in interfaceResourceAttributeContainerDefinition
- Overrides:
getDefinitions
in classTransformableContainerDefinition<ShadowAttributesType>
-
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 interfaceAttributeContainerDefinitionDelegator
- Specified by:
getComplexTypeDefinition
in interfaceContainerDefinitionDelegator<ShadowAttributesType>
- Specified by:
getComplexTypeDefinition
in interfacePrismContainerDefinition<ShadowAttributesType>
- Specified by:
getComplexTypeDefinition
in interfaceResourceAttributeContainerDefinition
- Overrides:
getComplexTypeDefinition
in classTransformableContainerDefinition<ShadowAttributesType>
-
cloneWithReplacedDefinition
public PrismContainerDefinition<ShadowAttributesType> cloneWithReplacedDefinition(QName itemName, ItemDefinition<?> newDefinition) Description copied from interface:PrismContainerDefinition
TODO- Specified by:
cloneWithReplacedDefinition
in interfaceContainerDefinitionDelegator<ShadowAttributesType>
- Specified by:
cloneWithReplacedDefinition
in interfacePrismContainerDefinition<ShadowAttributesType>
- Overrides:
cloneWithReplacedDefinition
in classTransformableContainerDefinition<ShadowAttributesType>
-
clone
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<PrismContainer<ShadowAttributesType>>
- Specified by:
clone
in interfacePrismContainerDefinition<ShadowAttributesType>
- Specified by:
clone
in interfaceResourceAttributeContainerDefinition
- Overrides:
clone
in classTransformableContainerDefinition<ShadowAttributesType>
-
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 interfaceAttributeContainerDefinitionDelegator
- Specified by:
instantiate
in interfaceItemDefinition<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceResourceAttributeContainerDefinition
- Overrides:
instantiate
in classTransformableContainerDefinition<ShadowAttributesType>
-
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 interfaceAttributeContainerDefinitionDelegator
- Specified by:
instantiate
in interfaceItemDefinition<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<PrismContainer<ShadowAttributesType>>
- Specified by:
instantiate
in interfaceResourceAttributeContainerDefinition
- Overrides:
instantiate
in classTransformableContainerDefinition<ShadowAttributesType>
-