Interface ShadowSimpleAttributeDefinition<T>
- All Superinterfaces:
Cloneable,DebugDumpable,Definition,Freezable,ItemDefinition<PrismProperty<T>>,LayeredDefinition,LivePrismItemDefinition,PrismItemAccessDefinition,PrismItemBasicDefinition,PrismItemInstantiableDefinition<T,,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> PrismItemMatchingDefinition<T>,PrismItemMiscDefinition,PrismItemStorageDefinition,PrismItemValuesDefinition<T>,PrismLifecycleDefinition,PrismPresentationDefinition,PrismPropertyDefinition<T>,ResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition,Revivable,SchemaLookup.Aware,Serializable,ShadowAttributeDefinition<PrismPropertyValue<T>,,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> ShadowAttributeUcfDefinition,ShadowItemDefinition,ShadowItemLayeredDefinition,ShortDumpable,SmartVisitable<Definition>,Visitable<Definition>
- All Known Subinterfaces:
ResourceAttributeDefinitionDelegator<T>,ResourceAttributeWrapper<T>
- All Known Implementing Classes:
ResourceAttributeWrapperImpl,ShadowSimpleAttributeDefinitionImpl,TransformablePropertyDefinition.RefinedAttribute,TransformablePropertyDefinition.ResourceAttribute
public interface ShadowSimpleAttributeDefinition<T>
extends PrismPropertyDefinition<T>, ShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>,T,ShadowSimpleAttribute<T>>
Full prism definition of a
ShadowSimpleAttribute: has a native part and a refined part from `schemaHandling`.- 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 -
Method Summary
Modifier and TypeMethodDescription@NotNull ShadowSimpleAttributeDefinition<T>clone()default @NotNull PrismPropertyValue<T>convertPrismValue(@NotNull PrismPropertyValue<?> srcValue) default @NotNull PropertyDelta<T>Creates an empty delta for this attribute against its standard path.deepClone(@NotNull DeepCloneOperation operation) TODO document<T extends ItemDefinition<?>>
TfindItemDefinition(@NotNull ItemPath path, @NotNull Class<T> clazz) Used to find a matching item definition _within_ this definition.@NotNull ShadowSimpleAttributeDefinition<T>Creates a view of the current definition for a given layer.Returns a compile-time class that is used to represent items.booleanIs this attribute configured to serve as a display name?Is this attribute designated as a secondary identifier via `schemaHandling`?mutator()Returns an interface to mutate this definition.default <N> @NotNull NormalizationAwareResourceAttributeDefinition<N>Creates a normalization-aware version of this definition.Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getSchemaContextDefinition, 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, getProcessing, getSubstitutionHead, getValueEnumerationRef, instantiate, instantiate, isAlwaysUseForEquals, isDynamic, isHeterogeneousListItem, isIgnored, isInherited, isOperational, structuredTypeMethods inherited from interface com.evolveum.midpoint.schema.processor.LayeredDefinition
getCurrentLayerMethods inherited from interface com.evolveum.midpoint.prism.LivePrismItemDefinition
isValidForMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canRead, getInfoMethods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getItemName, getMaxOccurs, getMinOccurs, getTypeName, isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.PrismItemInstantiableDefinition
createEmptyDelta, instantiate, instantiateMethods inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
getMatchingRule, getMatchingRuleQName, getNormalizer, getStringNormalizerForPolyStringProperty, getStringNormalizerIfApplicable, getTypeName, isCustomPolyStringMethods inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition
getProcessingMethods 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.prism.schema.SchemaLookup.Aware
schemaLookupMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeDefinition
createPrismValueFromRealValue, debugDump, getChangeApplicationMode, getDescription, getFetchStrategy, getHumanReadableDescription, getInboundMappingBeans, getIntolerantValuePatterns, getLifecycleState, getModificationPriority, getOutboundMappingBean, getReadReplaceMode, getStandardPath, getStorageStrategy, getTolerantValuePatterns, hasOutboundMapping, hasRefinements, instantiate, instantiate, instantiateFrom, instantiateFromRealValue, instantiateFromRealValues, isCached, isEffectivelyCached, isExclusiveStrong, isIgnored, isReturnedByDefault, isSimulated, isTolerant, isVisible, isVolatileOnAddOperation, isVolatileOnModifyOperation, isVolatilityTrigger, setOverrideCanAdd, setOverrideCanModify, setOverrideCanReadMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeUcfDefinition
getFrameworkAttributeName, getNativeAttributeName, getReturnedByDefaultMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowItemDefinition
isVisibleMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowItemLayeredDefinition
canAdd, canModify, canRead, getLimitations, getMaxOccurs, getMinOccurs, getProcessing, isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDump, shortDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
-
Method Details
-
getTypeClass
Description 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 interfaceDefinition- Specified by:
getTypeClassin interfacePrismItemMatchingDefinition<T>- Specified by:
getTypeClassin interfacePrismPropertyDefinition<T>- Specified by:
getTypeClassin interfaceShadowAttributeDefinition<PrismPropertyValue<T>,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
convertPrismValue
@NotNull default @NotNull PrismPropertyValue<T> convertPrismValue(@NotNull @NotNull PrismPropertyValue<?> srcValue) -
findItemDefinition
<T extends ItemDefinition<?>> T findItemDefinition(@NotNull @NotNull ItemPath path, @NotNull @NotNull Class<T> clazz) Description copied from interface:LivePrismItemDefinitionUsed to find a matching item definition _within_ this definition. Treats e.g. de-referencing in prism references.- Specified by:
findItemDefinitionin interfaceLivePrismItemDefinition
-
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>>
-
deepClone
Description copied from interface:ItemDefinitionTODO document- Specified by:
deepClonein interfaceItemDefinition<T>
-
mutator
Description copied from interface:DefinitionReturns an interface to mutate this definition.- Specified by:
mutatorin interfaceDefinition- Specified by:
mutatorin interfaceItemDefinition<T>- Specified by:
mutatorin interfacePrismPropertyDefinition<T>
-
isSecondaryIdentifierOverride
Boolean isSecondaryIdentifierOverride()Is this attribute designated as a secondary identifier via `schemaHandling`? -
isDisplayNameAttribute
boolean isDisplayNameAttribute()Is this attribute configured to serve as a display name? -
getCorrelatorDefinition
ItemCorrelatorDefinitionType getCorrelatorDefinition()- Specified by:
getCorrelatorDefinitionin interfaceResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition- See Also:
-
toNormalizationAware
@NotNull default <N> @NotNull NormalizationAwareResourceAttributeDefinition<N> toNormalizationAware()Creates a normalization-aware version of this definition. -
createEmptyDelta
Creates an empty delta for this attribute against its standard path. -
forLayer
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>>
-