Class ShadowAttributeDefinitionImpl<V extends PrismValue,D extends ShadowAttributeDefinition<V,D,RV,SA>,RV,SA extends ShadowAttribute<V,D,RV,SA>,ND extends NativeShadowAttributeDefinition>
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.schema.processor.ShadowAttributeDefinitionImpl<V,D,RV,SA,ND>
- All Implemented Interfaces:
Definition,Freezable,PrismItemAccessDefinition,PrismItemBasicDefinition,PrismItemMiscDefinition,PrismItemStorageDefinition,PrismLifecycleDefinition,PrismPresentationDefinition,Revivable,SmartVisitable<Definition>,Visitable<Definition>,LayeredDefinition,ResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition,ShadowAttributeDefinition<V,,D, RV, SA> ShadowAttributeUcfDefinition,ShadowItemDefinition,ShadowItemLayeredDefinition,ShadowItemLifecycleDefinitionDefaults,DebugDumpable,ShortDumpable,Serializable,Cloneable
- Direct Known Subclasses:
ShadowReferenceAttributeDefinitionImpl,ShadowSimpleAttributeDefinitionImpl
public abstract class ShadowAttributeDefinitionImpl<V extends PrismValue,D extends ShadowAttributeDefinition<V,D,RV,SA>,RV,SA extends ShadowAttribute<V,D,RV,SA>,ND extends NativeShadowAttributeDefinition>
extends AbstractFreezable
implements ShadowAttributeDefinition<V,D,RV,SA>, ShadowItemLifecycleDefinitionDefaults
Base implementation of
ShadowSimpleAttributeDefinitionImpl and ShadowReferenceAttributeDefinitionImpl.
The implementation consists of a pair of nativeDefinition and customizationBean,
plus some auxiliary information for faster access.
This class intentionally does NOT inherit from PrismPropertyDefinitionImpl. Instead, a large part of the required
functionality is delegated to nativeDefinition which inherits from that class.-
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.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.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.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.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 TypeMethodDescriptionvoidaccept(Visitor<Definition> visitor) booleanaccept(Visitor<Definition> visitor, SmartVisitation<Definition> visitation) booleancanAdd()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)?clone()debugDump(int indent) Provides a debug dump respective to the given layer.booleanprotected abstract void<A> AgetAnnotation(QName qname) Returns generic definition annotation.Returns all annotations, as unmodifiable map.@Nullable ItemChangeApplicationModeType@NotNull LayerTypeGets the current point-of-view: on which layer do we look at the data?abstract StringReturn a human readable name of this class suitable for logs.Gets the (configured) attribute description.Enumeration annotation that specifies how/whether the item should be displayed.Returns display name.Specifies an order in which the item should be displayed relative to other items at the same level.Must containstag because of html tags used in text. Returns only a first sentence of documentation.@NotNull AttributeFetchStrategyTypeReturns configured fetch strategy.Returns name of the attribute as given in the connector framework.getHelp()Returns help string.@NotNull List<InboundMappingType>Gets the inbound mappings (if any).Gets patterns for values that are not "tolerated" on the resource.@NotNull ItemNameGets the "canonical" name of the item for the definition.@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.@Nullable String@Nullable ItemMergergetMergerInstance(@NotNull MergeStrategy strategy, @Nullable OriginMarker originMarker) 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 NaturalKeyDefinition@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? (I.e.@NotNull AttributeStorageStrategyTypeReturns configured storage strategy.Gets patterns for values that are "tolerated" on the resource.inthashCode()booleanReturns `true` if there are any refinements (like in `schemaHandling`).instantiate(QName name) booleanFor types: is the type abstract so that it should not be instantiated directly? For items: TODObooleanisCached()If present, it overrides the inclusion/exclusion of this item in/from the shadow caching.booleanbooleanElaborate items are complicated data structure that may deviate from normal principles of the system.booleanTrue for definitions that are more important than others and that should be emphasized during presentation.booleanDrives behavior of strong and normal mappings for this attribute.booleanThis is XSD annotation that specifies whether a property should be indexed in the storage.booleanIf true, this item is not stored in XML representation in repo.booleanbooleanbooleanMarks item that could be ignored by SCM tools (e.g.booleanThis means that this particular definition (of an item or of a type) is part of the runtime schema, e.g.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.void<A> voidsetAnnotation(QName qname, A value) 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.toString()Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutableMethods inherited from class java.lang.Object
finalize, getClass, 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, getMutabilityFlag, getSchemaContextDefinition, getTypeName, mutatorMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
getInfoMethods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getTypeName, isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
isSearchableMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition
getCorrelatorDefinitionMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeDefinition
createPrismValueFromRealValue, forLayer, getHumanReadableDescription, getStandardPath, getTypeClass, hasOutboundMapping, instantiateFrom, instantiateFromRealValue, instantiateFromRealValues, isEffectivelyCached, isIgnored, isReturnedByDefault, isSimulated, 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.ShadowItemLifecycleDefinitionDefaults
getDeprecatedSince, getPlannedRemoval, getRemovedSince, isDeprecated, isExperimental, isRemovedMethods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - 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
-
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
-
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
-
canModify
Description copied from interface:ShadowItemLayeredDefinitionIs modification allowed (at specified layer)?- Specified by:
canModifyin interfaceShadowItemLayeredDefinition- See Also:
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
getDisplayHint
Description copied from interface:PrismPresentationDefinitionEnumeration annotation that specifies how/whether the item should be displayed. It is also a replacement for the old "emphasized" annotation.- Specified by:
getDisplayHintin interfacePrismPresentationDefinition
-
isEmphasized
public boolean isEmphasized()Description copied from interface:PrismPresentationDefinitionTrue for definitions that are more important than others and that should be emphasized during presentation. E.g. the emphasized definitions will always be displayed in the user interfaces (even if they are empty), they will always be included in the dumps, etc. TODO probably deprecated, isn't it?- Specified by:
isEmphasizedin interfacePrismPresentationDefinition
-
getProcessing
Description copied from interface:PrismItemMiscDefinitionLevel of processing (ignore, minimal, auto, full) for this item/type.- Specified by:
getProcessingin interfacePrismItemMiscDefinition
-
getProcessing
Description copied from interface:ShadowItemLayeredDefinitionGets the level of processing for specified layer.- Specified by:
getProcessingin interfaceShadowItemLayeredDefinition- See Also:
-
getDisplayName
Description copied from interface:PrismPresentationDefinitionReturns display name. Specifies the printable name of the object class or attribute. It must contain a printable string. It may also contain a key to catalog file. Returns null if no display name is set. Corresponds to "displayName" XSD annotation.- Specified by:
getDisplayNamein interfacePrismPresentationDefinition- Returns:
- display name string or catalog key
-
getDisplayOrder
Description copied from interface:PrismPresentationDefinitionSpecifies an order in which the item should be displayed relative to other items at the same level. The items will be displayed by sorting them by the values of displayOrder annotation (ascending). Items that do not have any displayOrder annotation will be displayed last. The ordering of values with the same displayOrder is undefined and it may be arbitrary.- Specified by:
getDisplayOrderin interfacePrismPresentationDefinition
-
getHelp
Description copied from interface:PrismPresentationDefinitionReturns help string. Specifies the help text or a key to catalog file for a help text. The help text may be displayed in any suitable way by the GUI. It should explain the meaning of an attribute or object class. Returns null if no help string is set. Corresponds to "help" XSD annotation.- Specified by:
getHelpin interfacePrismPresentationDefinition- Returns:
- help string or catalog key
-
getDescription
Description copied from interface:ShadowAttributeDefinitionGets the (configured) attribute description.- Specified by:
getDescriptionin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
getOutboundMappingBean
Description copied from interface:ShadowAttributeDefinitionGets the outbound mapping, if defined.- Specified by:
getOutboundMappingBeanin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
getInboundMappingBeans
Description copied from interface:ShadowAttributeDefinitionGets the inbound mappings (if any).- Specified by:
getInboundMappingBeansin interfaceResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinition- Specified by:
getInboundMappingBeansin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
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.
-
instantiate
- Specified by:
instantiatein interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
instantiate
- Specified by:
instantiatein interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
getMaxOccurs
public int getMaxOccurs()Description copied from interface:PrismItemBasicDefinitionReturns the number of maximal value occurrences. Any negative number means "unbounded".- Specified by:
getMaxOccursin interfacePrismItemBasicDefinition
-
getMaxOccurs
Description copied from interface:ShadowItemLayeredDefinitionGets `maxOccurs` limitation for given layer.- Specified by:
getMaxOccursin interfaceShadowItemLayeredDefinition- See Also:
-
getItemName
Description copied from interface:PrismItemBasicDefinitionGets the "canonical" name of the item for the definition. Should be qualified, if at all possible.- Specified by:
getItemNamein interfacePrismItemBasicDefinition
-
getMinOccurs
public int getMinOccurs()Description copied from interface:PrismItemBasicDefinitionReturns the number of minimal value occurrences.- Specified by:
getMinOccursin interfacePrismItemBasicDefinition
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - 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:
-
getDocumentation
Description copied from interface:PrismPresentationDefinitionMust containstag because of html tags used in text. - Specified by:
getDocumentationin interfacePrismPresentationDefinition
-
getDocumentationPreview
Description copied from interface:PrismPresentationDefinitionReturns only a first sentence of documentation.- Specified by:
getDocumentationPreviewin interfacePrismPresentationDefinition
-
getFetchStrategy
Description copied from interface:ShadowAttributeDefinitionReturns configured fetch strategy.- Specified by:
getFetchStrategyin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
getStorageStrategy
Description copied from interface:ShadowAttributeDefinitionReturns configured storage strategy.- Specified by:
getStorageStrategyin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
isIndexOnly
public boolean isIndexOnly()Description copied from interface:PrismItemStorageDefinitionIf true, this item is not stored in XML representation in repo. TODO better name- Specified by:
isIndexOnlyin interfacePrismItemStorageDefinition
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
getTolerantValuePatterns
Description copied from interface:ShadowAttributeDefinitionGets patterns for values that are "tolerated" on the resource.- Specified by:
getTolerantValuePatternsin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
getIntolerantValuePatterns
Description copied from interface:ShadowAttributeDefinitionGets patterns for values that are not "tolerated" on the resource.- Specified by:
getIntolerantValuePatternsin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
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?- Specified by:
isVolatilityTriggerin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
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<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
toString
-
extendToString
-
getDebugDumpClassName
Return a human readable name of this class suitable for logs. -
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
debugDump
Description copied from interface:ShadowAttributeDefinitionProvides a debug dump respective to the given layer.- Specified by:
debugDumpin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
getModificationPriority
Description copied from interface:ShadowAttributeDefinitionDetermines the order in which this attribute should be modified (in very special cases).- Specified by:
getModificationPriorityin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
getReadReplaceMode
Description copied from interface:ShadowAttributeDefinitionShould be this attribute modified solely in "replace" mode?- Specified by:
getReadReplaceModein interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
getChangeApplicationMode
- Specified by:
getChangeApplicationModein interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - See Also:
-
getLifecycleState
- Specified by:
getLifecycleStatein interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - Specified by:
getLifecycleStatein interfaceShadowItemDefinition- See Also:
-
structuredType
-
performFreeze
public void performFreeze()- Overrides:
performFreezein classAbstractFreezable
-
accept
- Specified by:
acceptin interfaceSmartVisitable<V extends PrismValue>- Returns:
- false if we already was here
-
equals
-
hashCode
public int hashCode() -
getCurrentLayer
Description copied from interface:LayeredDefinitionGets the current point-of-view: on which layer do we look at the data?- Specified by:
getCurrentLayerin interfaceLayeredDefinition
-
isRuntimeSchema
public boolean isRuntimeSchema()Description copied from interface:DefinitionThis means that this particular definition (of an item or of a type) is part of the runtime schema, e.g. extension schema, resource schema or connector schema or something like that. I.e. it is not defined statically.- Specified by:
isRuntimeSchemain interfaceDefinition
-
getAnnotation
Description copied from interface:DefinitionReturns generic definition annotation. Annotations are a method to extend schema definitions. This may be annotation stored in the schema definition file (e.g. XSD) or it may be a dynamic annotation determined at run-time. Annotation value should be a prism-supported object. E.g. a prims "bean" (JAXB annotated class), prism item, prism value or something like that. EXPERIMENTAL. Hic sunt leones. This may change at any moment. Note: annotations are only partially supported now (3.8). They are somehow transient. E.g. they are not serialized to XSD schema definitions (yet).- Specified by:
getAnnotationin interfaceDefinition
-
hasRefinements
public boolean hasRefinements()Description copied from interface:ShadowAttributeDefinitionReturns `true` if there are any refinements (like in `schemaHandling`).- Specified by:
hasRefinementsin interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>>
-
accept
- Specified by:
acceptin interfaceVisitable<V extends PrismValue>
-
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.
-
isAbstract
public boolean isAbstract()Description copied from interface:DefinitionFor types: is the type abstract so that it should not be instantiated directly? For items: TODO- Specified by:
isAbstractin interfaceDefinition
-
isElaborate
public boolean isElaborate()Description copied from interface:DefinitionElaborate items are complicated data structure that may deviate from normal principles of the system. For example elaborate items may not be supported in user interface and may only be manageable by raw edits or a special-purpose tools. Elaborate items may be not fully supported by authorizations, schema tools and so on.- Specified by:
isElaboratein interfaceDefinition
-
isOperational
public boolean isOperational() -
isInherited
public boolean isInherited() -
isDynamic
public boolean isDynamic() -
getSubstitutionHead
-
isHeterogeneousListItem
public boolean isHeterogeneousListItem() -
getValueEnumerationRef
-
getSchemaMigrations
- Specified by:
getSchemaMigrationsin interfacePrismLifecycleDefinition
-
getDiagrams
- Specified by:
getDiagramsin interfacePrismPresentationDefinition
-
setAnnotation
-
getAnnotations
Description copied from interface:DefinitionReturns all annotations, as unmodifiable map. Nullable by design, to avoid creating lots of empty maps.- Specified by:
getAnnotationsin interfaceDefinition
-
isIndexed
Description copied from interface:PrismItemStorageDefinitionThis is XSD annotation that specifies whether a property should be indexed in the storage. It can only apply to properties. It has following meaning: true: the property must be indexed. If the storage is not able to index the value, it should indicate an error. false: the property should not be indexed. null: data store decides whether to index the property or not.- Specified by:
isIndexedin interfacePrismItemStorageDefinition
-
isOptionalCleanup
public boolean isOptionalCleanup()Description copied from interface:DefinitionMarks item that could be ignored by SCM tools (e.g. Git), or removed before commit.- Specified by:
isOptionalCleanupin interfaceDefinition
-
isAlwaysUseForEquals
public boolean isAlwaysUseForEquals() -
getMergerIdentifier
- Specified by:
getMergerIdentifierin interfaceDefinition
-
getMergerInstance
@Nullable public @Nullable ItemMerger getMergerInstance(@NotNull @NotNull MergeStrategy strategy, @Nullable @Nullable OriginMarker originMarker) - Specified by:
getMergerInstancein interfaceDefinition
-
getNaturalKeyConstituents
- Specified by:
getNaturalKeyConstituentsin interfaceDefinition
-
getNaturalKeyInstance
- Specified by:
getNaturalKeyInstancein interfaceDefinition
-
clone
- Specified by:
clonein interfaceDefinition- Specified by:
clonein interfaceShadowAttributeDefinition<V extends PrismValue,D extends ShadowAttributeDefinition<V, D, RV, SA>, RV, SA extends ShadowAttribute<V, D, RV, SA>> - Overrides:
clonein classObject
-