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:
RefinedAttributeDefinitionDelegator<T>,RefinedAttributeDefinition<T>,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>,MutableResourceAttributeDefinition<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 booleancanAdd()Returns true if this item can be added: it can be part of an object that is created.booleancanModify()Returns true if this item can be modified (updated).booleancanRead()Returns true if this item can be read (displayed).@NotNull RefinedAttributeDefinition<T>clone()protected TransformablePropertyDefinition.RefinedAttribute<T>copy()RefinedAttributeDefinition<T>deepClone(Map<QName,ComplexTypeDefinition> ctdMap, Map<QName,ComplexTypeDefinition> onThisPath, Consumer<ItemDefinition> postCloneAction)RefinedAttributeDefinition<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
freeze, isImmutable, of, publicView, revive
-
Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, deepClone, 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 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.schema.processor.deleg.AttributeDefinitionDelegator
getFrameworkAttributeName, getNativeAttributeName, getReturnedByDefault, isPrimaryIdentifier, isPrimaryIdentifier, isReturnedByDefault, isSecondaryIdentifier
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, 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, revive
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canBeDefinitionOf, canBeDefinitionOf, debugDumpShortToString, deepClone, findItemDefinition, getDiagrams, getItemName, getMaxOccurs, getMinOccurs, getNamespace, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isOperational, isValidFor, 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, 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
-
Methods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getTypeClass, getValueType, isAnyType, isIndexed
-
Methods inherited from interface com.evolveum.midpoint.common.refinery.deleg.RefinedAttributeDefinitionDelegator
canAdd, canModify, canRead, debugDump, getAttributeDefinition, getDescription, getFetchStrategy, getInboundMappingTypes, getIntolerantValuePattern, getLimitations, getMaxOccurs, getMinOccurs, getModificationPriority, getOutboundMappingType, getProcessing, getReadReplaceMode, getStorageStrategy, getTolerantValuePattern, hasOutboundMapping, isDisplayNameAttribute, isExclusiveStrong, isIgnored, isMandatory, isMultiValue, isOptional, isSecondaryIdentifierOverride, isSingleValue, isTolerant, isVolatilityTrigger
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceAttributeDefinition
toMutable
-
-
-
-
Constructor Detail
-
RefinedAttribute
public RefinedAttribute(PrismPropertyDefinition<T> delegate)
-
-
Method Detail
-
delegate
public RefinedAttributeDefinition<T> delegate()
- Specified by:
delegatein interfaceAttributeDefinitionDelegator<T>- Specified by:
delegatein interfaceDefinitionDelegator- Specified by:
delegatein interfaceItemDefinitionDelegator<T>- Specified by:
delegatein interfacePropertyDefinitionDelegator<T>- Specified by:
delegatein interfaceRefinedAttributeDefinitionDelegator<T>- Overrides:
delegatein classTransformablePropertyDefinition.ResourceAttribute<T>
-
clone
@NotNull public @NotNull RefinedAttributeDefinition<T> clone()
- Specified by:
clonein interfaceDefinition- Specified by:
clonein interfaceItemDefinition<T>- Specified by:
clonein interfaceMutablePrismPropertyDefinition<T>- Specified by:
clonein interfacePrismPropertyDefinition<T>- Specified by:
clonein interfaceRefinedAttributeDefinition<T>- Specified by:
clonein interfaceResourceAttributeDefinition<T>- Overrides:
clonein classTransformablePropertyDefinition.ResourceAttribute<T>
-
copy
protected TransformablePropertyDefinition.RefinedAttribute<T> copy()
- Overrides:
copyin classTransformablePropertyDefinition.ResourceAttribute<T>
-
deepClone
public RefinedAttributeDefinition<T> deepClone(Map<QName,ComplexTypeDefinition> ctdMap, Map<QName,ComplexTypeDefinition> onThisPath, Consumer<ItemDefinition> postCloneAction)
- Specified by:
deepClonein interfaceItemDefinition<T>- Specified by:
deepClonein interfaceItemDefinitionDelegator<T>- Specified by:
deepClonein interfaceRefinedAttributeDefinition<T>- Specified by:
deepClonein interfaceRefinedAttributeDefinitionDelegator<T>- Overrides:
deepClonein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
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 interfaceItemDefinitionDelegator<T>- Specified by:
canAddin interfacePrismItemAccessDefinition- Overrides:
canAddin classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
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 interfaceItemDefinitionDelegator<T>- Specified by:
canModifyin interfacePrismItemAccessDefinition- Overrides:
canModifyin classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
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 interfaceItemDefinitionDelegator<T>- Specified by:
canReadin interfacePrismItemAccessDefinition- Overrides:
canReadin classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
instantiate
@NotNull public ResourceAttribute<T> instantiate()
Description copied from interface:ItemDefinitionCreate an item instance. Definition name or default name will used as an element name for the instance. The instance will otherwise be empty.- Specified by:
instantiatein interfaceAttributeDefinitionDelegator<T>- Specified by:
instantiatein interfaceItemDefinition<T>- Specified by:
instantiatein interfaceItemDefinitionDelegator<T>- Specified by:
instantiatein interfacePrismPropertyDefinition<T>- Specified by:
instantiatein interfacePropertyDefinitionDelegator<T>- Specified by:
instantiatein interfaceResourceAttributeDefinition<T>- Overrides:
instantiatein classTransformablePropertyDefinition.ResourceAttribute<T>- Returns:
- created item instance
-
instantiate
@NotNull public ResourceAttribute<T> instantiate(QName name)
Description copied from interface:ItemDefinitionCreate an item instance. Definition name will use provided name. for the instance. The instance will otherwise be empty.- Specified by:
instantiatein interfaceAttributeDefinitionDelegator<T>- Specified by:
instantiatein interfaceItemDefinition<T>- Specified by:
instantiatein interfaceItemDefinitionDelegator<T>- Specified by:
instantiatein interfacePrismPropertyDefinition<T>- Specified by:
instantiatein interfacePropertyDefinitionDelegator<T>- Specified by:
instantiatein interfaceResourceAttributeDefinition<T>- Overrides:
instantiatein classTransformablePropertyDefinition.ResourceAttribute<T>- Returns:
- created item instance
-
-