Class ResourceAttributeWrapperImpl<T>
java.lang.Object
com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
com.evolveum.midpoint.gui.impl.prism.wrapper.PrismPropertyWrapperImpl<T>
com.evolveum.midpoint.gui.impl.prism.wrapper.ResourceAttributeWrapperImpl<T>
- All Implemented Interfaces:
ItemWrapper<PrismProperty<T>,,PrismPropertyValueWrapper<T>> PrismPropertyWrapper<T>,ResourceAttributeWrapper<T>,Definition,Freezable,ItemDefinition<PrismProperty<T>>,LivePrismItemDefinition,PrismItemAccessDefinition,PrismItemBasicDefinition,PrismItemInstantiableDefinition<T,,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> PrismItemMatchingDefinition<T>,PrismItemMiscDefinition,PrismItemStorageDefinition,PrismItemValuesDefinition<T>,PrismLifecycleDefinition,PrismPresentationDefinition,PrismPropertyDefinition<T>,Revivable,SchemaLookup.Aware,SmartVisitable<Definition>,Visitable<Definition>,LayeredDefinition,ResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition,ShadowAttributeDefinition<PrismPropertyValue<T>,,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> ShadowAttributeUcfDefinition,ShadowItemDefinition,ShadowItemLayeredDefinition,ShadowSimpleAttributeDefinition<T>,DebugDumpable,ShortDumpable,Serializable,Cloneable
public class ResourceAttributeWrapperImpl<T>
extends PrismPropertyWrapperImpl<T>
implements ResourceAttributeWrapper<T>
- Author:
- skublik
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.Definition
Definition.DefinitionBuilder, Definition.DefinitionMutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.ItemDefinition
ItemDefinition.ItemDefinitionLikeBuilder, ItemDefinition.ItemDefinitionMutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Data, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Info, PrismItemAccessDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
PrismItemBasicDefinition.Data, PrismItemBasicDefinition.Delegable, PrismItemBasicDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
PrismItemMatchingDefinition.Data<T>, PrismItemMatchingDefinition.Delegable<T>, PrismItemMatchingDefinition.MutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition
PrismItemMiscDefinition.Data, PrismItemMiscDefinition.Delegable, PrismItemMiscDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
PrismItemStorageDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition
PrismItemValuesDefinition.Data<T>, PrismItemValuesDefinition.Delegable<T>, PrismItemValuesDefinition.Mutator<T>Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
PrismPropertyDefinition.PrismPropertyDefinitionMutator<T>, PrismPropertyDefinition.PrismPropertyLikeDefinitionBuilder<T>Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeUcfDefinition
ShadowAttributeUcfDefinition.Data, ShadowAttributeUcfDefinition.Delegable, ShadowAttributeUcfDefinition.Mutable -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionResourceAttributeWrapperImpl(PrismContainerValueWrapper<?> parent, ShadowSimpleAttribute<T> item, ItemStatus status) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAdd()Returns true if this item can be added: it can be part of an object that is created.booleanIs adding allowed (at specified layer)?booleanReturns true if this item can be modified (updated).booleanIs modification allowed (at specified layer)?booleancanRead()Returns true if this item can be read (displayed).booleanIs reading allowed (at specified layer)?@NotNull ShadowSimpleAttributeDefinition<T>clone()createPrismValueFromRealValue(@NotNull Object realValue) debugDump(int indent) Provides a debug dump respective to the given layer.deepClone(@NotNull DeepCloneOperation operation) TODO document@NotNull ShadowSimpleAttributeDefinition<T>Creates a view of the current definition for a given layer.@Nullable ItemChangeApplicationModeType@NotNull LayerTypeGets the current point-of-view: on which layer do we look at the data?Gets the (configured) attribute description.@NotNull AttributeFetchStrategyTypeReturns configured fetch strategy.Returns name of the attribute as given in the connector framework.@NotNull List<InboundMappingType>Gets the inbound mappings (if any).Gets patterns for values that are not "tolerated" on the resource.@Nullable StringgetLimitations(LayerType layer) Returns limitations (cardinality, access rights, processing) for given layer.intReturns the number of maximal value occurrences.intgetMaxOccurs(LayerType layer) Gets `maxOccurs` limitation for given layer.intReturns the number of minimal value occurrences.intgetMinOccurs(LayerType layer) Gets `minOccurs` limitation for given layer.Determines the order in which this attribute should be modified (in very special cases).Returns native attribute name.@Nullable MappingTypeGets the outbound mapping, if defined.Level of processing (ignore, minimal, auto, full) for this item/type.getProcessing(LayerType layer) Gets the level of processing for specified layer.Should be this attribute modified solely in "replace" mode?@Nullable BooleanIs this attribute returned by default?@Nullable SchemaContextDefinition@NotNull AttributeStorageStrategyTypeReturns configured storage strategy.Gets patterns for values that are "tolerated" on the resource.booleanReturns `true` if there are any refinements (like in `schemaHandling`).@NotNull ShadowSimpleAttribute<T>Create an item instance.@NotNull ShadowSimpleAttribute<T>instantiate(QName name) Create an item instance.isCached()If present, it overrides the inclusion/exclusion of this item in/from the shadow caching.booleanIs this attribute configured to serve as a display name?booleanDrives behavior of strong and normal mappings for this attribute.booleanIs this attribute designated as a secondary identifier via `schemaHandling`?booleanIf `true`, the item does not exist on the resource, but is simulated by midPoint.booleanWhen set to true, allows to preserve attribute values that are set outside midPoint.booleanThis attribute may get unexpected values when the object is created on the resource.booleanThis attribute may get unexpected values when the object is updated on the resource, regardless of what attributes are modified and in what way.booleanIs this attribute so-called volatility trigger, i.e. may its changes cause changes in other attributes?voidsetOverrideCanAdd(Boolean value) Provides a value that will overrideShadowItemLayeredDefinition.canAdd(LayerType)return values (for all layers).voidsetOverrideCanModify(Boolean value) Provides a value that will overrideShadowItemLayeredDefinition.canModify(LayerType)return values (for all layers).voidsetOverrideCanRead(Boolean value) Provides a value that will overrideShadowItemLayeredDefinition.canRead(LayerType)return values (for all layers).voidShow the content of the object intended for diagnostics.Returns complex type definition of item, if underlying value is possible structured.Methods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.PrismPropertyWrapperImpl
accept, accept, cloneWithNewName, createEmptyDelta, createNewEmptyValue, defaultValue, freeze, getAllowedValues, getDelta, getItemDefinition, getMatchingRule, getMatchingRuleQName, getPredefinedValuesOid, getSuggestedValues, getTypeClass, isEmpty, isImmutable, isIndexed, mutator, removeNotChangedStatusValue, setMuteDeltaCreate, setPredefinedValuesOidMethods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl
add, addValueToDelta, checkRequired, computeDeltaInternal, debugDumpShortToString, findItemDefinition, findObjectStatus, findObjectWrapper, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getFormComponentValidator, getHelp, getItem, getItemName, getMergerIdentifier, getMergerInstance, getNaturalKeyConstituents, getNaturalKeyInstance, getOldItem, getParent, getParentContainerValue, getPath, getPlannedRemoval, getPreconditionDeltas, getRemovedSince, getSchemaMigrations, getStatus, getSubstitutionHead, getTypeName, getValue, getValueEnumerationRef, getValues, getVisibleOverwrite, isAbstract, isAlwaysUseForEquals, isColumn, isDeprecated, isDynamic, isElaborate, isEmphasized, isExperimental, isHeterogeneousListItem, isIndexOnly, isInherited, isMetadata, isOperational, isOptionalCleanup, isProcessProvenanceMetadata, isReadOnly, isRemoved, isRuntimeSchema, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isValidFor, isVisible, isVisibleByVisibilityHandler, remove, removeAll, revive, setColumn, setDisplayName, setDisplayOrder, setHelp, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowEmpty, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwrite, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchemaMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
cloneWithNewName, createEmptyDelta, debugDumpShortToString, getSubstitutionHead, getValueEnumerationRef, isAlwaysUseForEquals, isDynamic, isHeterogeneousListItem, isInherited, isOperationalMethods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.ItemWrapper
add, checkRequired, findObjectStatus, findObjectWrapper, getDelta, getFormComponentValidator, getItem, getParent, getParentContainerValue, getPath, getPreconditionDeltas, getStatus, getValue, getValues, getVisibleOverwrite, isColumn, isEmpty, isMetadata, isProcessProvenanceMetadata, isReadOnly, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isVisible, remove, removeAll, setColumn, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowEmpty, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwriteMethods inherited from interface com.evolveum.midpoint.prism.LivePrismItemDefinition
isValidForMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
getInfoMethods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getItemName, getTypeName, isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.PrismItemInstantiableDefinition
createEmptyDeltaMethods inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
getMatchingRule, getMatchingRuleQName, getNormalizer, getStringNormalizerForPolyStringProperty, getStringNormalizerIfApplicable, getTypeName, isCustomPolyStringMethods inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
isIndexed, isIndexOnly, isSearchableMethods inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition
defaultValue, getAllowedValues, getSuggestedValues, getValueEnumerationRefMethods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
getDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemovedMethods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasizedMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
convertStringValueToPolyString, getTypeClassLegacy, isAnyTypeMethods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.PrismPropertyWrapper
getPredefinedValuesOid, setPredefinedValuesOidMethods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookupMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeDefinition
getStandardPath, hasOutboundMapping, instantiateFrom, instantiateFromRealValue, instantiateFromRealValues, isEffectivelyCached, isIgnored, isReturnedByDefault, isVisibleMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowItemDefinition
isVisibleMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowItemLayeredDefinition
isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowSimpleAttributeDefinition
convertPrismValue, createEmptyDelta, findItemDefinition, getTypeClass, mutator, toNormalizationAwareMethods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
Constructor Details
-
ResourceAttributeWrapperImpl
public ResourceAttributeWrapperImpl(PrismContainerValueWrapper<?> parent, ShadowSimpleAttribute<T> item, ItemStatus status)
-
-
Method Details
-
isTolerant
public boolean isTolerant()Description copied from interface:ShadowAttributeDefinitionWhen set to true, allows to preserve attribute values that are set outside midPoint.- Specified by:
isTolerantin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
isSecondaryIdentifierOverride
Description copied from interface:ShadowSimpleAttributeDefinitionIs this attribute designated as a secondary identifier via `schemaHandling`?- Specified by:
isSecondaryIdentifierOverridein interfaceShadowSimpleAttributeDefinition<T>- See Also:
-
canAdd
public boolean canAdd()Description copied from interface:PrismItemAccessDefinitionReturns true if this item can be added: it can be part of an object that is created. In case of containers this means that the container itself should be displayed in creation forms E.g. that the container label or block should be displayed. This usually happens if the container contains at least one createable item. This does NOT mean that also all the container items can be created. The sub-item permissions are controlled by similar properties on the items. This property only applies to the container itself: the "shell" of the container.- Specified by:
canAddin interfacePrismItemAccessDefinition- Overrides:
canAddin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
canAdd
Description copied from interface:ShadowItemLayeredDefinitionIs adding allowed (at specified layer)?- Specified by:
canAddin interfaceShadowItemLayeredDefinition- See Also:
-
canRead
public boolean canRead()Description copied from interface:PrismItemAccessDefinitionReturns true if this item can be read (displayed). In case of containers this flag is, strictly speaking, not applicable. Container is an empty shell. What matters is access to individual sub-item. However, for containers this value has a "hint" meaning. It means that the container itself contains something that is readable. Which can be used as a hint by the presentation to display container label or block. This usually happens if the container contains at least one readable item. This does NOT mean that also all the container items can be displayed. The sub-item permissions are controlled by similar properties on the items. This property only applies to the container itself: the "shell" of the container. Note: It was considered to use a different meaning for this flag - a meaning that would allow canRead()=false containers to have readable items. However, this was found not to be very useful. Therefore the "something readable inside" meaning was confirmed instead.- Specified by:
canReadin interfacePrismItemAccessDefinition- Overrides:
canReadin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
canRead
Description copied from interface:ShadowItemLayeredDefinitionIs reading allowed (at specified layer)?- Specified by:
canReadin interfaceShadowItemLayeredDefinition- See Also:
-
canModify
public boolean canModify()Description copied from interface:PrismItemAccessDefinitionReturns true if this item can be modified (updated). In case of containers this means that the container itself should be displayed in modification forms E.g. that the container label or block should be displayed. This usually happens if the container contains at least one modifiable item. This does NOT mean that also all the container items can be modified. The sub-item permissions are controlled by similar properties on the items. This property only applies to the container itself: the "shell" of the container.- Specified by:
canModifyin interfacePrismItemAccessDefinition- Overrides:
canModifyin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
canModify
Description copied from interface:ShadowItemLayeredDefinitionIs modification allowed (at specified layer)?- Specified by:
canModifyin interfaceShadowItemLayeredDefinition- See Also:
-
isIgnored
public boolean isIgnored()- Specified by:
isIgnoredin interfaceItemDefinition<T>- Overrides:
isIgnoredin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
getProcessing
Description copied from interface:PrismItemMiscDefinitionLevel of processing (ignore, minimal, auto, full) for this item/type.- Specified by:
getProcessingin interfaceItemDefinition<T>- Specified by:
getProcessingin interfacePrismItemMiscDefinition- Overrides:
getProcessingin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
getProcessing
Description copied from interface:ShadowItemLayeredDefinitionGets the level of processing for specified layer.- Specified by:
getProcessingin interfaceShadowItemLayeredDefinition- See Also:
-
getDescription
Description copied from interface:ShadowAttributeDefinitionGets the (configured) attribute description.- Specified by:
getDescriptionin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getOutboundMappingBean
Description copied from interface:ShadowAttributeDefinitionGets the outbound mapping, if defined.- Specified by:
getOutboundMappingBeanin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getInboundMappingBeans
Description copied from interface:ShadowAttributeDefinitionGets the inbound mappings (if any).- Specified by:
getInboundMappingBeansin interfaceResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition- Specified by:
getInboundMappingBeansin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getMaxOccurs
public int getMaxOccurs()Description copied from interface:PrismItemBasicDefinitionReturns the number of maximal value occurrences. Any negative number means "unbounded".- Specified by:
getMaxOccursin interfacePrismItemBasicDefinition- Overrides:
getMaxOccursin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
getMaxOccurs
Description copied from interface:ShadowItemLayeredDefinitionGets `maxOccurs` limitation for given layer.- Specified by:
getMaxOccursin interfaceShadowItemLayeredDefinition- See Also:
-
getMinOccurs
public int getMinOccurs()Description copied from interface:PrismItemBasicDefinitionReturns the number of minimal value occurrences.- Specified by:
getMinOccursin interfacePrismItemBasicDefinition- Overrides:
getMinOccursin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
getMinOccurs
Description copied from interface:ShadowItemLayeredDefinitionGets `minOccurs` limitation for given layer.- Specified by:
getMinOccursin interfaceShadowItemLayeredDefinition
-
isExclusiveStrong
public boolean isExclusiveStrong()Description copied from interface:ShadowAttributeDefinitionDrives behavior of strong and normal mappings for this attribute.- Specified by:
isExclusiveStrongin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getLimitations
Description copied from interface:ShadowItemLayeredDefinitionReturns limitations (cardinality, access rights, processing) for given layer. These are obtained from resource and/or explicitly configured.- Specified by:
getLimitationsin interfaceShadowItemLayeredDefinition- See Also:
-
getFetchStrategy
Description copied from interface:ShadowAttributeDefinitionReturns configured fetch strategy.- Specified by:
getFetchStrategyin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getStorageStrategy
Description copied from interface:ShadowAttributeDefinitionReturns configured storage strategy.- Specified by:
getStorageStrategyin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
isCached
Description copied from interface:ShadowAttributeDefinitionIf present, it overrides the inclusion/exclusion of this item in/from the shadow caching. Please use theShadowAttributeDefinition.isEffectivelyCached(ResourceObjectDefinition)method to determine the effective caching status.- Specified by:
isCachedin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
getTolerantValuePatterns
Description copied from interface:ShadowAttributeDefinitionGets patterns for values that are "tolerated" on the resource. -
getIntolerantValuePatterns
Description copied from interface:ShadowAttributeDefinitionGets patterns for values that are not "tolerated" on the resource. -
isVolatilityTrigger
public boolean isVolatilityTrigger()Description copied from interface:ShadowAttributeDefinitionIs this attribute so-called volatility trigger, i.e. may its changes cause changes in other attributes? -
isVolatileOnAddOperation
public boolean isVolatileOnAddOperation()Description copied from interface:ShadowAttributeDefinitionThis attribute may get unexpected values when the object is created on the resource. (Regardless of whether any value is provided by the client. These subtle cases may get distinguished later.)- Specified by:
isVolatileOnAddOperationin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
isVolatileOnModifyOperation
public boolean isVolatileOnModifyOperation()Description copied from interface:ShadowAttributeDefinitionThis attribute may get unexpected values when the object is updated on the resource, regardless of what attributes are modified and in what way.- Specified by:
isVolatileOnModifyOperationin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
getSchemaContextDefinition
- Specified by:
getSchemaContextDefinitionin interfaceDefinition- Overrides:
getSchemaContextDefinitionin classPrismPropertyWrapperImpl<T>
-
clone
- Specified by:
clonein interfaceDefinition- Specified by:
clonein interfaceItemDefinition<T>- Specified by:
clonein interfacePrismPropertyDefinition<T>- Specified by:
clonein interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
clonein interfaceShadowSimpleAttributeDefinition<T>- Overrides:
clonein classPrismPropertyWrapperImpl<T>
-
deepClone
Description copied from interface:ItemDefinitionTODO document- Specified by:
deepClonein interfaceItemDefinition<T>- Specified by:
deepClonein interfaceResourceAttributeWrapper<T>- Specified by:
deepClonein interfaceShadowSimpleAttributeDefinition<T>- Overrides:
deepClonein classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable- Specified by:
debugDumpin interfaceItemWrapper<PrismProperty<T>,PrismPropertyValueWrapper<T>> - Overrides:
debugDumpin classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
debugDump
Description copied from interface:ShadowAttributeDefinitionProvides a debug dump respective to the given layer.- Specified by:
debugDumpin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
forLayer
@NotNull public @NotNull ShadowSimpleAttributeDefinition<T> forLayer(@NotNull @NotNull LayerType layer) Description copied from interface:ShadowAttributeDefinitionCreates a view of the current definition for a given layer. (May return even the original object e.g. if the layer matches the current one.)- Specified by:
forLayerin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
forLayerin interfaceShadowSimpleAttributeDefinition<T>
-
setOverrideCanRead
Description copied from interface:ShadowAttributeDefinitionProvides a value that will overrideShadowItemLayeredDefinition.canRead(LayerType)return values (for all layers). Used e.g. when applying authorizations on the definition.- Specified by:
setOverrideCanReadin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
setOverrideCanAdd
Description copied from interface:ShadowAttributeDefinitionProvides a value that will overrideShadowItemLayeredDefinition.canAdd(LayerType)return values (for all layers). Used e.g. when applying authorizations on the definition.- Specified by:
setOverrideCanAddin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
setOverrideCanModify
Description copied from interface:ShadowAttributeDefinitionProvides a value that will overrideShadowItemLayeredDefinition.canModify(LayerType)return values (for all layers). Used e.g. when applying authorizations on the definition.- Specified by:
setOverrideCanModifyin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
getModificationPriority
Description copied from interface:ShadowAttributeDefinitionDetermines the order in which this attribute should be modified (in very special cases).- Specified by:
getModificationPriorityin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getReadReplaceMode
Description copied from interface:ShadowAttributeDefinitionShould be this attribute modified solely in "replace" mode?- Specified by:
getReadReplaceModein interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
isDisplayNameAttribute
public boolean isDisplayNameAttribute()Description copied from interface:ShadowSimpleAttributeDefinitionIs this attribute configured to serve as a display name?- Specified by:
isDisplayNameAttributein interfaceShadowSimpleAttributeDefinition<T>- See Also:
-
getCorrelatorDefinition
- Specified by:
getCorrelatorDefinitionin interfaceResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition- Specified by:
getCorrelatorDefinitionin interfaceShadowSimpleAttributeDefinition<T>- See Also:
-
getChangeApplicationMode
- Specified by:
getChangeApplicationModein interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getLifecycleState
- Specified by:
getLifecycleStatein interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
getLifecycleStatein interfaceShadowItemDefinition- See Also:
-
instantiate
Description copied from interface:ItemDefinitionCreate 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:
instantiatein interfaceItemDefinition<T>- Specified by:
instantiatein interfacePrismItemInstantiableDefinition<T,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
instantiatein interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Overrides:
instantiatein classPrismPropertyWrapperImpl<T>
-
instantiate
Description copied from interface:ItemDefinitionCreate an item instance. Definition name will use provided name. for the instance. The instance will otherwise be empty.- Specified by:
instantiatein interfaceItemDefinition<T>- Specified by:
instantiatein interfacePrismItemInstantiableDefinition<T,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
instantiatein interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Overrides:
instantiatein classPrismPropertyWrapperImpl<T>
-
createPrismValueFromRealValue
public PrismPropertyValue<T> createPrismValueFromRealValue(@NotNull @NotNull Object realValue) throws SchemaException - Specified by:
createPrismValueFromRealValuein interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Throws:
SchemaException
-
getHumanReadableDescription
- Specified by:
getHumanReadableDescriptionin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
isSimulated
public boolean isSimulated()Description copied from interface:ShadowAttributeDefinitionIf `true`, the item does not exist on the resource, but is simulated by midPoint. Applies to reference attributes for now.- Specified by:
isSimulatedin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
structuredType
Description 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 interfaceItemDefinition<T>- Overrides:
structuredTypein classItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
-
getReturnedByDefault
Description copied from interface:ShadowAttributeUcfDefinitionIs this attribute returned by default? (I.e. if no specific options are sent to the connector?)- Specified by:
getReturnedByDefaultin interfaceShadowAttributeUcfDefinition
-
getNativeAttributeName
Description copied from interface:ShadowAttributeUcfDefinitionReturns native attribute name. Native name of the attribute is a name as it is used on the resource or as seen by the connector. It is used for diagnostics purposes and may be used by the connector itself. As the attribute names in XSD have to comply with XML element name limitations, this may be the only way how to determine original attribute name. Returns null if native attribute name is not set or unknown. The name should be the same as the one used by the resource, if the resource supports naming of attributes. E.g. in case of LDAP this annotation should contain "cn", "givenName", etc. If the resource is not that flexible, the native attribute names may be hardcoded (e.g. "username", "homeDirectory") or may not be present at all.- Specified by:
getNativeAttributeNamein interfaceShadowAttributeUcfDefinition- Returns:
- native attribute name
-
getFrameworkAttributeName
Description copied from interface:ShadowAttributeUcfDefinitionReturns name of the attribute as given in the connector framework. This is not used for any significant logic. It is mostly for diagnostics.- Specified by:
getFrameworkAttributeNamein interfaceShadowAttributeUcfDefinition- Returns:
- name of the attribute as given in the connector framework.
-
hasRefinements
public boolean hasRefinements()Description copied from interface:ShadowAttributeDefinitionReturns `true` if there are any refinements (like in `schemaHandling`).- Specified by:
hasRefinementsin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
getCurrentLayer
Description copied from interface:LayeredDefinitionGets the current point-of-view: on which layer do we look at the data?- Specified by:
getCurrentLayerin interfaceLayeredDefinition
-
shortDump
Description copied from interface:ShortDumpableShow the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDumpin interfaceShortDumpable- Parameters:
sb- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-