Interface RefinedAttributeDefinitionDelegator<T>
-
- All Superinterfaces:
AttributeDefinitionDelegator<T>,Cloneable,DebugDumpable,Definition,DefinitionDelegator,Freezable,ItemDefinition<PrismProperty<T>>,ItemDefinitionDelegator<PrismProperty<T>>,LayeredDefinition,PrismContextSensitive,PrismItemAccessDefinition,PrismPropertyDefinition<T>,PropertyDefinitionDelegator<T>,RawResourceAttributeDefinition<T>,ResourceAttributeDefinition<T>,Revivable,Serializable,SmartVisitable<Definition>,Visitable<Definition>
- All Known Implementing Classes:
TransformablePropertyDefinition.RefinedAttribute
public interface RefinedAttributeDefinitionDelegator<T> extends AttributeDefinitionDelegator<T>, ResourceAttributeDefinition<T>
-
-
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 Default Methods Modifier and Type Method Description default booleancanAdd(LayerType layer)Is adding allowed (at specified layer)?default booleancanModify(LayerType layer)Is modification allowed (at specified layer)?default booleancanRead(LayerType layer)Is reading allowed (at specified layer)?default StringdebugDump(int indent, LayerType layer)Provides a debug dump respective to the given layer.ResourceAttributeDefinition<T>deepClone(@NotNull DeepCloneOperation operation)TODO documentResourceAttributeDefinition<T>delegate()default @Nullable ItemChangeApplicationModeTypegetChangeApplicationMode()TODOdefault @Nullable ItemCorrelatorDefinitionTypegetCorrelatorDefinition()default StringgetDescription()Gets the (configured) attribute description.default AttributeFetchStrategyTypegetFetchStrategy()Returns configured fetch strategy.default @NotNull List<InboundMappingType>getInboundMappingBeans()Gets the inbound mappings (if any).default @NotNull List<String>getIntolerantValuePatterns()Gets patterns for values that are not "tolerated" on the resource.default @Nullable StringgetLifecycleState()TODOdefault PropertyLimitationsgetLimitations(LayerType layer)Returns limitations (cardinality, access rights, processing) for given layer.default intgetMaxOccurs(LayerType layer)Gets `maxOccurs` limitation for given layer.default intgetMinOccurs(LayerType layer)Gets `minOccurs` limitation for given layer.default IntegergetModificationPriority()Determines the order in which this attribute should be modified (in very special cases).default @Nullable MappingTypegetOutboundMappingBean()Gets the outbound mapping, if defined.default ItemProcessinggetProcessing(LayerType layer)Gets the level of processing for specified layer.default RawResourceAttributeDefinition<T>getRawAttributeDefinition()Gets the original (raw) attribute definition.default BooleangetReadReplaceMode()Should be this attribute modified solely in "replace" mode?default @NotNull AttributeStorageStrategyTypegetStorageStrategy()Returns configured storage strategy.default @NotNull List<String>getTolerantValuePatterns()Gets patterns for values that are "tolerated" on the resource.default booleanisDisplayNameAttribute()Is this attribute configured to serve as a display name?default booleanisExclusiveStrong()Drives behavior of strong and normal mappings for this attribute.default BooleanisSecondaryIdentifierOverride()Is this attribute designated as a secondary identifier via `schemaHandling`?default booleanisTolerant()When set to true, allows to preserve attribute values that are set outside midPoint.default booleanisVolatilityTrigger()Is this attribute so-called volatility trigger, i.e.-
Methods inherited from interface com.evolveum.midpoint.schema.processor.deleg.AttributeDefinitionDelegator
forLayer, getCurrentLayer, getFrameworkAttributeName, getNativeAttributeName, getReturnedByDefault, hasOutboundMapping, instantiate, instantiate, isIgnored, isMandatory, isMultiValue, isOptional, isSingleValue, setOverrideCanAdd, setOverrideCanModify, setOverrideCanRead
-
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, 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
isMandatory, isMultiValue, isOptional, isSingleValue
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, findItemDefinition, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isValidFor, structuredType
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
createEmptyDelta, getTypeClass, isAnyType
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getSuggestedValues, getTypeClass, isIndexed
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.RawResourceAttributeDefinition
isReturnedByDefault
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceAttributeDefinition
clone, instantiate, instantiate, isVisible, spawnModifyingRaw, toMutable
-
-
-
-
Method Detail
-
delegate
ResourceAttributeDefinition<T> delegate()
- Specified by:
delegatein interfaceAttributeDefinitionDelegator<T>- Specified by:
delegatein interfaceDefinitionDelegator- Specified by:
delegatein interfaceItemDefinitionDelegator<T>- Specified by:
delegatein interfacePropertyDefinitionDelegator<T>
-
isTolerant
default boolean isTolerant()
Description copied from interface:ResourceAttributeDefinitionWhen set to true, allows to preserve attribute values that are set outside midPoint.- Specified by:
isTolerantin interfaceAttributeDefinitionDelegator<T>- Specified by:
isTolerantin interfaceResourceAttributeDefinition<T>- See Also:
ItemRefinedDefinitionType.isTolerant()
-
isSecondaryIdentifierOverride
default Boolean isSecondaryIdentifierOverride()
Description copied from interface:ResourceAttributeDefinitionIs this attribute designated as a secondary identifier via `schemaHandling`?- Specified by:
isSecondaryIdentifierOverridein interfaceAttributeDefinitionDelegator<T>- Specified by:
isSecondaryIdentifierOverridein interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.isSecondaryIdentifier()
-
canAdd
default boolean canAdd(LayerType layer)
Description copied from interface:ResourceAttributeDefinitionIs adding allowed (at specified layer)?- Specified by:
canAddin interfaceAttributeDefinitionDelegator<T>- Specified by:
canAddin interfaceResourceAttributeDefinition<T>- See Also:
PrismItemAccessDefinition.canAdd()
-
canRead
default boolean canRead(LayerType layer)
Description copied from interface:ResourceAttributeDefinitionIs reading allowed (at specified layer)?- Specified by:
canReadin interfaceAttributeDefinitionDelegator<T>- Specified by:
canReadin interfaceResourceAttributeDefinition<T>- See Also:
PrismItemAccessDefinition.canRead()
-
canModify
default boolean canModify(LayerType layer)
Description copied from interface:ResourceAttributeDefinitionIs modification allowed (at specified layer)?- Specified by:
canModifyin interfaceAttributeDefinitionDelegator<T>- Specified by:
canModifyin interfaceResourceAttributeDefinition<T>- See Also:
PrismItemAccessDefinition.canModify()
-
getProcessing
default ItemProcessing getProcessing(LayerType layer)
Description copied from interface:ResourceAttributeDefinitionGets the level of processing for specified layer.- Specified by:
getProcessingin interfaceAttributeDefinitionDelegator<T>- Specified by:
getProcessingin interfaceResourceAttributeDefinition<T>- See Also:
Definition.getProcessing()
-
getDescription
default String getDescription()
Description copied from interface:ResourceAttributeDefinitionGets the (configured) attribute description.- Specified by:
getDescriptionin interfaceAttributeDefinitionDelegator<T>- Specified by:
getDescriptionin interfaceResourceAttributeDefinition<T>- See Also:
ItemRefinedDefinitionType.getDescription()
-
getRawAttributeDefinition
default RawResourceAttributeDefinition<T> getRawAttributeDefinition()
Description copied from interface:ResourceAttributeDefinitionGets the original (raw) attribute definition.- Specified by:
getRawAttributeDefinitionin interfaceAttributeDefinitionDelegator<T>- Specified by:
getRawAttributeDefinitionin interfaceResourceAttributeDefinition<T>
-
getOutboundMappingBean
@Nullable default @Nullable MappingType getOutboundMappingBean()
Description copied from interface:ResourceAttributeDefinitionGets the outbound mapping, if defined.- Specified by:
getOutboundMappingBeanin interfaceAttributeDefinitionDelegator<T>- Specified by:
getOutboundMappingBeanin interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.getOutbound()
-
getInboundMappingBeans
@NotNull default @NotNull List<InboundMappingType> getInboundMappingBeans()
Description copied from interface:ResourceAttributeDefinitionGets the inbound mappings (if any).- Specified by:
getInboundMappingBeansin interfaceAttributeDefinitionDelegator<T>- Specified by:
getInboundMappingBeansin interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.getInbound()
-
getMaxOccurs
default int getMaxOccurs(LayerType layer)
Description copied from interface:ResourceAttributeDefinitionGets `maxOccurs` limitation for given layer.- Specified by:
getMaxOccursin interfaceAttributeDefinitionDelegator<T>- Specified by:
getMaxOccursin interfaceResourceAttributeDefinition<T>- See Also:
ItemDefinition.getMaxOccurs()
-
getMinOccurs
default int getMinOccurs(LayerType layer)
Description copied from interface:ResourceAttributeDefinitionGets `minOccurs` limitation for given layer.- Specified by:
getMinOccursin interfaceAttributeDefinitionDelegator<T>- Specified by:
getMinOccursin interfaceResourceAttributeDefinition<T>
-
isExclusiveStrong
default boolean isExclusiveStrong()
Description copied from interface:ResourceAttributeDefinitionDrives behavior of strong and normal mappings for this attribute.- Specified by:
isExclusiveStrongin interfaceAttributeDefinitionDelegator<T>- Specified by:
isExclusiveStrongin interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.isExclusiveStrong()
-
getLimitations
default PropertyLimitations getLimitations(LayerType layer)
Description copied from interface:ResourceAttributeDefinitionReturns limitations (cardinality, access rights, processing) for given layer. These are obtained from resource and/or explicitly configured.- Specified by:
getLimitationsin interfaceAttributeDefinitionDelegator<T>- Specified by:
getLimitationsin interfaceResourceAttributeDefinition<T>- See Also:
ItemRefinedDefinitionType.getLimitations()
-
getFetchStrategy
default AttributeFetchStrategyType getFetchStrategy()
Description copied from interface:ResourceAttributeDefinitionReturns configured fetch strategy.- Specified by:
getFetchStrategyin interfaceAttributeDefinitionDelegator<T>- Specified by:
getFetchStrategyin interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.getFetchStrategy()
-
getStorageStrategy
@NotNull default @NotNull AttributeStorageStrategyType getStorageStrategy()
Description copied from interface:ResourceAttributeDefinitionReturns configured storage strategy.- Specified by:
getStorageStrategyin interfaceAttributeDefinitionDelegator<T>- Specified by:
getStorageStrategyin interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.getStorageStrategy()
-
getTolerantValuePatterns
@NotNull default @NotNull List<String> getTolerantValuePatterns()
Description copied from interface:ResourceAttributeDefinitionGets patterns for values that are "tolerated" on the resource.- Specified by:
getTolerantValuePatternsin interfaceAttributeDefinitionDelegator<T>- Specified by:
getTolerantValuePatternsin interfaceResourceAttributeDefinition<T>- See Also:
ResourceAttributeDefinition.isTolerant(),ItemRefinedDefinitionType.getTolerantValuePattern()
-
getIntolerantValuePatterns
@NotNull default @NotNull List<String> getIntolerantValuePatterns()
Description copied from interface:ResourceAttributeDefinitionGets patterns for values that are not "tolerated" on the resource.- Specified by:
getIntolerantValuePatternsin interfaceAttributeDefinitionDelegator<T>- Specified by:
getIntolerantValuePatternsin interfaceResourceAttributeDefinition<T>- See Also:
ResourceAttributeDefinition.isTolerant(),ItemRefinedDefinitionType.getIntolerantValuePattern()
-
isVolatilityTrigger
default boolean isVolatilityTrigger()
Description copied from interface:ResourceAttributeDefinitionIs this attribute so-called volatility trigger, i.e. may its changes cause changes in other attributes?- Specified by:
isVolatilityTriggerin interfaceAttributeDefinitionDelegator<T>- Specified by:
isVolatilityTriggerin interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.isVolatilityTrigger()
-
debugDump
default String debugDump(int indent, LayerType layer)
Description copied from interface:ResourceAttributeDefinitionProvides a debug dump respective to the given layer. TODO reconsider this method- Specified by:
debugDumpin interfaceAttributeDefinitionDelegator<T>- Specified by:
debugDumpin interfaceResourceAttributeDefinition<T>
-
getModificationPriority
default Integer getModificationPriority()
Description copied from interface:ResourceAttributeDefinitionDetermines the order in which this attribute should be modified (in very special cases).- Specified by:
getModificationPriorityin interfaceAttributeDefinitionDelegator<T>- Specified by:
getModificationPriorityin interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.getModificationPriority()
-
getReadReplaceMode
default Boolean getReadReplaceMode()
Description copied from interface:ResourceAttributeDefinitionShould be this attribute modified solely in "replace" mode?- Specified by:
getReadReplaceModein interfaceAttributeDefinitionDelegator<T>- Specified by:
getReadReplaceModein interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.isReadReplaceMode()
-
isDisplayNameAttribute
default boolean isDisplayNameAttribute()
Description copied from interface:ResourceAttributeDefinitionIs this attribute configured to serve as a display name?- Specified by:
isDisplayNameAttributein interfaceAttributeDefinitionDelegator<T>- Specified by:
isDisplayNameAttributein interfaceResourceAttributeDefinition<T>- See Also:
ResourceItemDefinitionType.isDisplayNameAttribute()
-
getCorrelatorDefinition
@Nullable default @Nullable ItemCorrelatorDefinitionType getCorrelatorDefinition()
- Specified by:
getCorrelatorDefinitionin interfaceAttributeDefinitionDelegator<T>- Specified by:
getCorrelatorDefinitionin interfaceResourceAttributeDefinition<T>- See Also:
ItemRefinedDefinitionType.getCorrelator()
-
getChangeApplicationMode
@Nullable default @Nullable ItemChangeApplicationModeType getChangeApplicationMode()
Description copied from interface:ResourceAttributeDefinitionTODO- Specified by:
getChangeApplicationModein interfaceAttributeDefinitionDelegator<T>- Specified by:
getChangeApplicationModein interfaceResourceAttributeDefinition<T>
-
getLifecycleState
@Nullable default @Nullable String getLifecycleState()
Description copied from interface:ResourceAttributeDefinitionTODO- Specified by:
getLifecycleStatein interfaceAttributeDefinitionDelegator<T>- Specified by:
getLifecycleStatein interfaceResourceAttributeDefinition<T>
-
deepClone
ResourceAttributeDefinition<T> deepClone(@NotNull @NotNull DeepCloneOperation operation)
Description copied from interface:ItemDefinitionTODO document- Specified by:
deepClonein interfaceAttributeDefinitionDelegator<T>- Specified by:
deepClonein interfaceItemDefinition<T>- Specified by:
deepClonein interfaceItemDefinitionDelegator<T>- Specified by:
deepClonein interfaceResourceAttributeDefinition<T>
-
-