Class TransformablePropertyDefinition.RefinedAttribute<T>
java.lang.Object
com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition<T>
com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition.ResourceAttribute<T>
com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition.RefinedAttribute<T>
- All Implemented Interfaces:
PartiallyMutableItemDefinition<PrismProperty<T>>
,PartiallyMutableItemDefinition.Attribute<T>
,PartiallyMutableItemDefinition.Property<T>
,Definition
,Definition.DefinitionMutator
,DefinitionDelegator
,ItemDefinitionDelegator<PrismProperty<T>>
,PropertyDefinitionDelegator<T>
,Freezable
,ItemDefinition<PrismProperty<T>>
,ItemDefinition.ItemDefinitionMutator
,LivePrismItemDefinition
,PrismItemAccessDefinition
,PrismItemAccessDefinition.Mutable
,PrismItemBasicDefinition
,PrismItemBasicDefinition.Mutable
,PrismItemInstantiableDefinition<T,
,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> PrismItemMatchingDefinition<T>
,PrismItemMatchingDefinition.Mutator
,PrismItemMiscDefinition
,PrismItemStorageDefinition
,PrismItemStorageDefinition.Mutable
,PrismItemValuesDefinition<T>
,PrismItemValuesDefinition.Mutator<T>
,PrismLifecycleDefinition
,PrismLifecycleDefinition.Mutable
,PrismPresentationDefinition
,PrismPresentationDefinition.Mutable
,PrismPropertyDefinition<T>
,PrismPropertyDefinition.PrismPropertyDefinitionMutator<T>
,Revivable
,SchemaLookup.Aware
,SmartVisitable<Definition>
,Visitable<Definition>
,ResourceAttributeDefinitionDelegator<T>
,LayeredDefinition
,MutableRawResourceAttributeDefinition<T>
,ResourceItemPrismDefinition.Mutable
,ResourceObjectInboundDefinition.ItemInboundDefinition
,ShadowAttributeDefinition<PrismPropertyValue<T>,
,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> ShadowAttributeUcfDefinition
,ShadowAttributeUcfDefinition.Mutable
,ShadowItemDefinition
,ShadowItemLayeredDefinition
,ShadowSimpleAttributeDefinition<T>
,DebugDumpable
,ShortDumpable
,Serializable
,Cloneable
- Enclosing class:
- TransformablePropertyDefinition<T>
public static class TransformablePropertyDefinition.RefinedAttribute<T>
extends TransformablePropertyDefinition.ResourceAttribute<T>
implements ResourceAttributeDefinitionDelegator<T>
TODO is this used?
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition
TransformablePropertyDefinition.RefinedAttribute<T>, TransformablePropertyDefinition.ResourceAttribute<T>
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.model.impl.schema.transform.PartiallyMutableItemDefinition
PartiallyMutableItemDefinition.Attribute<T>, PartiallyMutableItemDefinition.Container<C extends Containerable>, PartiallyMutableItemDefinition.Property<T>, PartiallyMutableItemDefinition.Reference
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.PrismItemAccessDefinition.Mutable
PrismItemAccessDefinition.Mutable.Delegable
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.PrismItemBasicDefinition.Mutable
PrismItemBasicDefinition.Mutable.Delegable
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.PrismItemMatchingDefinition.Mutator
PrismItemMatchingDefinition.Mutator.Delegable
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.PrismItemValuesDefinition.Mutator
PrismItemValuesDefinition.Mutator.Delegable<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.PrismLifecycleDefinition.Mutable
PrismLifecycleDefinition.Mutable.Delegable
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.PrismPresentationDefinition.Mutable
PrismPresentationDefinition.Mutable.Delegable
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.ResourceItemPrismDefinition.Mutable
ResourceItemPrismDefinition.Mutable.Delegable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeUcfDefinition
ShadowAttributeUcfDefinition.Data, ShadowAttributeUcfDefinition.Delegable, ShadowAttributeUcfDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttributeUcfDefinition.Mutable
ShadowAttributeUcfDefinition.Mutable.Delegable
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canAdd()
Returns true if this item can be added: it can be part of an object that is created.boolean
Returns true if this item can be modified (updated).boolean
canRead()
Returns true if this item can be read (displayed).clone()
@NotNull ItemDefinition<PrismProperty<T>>
cloneWithNewName
(@NotNull ItemName itemName) Returns a clone of this definition, but with name changed to the provided one.copy()
deepClone
(@NotNull DeepCloneOperation operation) TODO documentdelegate()
@NotNull ShadowSimpleAttribute<T>
Create an item instance.@NotNull ShadowSimpleAttribute<T>
instantiate
(QName name) Create an item instance.void
Show the content of the object intended for diagnostics.Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition.ResourceAttribute
createPrismValueFromRealValue, getTypeClass, isVolatileOnAddOperation, isVolatileOnModifyOperation, mutator
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition
createEmptyDelta, freeze, isImmutable, of, publicView, revive, setSchemaContextDefinition
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, delegatedItem, from, getDisplayHint, getDisplayName, getDisplayOrder, getHelp, getMaxOccurs, getMergerIdentifier, getMergerInstance, getMinOccurs, getNaturalKeyConstituents, getNaturalKeyInstance, getProcessing, getValueEnumerationRef, isAlwaysUseForEquals, isDeprecated, isEmphasized, isExperimental, publicFrom, setAlwaysUseForEquals, setCanAdd, setCanModify, setCanRead, setDeprecated, setDisplayHint, setDisplayName, setDisplayOrder, setEmphasized, setExperimental, setHelp, setMaxOccurs, setMergerIdentifier, setMinOccurs, setNaturalKeyConstituents, setProcessing, setValueEnumerationRef, toString
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
annotationsOverrides, getAnnotation, setAnnotation
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing
Methods inherited from interface com.evolveum.midpoint.prism.Definition.DefinitionMutator
setAnnotation, setMergerIdentifier, setNaturalKeyConstituents, setSchemaContextDefinition
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
getProcessing, isAlwaysUseForEquals, isIgnored
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition.ItemDefinitionMutator
setAlwaysUseForEquals, setIgnored
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
debugDumpShortToString, getDiagrams, getHelp, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, isDynamic, isHeterogeneousListItem, isIndexed, isInherited, isOperational, isSearchable, isValidFor, structuredType
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition
addSchemaMigration, setDeprecated, setDeprecatedSince, setDiagrams, setDisplayName, setDisplayOrder, setDocumentation, setDynamic, setElaborate, setEmphasized, setExperimental, setHelp, setHeterogeneousListItem, setIndexed, setIndexOnly, setMaxOccurs, setMinOccurs, setOperational, setOptionalCleanup, setPlannedRemoval, setProcessing, setReadOnly, setRemoved, setRemovedSince, setRuntimeSchema, setSchemaMigrations, setSearchable, setSubstitutionHead
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Attribute
setCanAdd, setCanModify, setCanRead, setFrameworkAttributeName, setMaxOccurs, setMinOccurs, setNativeAttributeName, setReturnedByDefault
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Property
setAllowedValues, setDefaultValue, setInherited, setMatchingRuleQName, setSuggestedValues, setValueEnumerationRef
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
getInfo
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition.Mutable
setInfo
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.PrismPresentationDefinition.Mutable
setDisplayHint
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.schema.processor.deleg.ResourceAttributeDefinitionDelegator
canAdd, canModify, canRead, debugDump, findItemDefinition, forLayer, getChangeApplicationMode, getCorrelatorDefinition, getCurrentLayer, getDescription, getFetchStrategy, getFrameworkAttributeName, getHumanReadableDescription, getInboundMappingBeans, getIntolerantValuePatterns, getLifecycleState, getLimitations, getMaxOccurs, getMinOccurs, getModificationPriority, getNativeAttributeName, getOutboundMappingBean, getProcessing, getReadReplaceMode, getReturnedByDefault, getStorageStrategy, getTolerantValuePatterns, getTypeClass, hasOutboundMapping, hasRefinements, isCached, isDisplayNameAttribute, isExclusiveStrong, isIgnored, isIndexOnly, isMandatory, isMultiValue, isOptional, isSecondaryIdentifierOverride, isSimulated, isSingleValue, isTolerant, isVolatilityTrigger, setOverrideCanAdd, setOverrideCanModify, setOverrideCanRead
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, isVolatileOnAddOperation, isVolatileOnModifyOperation
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowSimpleAttributeDefinition
convertPrismValue, createEmptyDelta, mutator, toNormalizationAware
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Constructor Details
-
RefinedAttribute
-
-
Method Details
-
delegate
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<T>
- Specified by:
delegate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
delegate
in interfaceResourceAttributeDefinitionDelegator<T>
- Overrides:
delegate
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
clone
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<T>
- Specified by:
clone
in interfacePartiallyMutableItemDefinition.Property<T>
- Specified by:
clone
in interfacePrismPropertyDefinition<T>
- Specified by:
clone
in interfacePrismPropertyDefinition.PrismPropertyDefinitionMutator<T>
- Specified by:
clone
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
clone
in interfaceShadowSimpleAttributeDefinition<T>
- Overrides:
clone
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
copy
- Overrides:
copy
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
deepClone
Description copied from interface:ItemDefinition
TODO document- Specified by:
deepClone
in interfaceItemDefinition<T>
- Specified by:
deepClone
in interfaceItemDefinitionDelegator<T>
- Specified by:
deepClone
in interfaceResourceAttributeDefinitionDelegator<T>
- Specified by:
deepClone
in interfaceShadowSimpleAttributeDefinition<T>
- Overrides:
deepClone
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
canAdd
public boolean canAdd()Description copied from interface:PrismItemAccessDefinition
Returns 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:
canAdd
in interfaceItemDefinitionDelegator<T>
- Specified by:
canAdd
in interfacePrismItemAccessDefinition
- Overrides:
canAdd
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
canModify
public boolean canModify()Description copied from interface:PrismItemAccessDefinition
Returns 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:
canModify
in interfaceItemDefinitionDelegator<T>
- Specified by:
canModify
in interfacePrismItemAccessDefinition
- Overrides:
canModify
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
canRead
public boolean canRead()Description copied from interface:PrismItemAccessDefinition
Returns 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:
canRead
in interfaceItemDefinitionDelegator<T>
- Specified by:
canRead
in interfacePrismItemAccessDefinition
- Overrides:
canRead
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
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 interfaceResourceAttributeDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Overrides:
instantiate
in classTransformablePropertyDefinition.ResourceAttribute<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 interfaceResourceAttributeDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceShadowAttributeDefinition<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Overrides:
instantiate
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
shortDump
Description copied from interface:ShortDumpable
Show 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:
shortDump
in interfaceShortDumpable
- Overrides:
shortDump
in classTransformablePropertyDefinition.ResourceAttribute<T>
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
cloneWithNewName
@NotNull public @NotNull ItemDefinition<PrismProperty<T>> cloneWithNewName(@NotNull @NotNull ItemName itemName) Description copied from interface:ItemDefinition
Returns a clone of this definition, but with name changed to the provided one.- Specified by:
cloneWithNewName
in interfaceItemDefinition<T>
- Overrides:
cloneWithNewName
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<T>> - See Also:
-