Interface ResourceAttributeDefinitionDelegator<T>
- All Superinterfaces:
Cloneable
,DebugDumpable
,Definition
,DefinitionDelegator
,Freezable
,ItemDefinition<PrismProperty<T>>
,ItemDefinitionDelegator<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>
,PropertyDefinitionDelegator<T>
,ResourceObjectInboundDefinition.ItemInboundDefinition
,Revivable
,SchemaLookup.Aware
,Serializable
,ShadowAttributeDefinition<PrismPropertyValue<T>,
,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> ShadowAttributeUcfDefinition
,ShadowItemDefinition
,ShadowItemLayeredDefinition
,ShadowSimpleAttributeDefinition<T>
,ShortDumpable
,SmartVisitable<Definition>
,Visitable<Definition>
- All Known Implementing Classes:
TransformablePropertyDefinition.RefinedAttribute
,TransformablePropertyDefinition.ResourceAttribute
public interface ResourceAttributeDefinitionDelegator<T>
extends PropertyDefinitionDelegator<T>, ShadowSimpleAttributeDefinition<T>
-
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.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.PrismItemMatchingDefinition
PrismItemMatchingDefinition.Data<T>, PrismItemMatchingDefinition.Delegable<T>, PrismItemMatchingDefinition.Mutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition
PrismItemMiscDefinition.Data, PrismItemMiscDefinition.Delegable, PrismItemMiscDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
PrismItemStorageDefinition.Mutable
Nested 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.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable
Nested 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 TypeMethodDescriptiondefault boolean
Is adding allowed (at specified layer)?default boolean
Is modification allowed (at specified layer)?default boolean
Is reading allowed (at specified layer)?default String
Provides a debug dump respective to the given layer.default ShadowSimpleAttributeDefinition<T>
deepClone
(@NotNull DeepCloneOperation operation) TODO documentdelegate()
default <T extends ItemDefinition<?>>
TfindItemDefinition
(@NotNull ItemPath path, @NotNull Class<T> clazz) Used to find a matching item definition _within_ this definition.default @NotNull ShadowSimpleAttributeDefinition<T>
Creates a view of the current definition for a given layer.default @Nullable ItemChangeApplicationModeType
TODOdefault ItemCorrelatorDefinitionType
default @NotNull LayerType
Gets the current point-of-view: on which layer do we look at the data?default String
Gets the (configured) attribute description.default @NotNull AttributeFetchStrategyType
Returns configured fetch strategy.default String
Returns name of the attribute as given in the connector framework.default String
default @NotNull List<InboundMappingType>
Gets the inbound mappings (if any).Gets patterns for values that are not "tolerated" on the resource.default @Nullable String
TODOdefault PropertyLimitations
getLimitations
(LayerType layer) Returns limitations (cardinality, access rights, processing) for given layer.default int
getMaxOccurs
(LayerType layer) Gets `maxOccurs` limitation for given layer.default int
getMinOccurs
(LayerType layer) Gets `minOccurs` limitation for given layer.default Integer
Determines the order in which this attribute should be modified (in very special cases).default String
Returns native attribute name.default @Nullable MappingType
Gets the outbound mapping, if defined.default ItemProcessing
getProcessing
(LayerType layer) Gets the level of processing for specified layer.default Boolean
Should be this attribute modified solely in "replace" mode?default Boolean
Is this attribute returned by default? (I.e.default @NotNull AttributeStorageStrategyType
Returns configured storage strategy.Gets patterns for values that are "tolerated" on the resource.Returns a compile-time class that is used to represent items.default boolean
default boolean
Returns `true` if there are any refinements (like in `schemaHandling`).default @NotNull ShadowSimpleAttribute<T>
Create an item instance.default @NotNull ShadowSimpleAttribute<T>
instantiate
(QName name) Create an item instance.default Boolean
isCached()
If present, it overrides the inclusion/exclusion of this item in/from the shadow caching.default boolean
Is this attribute configured to serve as a display name?default boolean
Drives behavior of strong and normal mappings for this attribute.default boolean
Is the attribute ignored (at specified layer)?default boolean
If true, this item is not stored in XML representation in repo.default boolean
isMandatory
(LayerType layer) default boolean
isMultiValue
(LayerType layer) default boolean
isOptional
(LayerType layer) default Boolean
Is this attribute designated as a secondary identifier via `schemaHandling`?default boolean
If `true`, the item does not exist on the resource, but is simulated by midPoint.default boolean
isSingleValue
(LayerType layer) default boolean
When set to true, allows to preserve attribute values that are set outside midPoint.default boolean
Is this attribute so-called volatility trigger, i.e.default void
setOverrideCanAdd
(Boolean value) Provides a value that will overrideShadowItemLayeredDefinition.canAdd(LayerType)
return values (for all layers).default void
setOverrideCanModify
(Boolean value) Provides a value that will overrideShadowItemLayeredDefinition.canModify(LayerType)
return values (for all layers).default void
setOverrideCanRead
(Boolean value) Provides a value that will overrideShadowItemLayeredDefinition.canRead(LayerType)
return values (for all layers).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, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getPlannedRemoval, getRemovedSince, getSchemaContextDefinition, getSchemaMigrations, isAbstract, isDeprecated, isElaborate, isEmphasized, 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, getDiagrams, getHelp, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, isDynamic, isHeterogeneousListItem, isIndexed, isInherited, isOperational, isSearchable, isValidFor, 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.prism.PrismItemInstantiableDefinition
createEmptyDelta
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
getNormalizer, getStringNormalizerForPolyStringProperty, getStringNormalizerIfApplicable, getTypeName, isCustomPolyString
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemMiscDefinition
getProcessing
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition
getValueEnumerationRef
Methods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
convertStringValueToPolyString, getTypeClassLegacy, isAnyType
Methods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRule, getMatchingRuleQName, getSuggestedValues, getTypeName, getValueEnumerationRef
Methods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookup
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeDefinition
createPrismValueFromRealValue, getStandardPath, instantiateFrom, instantiateFromRealValue, instantiateFromRealValues, isEffectivelyCached, isReturnedByDefault, isVisible, isVisible
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowSimpleAttributeDefinition
clone, convertPrismValue, createEmptyDelta, mutator, toNormalizationAware
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDump, shortDumpLazily
-
Method Details
-
delegate
ShadowSimpleAttributeDefinition<T> delegate()- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<T>
- Specified by:
delegate
in interfacePropertyDefinitionDelegator<T>
-
getReturnedByDefault
Description copied from interface:ShadowAttributeUcfDefinition
Is this attribute returned by default? (I.e. if no specific options are sent to the connector?)- Specified by:
getReturnedByDefault
in interfaceShadowAttributeUcfDefinition
-
getNativeAttributeName
Description copied from interface:ShadowAttributeUcfDefinition
Returns 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:
getNativeAttributeName
in interfaceShadowAttributeUcfDefinition
- Returns:
- native attribute name
-
getFrameworkAttributeName
Description copied from interface:ShadowAttributeUcfDefinition
Returns 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:
getFrameworkAttributeName
in interfaceShadowAttributeUcfDefinition
- Returns:
- name of the attribute as given in the connector framework.
-
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<T>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<T>
- Specified by:
instantiate
in interfacePrismItemInstantiableDefinition<T,
PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
instantiate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
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<T>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<T>
- Specified by:
instantiate
in interfacePrismItemInstantiableDefinition<T,
PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
instantiate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
debugDump
Description copied from interface:ShadowAttributeDefinition
Provides a debug dump respective to the given layer. TODO reconsider this method- Specified by:
debugDump
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
getLimitations
Description copied from interface:ShadowItemLayeredDefinition
Returns limitations (cardinality, access rights, processing) for given layer. These are obtained from resource and/or explicitly configured.- Specified by:
getLimitations
in interfaceShadowItemLayeredDefinition
- See Also:
-
getFetchStrategy
Description copied from interface:ShadowAttributeDefinition
Returns configured fetch strategy.- Specified by:
getFetchStrategy
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getStorageStrategy
Description copied from interface:ShadowAttributeDefinition
Returns configured storage strategy.- Specified by:
getStorageStrategy
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
isCached
Description copied from interface:ShadowAttributeDefinition
If 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:
isCached
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
isVolatilityTrigger
default boolean isVolatilityTrigger()Description copied from interface:ShadowAttributeDefinition
Is this attribute so-called volatility trigger, i.e. may its changes cause changes in other attributes?- Specified by:
isVolatilityTrigger
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getModificationPriority
Description copied from interface:ShadowAttributeDefinition
Determines the order in which this attribute should be modified (in very special cases).- Specified by:
getModificationPriority
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getReadReplaceMode
Description copied from interface:ShadowAttributeDefinition
Should be this attribute modified solely in "replace" mode?- Specified by:
getReadReplaceMode
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
isTolerant
default boolean isTolerant()Description copied from interface:ShadowAttributeDefinition
When set to true, allows to preserve attribute values that are set outside midPoint.- Specified by:
isTolerant
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
isSecondaryIdentifierOverride
Description copied from interface:ShadowSimpleAttributeDefinition
Is this attribute designated as a secondary identifier via `schemaHandling`?- Specified by:
isSecondaryIdentifierOverride
in interfaceShadowSimpleAttributeDefinition<T>
- See Also:
-
canAdd
Description copied from interface:ShadowItemLayeredDefinition
Is adding allowed (at specified layer)?- Specified by:
canAdd
in interfaceShadowItemLayeredDefinition
- See Also:
-
canRead
Description copied from interface:ShadowItemLayeredDefinition
Is reading allowed (at specified layer)?- Specified by:
canRead
in interfaceShadowItemLayeredDefinition
- See Also:
-
canModify
Description copied from interface:ShadowItemLayeredDefinition
Is modification allowed (at specified layer)?- Specified by:
canModify
in interfaceShadowItemLayeredDefinition
- See Also:
-
isIgnored
Description copied from interface:ShadowItemLayeredDefinition
Is the attribute ignored (at specified layer)?- Specified by:
isIgnored
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
isIgnored
in interfaceShadowItemLayeredDefinition
-
getProcessing
Description copied from interface:ShadowItemLayeredDefinition
Gets the level of processing for specified layer.- Specified by:
getProcessing
in interfaceShadowItemLayeredDefinition
- See Also:
-
getDescription
Description copied from interface:ShadowAttributeDefinition
Gets the (configured) attribute description.- Specified by:
getDescription
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getOutboundMappingBean
Description copied from interface:ShadowAttributeDefinition
Gets the outbound mapping, if defined.- Specified by:
getOutboundMappingBean
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
hasOutboundMapping
default boolean hasOutboundMapping()- Specified by:
hasOutboundMapping
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
getInboundMappingBeans
Description copied from interface:ShadowAttributeDefinition
Gets the inbound mappings (if any).- Specified by:
getInboundMappingBeans
in interfaceResourceObjectInboundDefinition.ItemInboundDefinition
- Specified by:
getInboundMappingBeans
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getMaxOccurs
Description copied from interface:ShadowItemLayeredDefinition
Gets `maxOccurs` limitation for given layer.- Specified by:
getMaxOccurs
in interfaceShadowItemLayeredDefinition
- See Also:
-
getMinOccurs
Description copied from interface:ShadowItemLayeredDefinition
Gets `minOccurs` limitation for given layer.- Specified by:
getMinOccurs
in interfaceShadowItemLayeredDefinition
-
isOptional
- Specified by:
isOptional
in interfaceShadowItemLayeredDefinition
-
isMandatory
- Specified by:
isMandatory
in interfaceShadowItemLayeredDefinition
-
isMultiValue
- Specified by:
isMultiValue
in interfaceShadowItemLayeredDefinition
-
isSingleValue
- Specified by:
isSingleValue
in interfaceShadowItemLayeredDefinition
-
isExclusiveStrong
default boolean isExclusiveStrong()Description copied from interface:ShadowAttributeDefinition
Drives behavior of strong and normal mappings for this attribute.- Specified by:
isExclusiveStrong
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - See Also:
-
getTolerantValuePatterns
Description copied from interface:ShadowAttributeDefinition
Gets patterns for values that are "tolerated" on the resource. -
getIntolerantValuePatterns
Description copied from interface:ShadowAttributeDefinition
Gets patterns for values that are not "tolerated" on the resource. -
isDisplayNameAttribute
default boolean isDisplayNameAttribute()Description copied from interface:ShadowSimpleAttributeDefinition
Is this attribute configured to serve as a display name?- Specified by:
isDisplayNameAttribute
in interfaceShadowSimpleAttributeDefinition<T>
- See Also:
-
getCorrelatorDefinition
- Specified by:
getCorrelatorDefinition
in interfaceResourceObjectInboundDefinition.ItemInboundDefinition
- Specified by:
getCorrelatorDefinition
in interfaceShadowSimpleAttributeDefinition<T>
- See Also:
-
getChangeApplicationMode
Description copied from interface:ShadowAttributeDefinition
TODO- Specified by:
getChangeApplicationMode
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
getLifecycleState
Description copied from interface:ShadowAttributeDefinition
TODO- Specified by:
getLifecycleState
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
deepClone
default ShadowSimpleAttributeDefinition<T> deepClone(@NotNull @NotNull DeepCloneOperation operation) Description copied from interface:ItemDefinition
TODO document- Specified by:
deepClone
in interfaceItemDefinition<T>
- Specified by:
deepClone
in interfaceItemDefinitionDelegator<T>
- Specified by:
deepClone
in interfaceShadowSimpleAttributeDefinition<T>
-
setOverrideCanRead
Description copied from interface:ShadowAttributeDefinition
Provides a value that will overrideShadowItemLayeredDefinition.canRead(LayerType)
return values (for all layers). Used e.g. when applying authorizations on the definition.- Specified by:
setOverrideCanRead
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
setOverrideCanAdd
Description copied from interface:ShadowAttributeDefinition
Provides a value that will overrideShadowItemLayeredDefinition.canAdd(LayerType)
return values (for all layers). Used e.g. when applying authorizations on the definition.- Specified by:
setOverrideCanAdd
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
setOverrideCanModify
Description copied from interface:ShadowAttributeDefinition
Provides a value that will overrideShadowItemLayeredDefinition.canModify(LayerType)
return values (for all layers). Used e.g. when applying authorizations on the definition.- Specified by:
setOverrideCanModify
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
forLayer
@NotNull default @NotNull ShadowSimpleAttributeDefinition<T> forLayer(@NotNull @NotNull LayerType layer) Description copied from interface:ShadowAttributeDefinition
Creates 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:
forLayer
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
forLayer
in interfaceShadowSimpleAttributeDefinition<T>
-
getCurrentLayer
Description copied from interface:LayeredDefinition
Gets the current point-of-view: on which layer do we look at the data?- Specified by:
getCurrentLayer
in interfaceLayeredDefinition
-
getTypeClass
Description copied from interface:Definition
Returns 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:
getTypeClass
in interfaceDefinition
- Specified by:
getTypeClass
in interfaceDefinitionDelegator
- Specified by:
getTypeClass
in interfacePrismItemMatchingDefinition<T>
- Specified by:
getTypeClass
in interfacePrismPropertyDefinition<T>
- Specified by:
getTypeClass
in interfacePropertyDefinitionDelegator<T>
- Specified by:
getTypeClass
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
getTypeClass
in interfaceShadowSimpleAttributeDefinition<T>
-
hasRefinements
default boolean hasRefinements()Description copied from interface:ShadowAttributeDefinition
Returns `true` if there are any refinements (like in `schemaHandling`).- Specified by:
hasRefinements
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
isIndexOnly
default boolean isIndexOnly()Description copied from interface:PrismItemStorageDefinition
If true, this item is not stored in XML representation in repo. TODO better name- Specified by:
isIndexOnly
in interfaceItemDefinitionDelegator<T>
- Specified by:
isIndexOnly
in interfacePrismItemStorageDefinition
-
getHumanReadableDescription
- Specified by:
getHumanReadableDescription
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
isSimulated
default boolean isSimulated()Description copied from interface:ShadowAttributeDefinition
If `true`, the item does not exist on the resource, but is simulated by midPoint.- Specified by:
isSimulated
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-
findItemDefinition
default <T extends ItemDefinition<?>> T findItemDefinition(@NotNull @NotNull ItemPath path, @NotNull @NotNull Class<T> clazz) Description copied from interface:LivePrismItemDefinition
Used to find a matching item definition _within_ this definition. Treats e.g. de-referencing in prism references.- Specified by:
findItemDefinition
in interfaceItemDefinitionDelegator<T>
- Specified by:
findItemDefinition
in interfaceLivePrismItemDefinition
- Specified by:
findItemDefinition
in interfaceShadowItemDefinition
- Specified by:
findItemDefinition
in interfaceShadowSimpleAttributeDefinition<T>
-