Class TransformablePropertyDefinition.RefinedAttribute<T>
- java.lang.Object
-
- 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
,DefinitionDelegator
,ItemDefinitionDelegator<PrismProperty<T>>
,PropertyDefinitionDelegator<T>
,Freezable
,ItemDefinition<PrismProperty<T>>
,MutableDefinition
,MutableItemDefinition<PrismProperty<T>>
,MutablePrismPropertyDefinition<T>
,PrismContextSensitive
,PrismItemAccessDefinition
,PrismItemAccessDefinition.Mutable
,PrismPropertyDefinition<T>
,Revivable
,SmartVisitable<Definition>
,Visitable<Definition>
,AttributeDefinitionDelegator<T>
,RefinedAttributeDefinitionDelegator<T>
,LayeredDefinition
,MutableRawResourceAttributeDefinition<T>
,RawResourceAttributeDefinition<T>
,ResourceAttributeDefinition<T>
,DebugDumpable
,Serializable
,Cloneable
- Enclosing class:
- TransformablePropertyDefinition<T>
public static class TransformablePropertyDefinition.RefinedAttribute<T> extends TransformablePropertyDefinition.ResourceAttribute<T> implements RefinedAttributeDefinitionDelegator<T>
- See Also:
- Serialized Form
-
-
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.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.Mutable
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description RefinedAttribute(PrismPropertyDefinition<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAdd()
Returns true if this item can be added: it can be part of an object that is created.boolean
canModify()
Returns true if this item can be modified (updated).boolean
canRead()
Returns true if this item can be read (displayed).@NotNull ResourceAttributeDefinition<T>
clone()
protected TransformablePropertyDefinition.RefinedAttribute<T>
copy()
ResourceAttributeDefinition<T>
deepClone(@NotNull DeepCloneOperation operation)
TODO documentResourceAttributeDefinition<T>
delegate()
ResourceAttribute<T>
instantiate()
Create an item instance.ResourceAttribute<T>
instantiate(QName name)
Create an item instance.-
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition.ResourceAttribute
toMutable
-
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition
createEmptyDelta, freeze, getTypeClass, isImmutable, of, publicView, revive
-
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, delegatedItem, from, getDisplayName, getDisplayOrder, getHelp, getMaxOccurs, getMinOccurs, getProcessing, getValueEnumerationRef, isDeprecated, isEmphasized, isExperimental, isMutableAccess, publicFrom, setCanAdd, setCanModify, setCanRead, setDeprecated, setDisplayName, setDisplayOrder, setEmphasized, setExperimental, setHelp, setMaxOccurs, setMinOccurs, setProcessing, setValueEnumerationRef, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.deleg.AttributeDefinitionDelegator
forLayer, getCurrentLayer, getFrameworkAttributeName, getNativeAttributeName, getReturnedByDefault, hasOutboundMapping, isIgnored, isMandatory, isMultiValue, isOptional, isSingleValue, setOverrideCanAdd, setOverrideCanModify, setOverrideCanRead
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, getAnnotations, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getSchemaMigrations, getSchemaRegistry, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRuntimeSchema, setAnnotation
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMandatory, isMultiValue, isOptional, isSingleValue
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canBeDefinitionOf, canBeDefinitionOf, debugDumpShortToString, findItemDefinition, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isValidFor, structuredType
-
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition
addDiagram, addSchemaMigration, setCanAdd, setCanModify, setCanRead, setDeprecated, setDeprecatedSince, setDisplayName, setDisplayOrder, setDocumentation, setDynamic, setElaborate, setEmphasized, setExperimental, setHelp, setHeterogeneousListItem, setIndexOnly, setInherited, setItemName, setMaxOccurs, setMinOccurs, setOperational, setPlannedRemoval, setProcessing, setReadOnly, setRuntimeSchema, setSubstitutionHead, setTypeName, setValueEnumerationRef
-
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Attribute
setFrameworkAttributeName, setNativeAttributeName, setReturnedByDefault
-
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Property
setIndexed, setInherited, setMatchingRuleQName
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
createEmptyDelta, getTypeClass, isAnyType
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getTypeClass, isIndexed
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.RawResourceAttributeDefinition
isReturnedByDefault
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.deleg.RefinedAttributeDefinitionDelegator
canAdd, canModify, canRead, debugDump, getDescription, getFetchStrategy, getInboundMappingBeans, getIntolerantValuePatterns, getLimitations, getMaxOccurs, getMinOccurs, getModificationPriority, getOutboundMappingBean, getProcessing, getRawAttributeDefinition, getReadReplaceMode, getStorageStrategy, getTolerantValuePatterns, isDisplayNameAttribute, isExclusiveStrong, isSecondaryIdentifierOverride, isTolerant, isVolatilityTrigger
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceAttributeDefinition
spawnModifyingRaw, toMutable
-
-
-
-
Constructor Detail
-
RefinedAttribute
public RefinedAttribute(PrismPropertyDefinition<T> delegate)
-
-
Method Detail
-
delegate
public ResourceAttributeDefinition<T> delegate()
- Specified by:
delegate
in interfaceAttributeDefinitionDelegator<T>
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceItemDefinitionDelegator<T>
- Specified by:
delegate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
delegate
in interfaceRefinedAttributeDefinitionDelegator<T>
- Overrides:
delegate
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
clone
@NotNull public @NotNull ResourceAttributeDefinition<T> clone()
- Specified by:
clone
in interfaceDefinition
- Specified by:
clone
in interfaceItemDefinition<T>
- Specified by:
clone
in interfaceMutablePrismPropertyDefinition<T>
- Specified by:
clone
in interfacePrismPropertyDefinition<T>
- Specified by:
clone
in interfaceResourceAttributeDefinition<T>
- Overrides:
clone
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
copy
protected TransformablePropertyDefinition.RefinedAttribute<T> copy()
- Overrides:
copy
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
deepClone
public ResourceAttributeDefinition<T> deepClone(@NotNull @NotNull DeepCloneOperation operation)
Description copied from interface:ItemDefinition
TODO document- Specified by:
deepClone
in interfaceAttributeDefinitionDelegator<T>
- Specified by:
deepClone
in interfaceItemDefinition<T>
- Specified by:
deepClone
in interfaceItemDefinitionDelegator<T>
- Specified by:
deepClone
in interfaceRefinedAttributeDefinitionDelegator<T>
- Specified by:
deepClone
in interfaceResourceAttributeDefinition<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
@NotNull public 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 interfaceAttributeDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceItemDefinition<T>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<T>
- Specified by:
instantiate
in interfacePrismPropertyDefinition<T>
- Specified by:
instantiate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceRawResourceAttributeDefinition<T>
- Specified by:
instantiate
in interfaceResourceAttributeDefinition<T>
- Overrides:
instantiate
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
instantiate
@NotNull public ResourceAttribute<T> instantiate(QName name)
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 interfaceAttributeDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceItemDefinition<T>
- Specified by:
instantiate
in interfaceItemDefinitionDelegator<T>
- Specified by:
instantiate
in interfacePrismPropertyDefinition<T>
- Specified by:
instantiate
in interfacePropertyDefinitionDelegator<T>
- Specified by:
instantiate
in interfaceRawResourceAttributeDefinition<T>
- Specified by:
instantiate
in interfaceResourceAttributeDefinition<T>
- Overrides:
instantiate
in classTransformablePropertyDefinition.ResourceAttribute<T>
-
-