Class TransformablePropertyDefinition.ResourceAttribute<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>
- 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>,LayeredDefinition,MutableRawResourceAttributeDefinition<T>,RawResourceAttributeDefinition<T>,ResourceAttributeDefinition<T>,DebugDumpable,Serializable,Cloneable
- Direct Known Subclasses:
TransformablePropertyDefinition.RefinedAttribute
- Enclosing class:
- TransformablePropertyDefinition<T>
public static class TransformablePropertyDefinition.ResourceAttribute<T>
extends TransformablePropertyDefinition<T>
implements AttributeDefinitionDelegator<T>, PartiallyMutableItemDefinition.Attribute<T>
- 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.model.impl.schema.transform.PartiallyMutableItemDefinition
PartiallyMutableItemDefinition.Attribute<T>, PartiallyMutableItemDefinition.Container<C extends Containerable>, PartiallyMutableItemDefinition.Property<T>, PartiallyMutableItemDefinition.ReferenceNested 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAdd()Returns true if this item can be added: it can be part of an object that is created.booleanReturns true if this item can be modified (updated).booleancanRead()Returns true if this item can be read (displayed).@NotNull ResourceAttributeDefinition<T>clone()copy()deepClone(@NotNull DeepCloneOperation operation) TODO documentdelegate()Create an item instance.instantiate(QName name) Create an item instance.@NotNull MutableRawResourceAttributeDefinition<T>Returns an interface to mutate this definition.Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformablePropertyDefinition
createEmptyDelta, freeze, getTypeClass, isImmutable, of, publicView, reviveMethods 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, publicFrom, setCanAdd, setCanModify, setCanRead, setDeprecated, setDisplayName, setDisplayOrder, setEmphasized, setExperimental, setHelp, setMaxOccurs, setMinOccurs, setProcessing, setValueEnumerationRef, toStringMethods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableDefinition
annotationsOverrides, getAnnotation, setAnnotationMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.schema.processor.deleg.AttributeDefinitionDelegator
canAdd, canModify, canRead, debugDump, forLayer, getChangeApplicationMode, getCorrelatorDefinition, getCurrentLayer, getDescription, getFetchStrategy, getFrameworkAttributeName, getInboundMappingBeans, getIntolerantValuePatterns, getLifecycleState, getLimitations, getMaxOccurs, getMinOccurs, getModificationPriority, getNativeAttributeName, getOutboundMappingBean, getProcessing, getRawAttributeDefinition, getReadReplaceMode, getReturnedByDefault, getStorageStrategy, getTolerantValuePatterns, hasOutboundMapping, isDisplayNameAttribute, isExclusiveStrong, isIgnored, isMandatory, isMultiValue, isOptional, isSecondaryIdentifierOverride, isSingleValue, isTolerant, isVolatilityTrigger, setOverrideCanAdd, setOverrideCanModify, setOverrideCanReadMethods 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, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotationMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMandatory, isMultiValue, isOptional, isSingleValueMethods 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, isSearchable, isValidFor, structuredTypeMethods 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, setRemoved, setRemovedSince, setRuntimeSchema, setSearchable, setSubstitutionHead, setTypeName, setValueEnumerationRefMethods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Attribute
setFrameworkAttributeName, setNativeAttributeName, setReturnedByDefaultMethods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Property
setAllowedValues, setIndexed, setInherited, setMatchingRuleQName, setSuggestedValuesMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
createEmptyDelta, getTypeClass, isAnyTypeMethods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
createEmptyDelta, defaultValue, getAllowedValues, getMatchingRuleQName, getSuggestedValues, getTypeClass, isIndexedMethods inherited from interface com.evolveum.midpoint.schema.processor.RawResourceAttributeDefinition
isReturnedByDefaultMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceAttributeDefinition
isVisible, spawnModifyingRaw
-
Constructor Details
-
ResourceAttribute
-
-
Method Details
-
delegate
- Specified by:
delegatein interfaceAttributeDefinitionDelegator<T>- Specified by:
delegatein interfaceDefinitionDelegator- Specified by:
delegatein interfaceItemDefinitionDelegator<T>- Specified by:
delegatein interfacePropertyDefinitionDelegator<T>- Overrides:
delegatein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
clone
- Specified by:
clonein interfaceDefinition- Specified by:
clonein interfaceItemDefinition<T>- Specified by:
clonein interfaceMutablePrismPropertyDefinition<T>- Specified by:
clonein interfacePrismPropertyDefinition<T>- Specified by:
clonein interfaceResourceAttributeDefinition<T>- Overrides:
clonein classTransformablePropertyDefinition<T>
-
deepClone
Description copied from interface:ItemDefinitionTODO document- Specified by:
deepClonein interfaceAttributeDefinitionDelegator<T>- Specified by:
deepClonein interfaceItemDefinition<T>- Specified by:
deepClonein interfaceItemDefinitionDelegator<T>- Specified by:
deepClonein interfaceResourceAttributeDefinition<T>- Overrides:
deepClonein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
copy
- Overrides:
copyin classTransformablePropertyDefinition<T>
-
toMutable
Description copied from interface:DefinitionReturns an interface to mutate this definition.- Specified by:
toMutablein interfaceDefinition- Specified by:
toMutablein interfaceItemDefinition<T>- Specified by:
toMutablein interfacePrismPropertyDefinition<T>- Specified by:
toMutablein interfaceResourceAttributeDefinition<T>- Overrides:
toMutablein classTransformablePropertyDefinition<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
Description copied from interface:ItemDefinitionCreate 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:
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 interfaceRawResourceAttributeDefinition<T>- Specified by:
instantiatein interfaceResourceAttributeDefinition<T>- Overrides:
instantiatein classTransformablePropertyDefinition<T>
-
instantiate
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 interfaceRawResourceAttributeDefinition<T>- Specified by:
instantiatein interfaceResourceAttributeDefinition<T>- Overrides:
instantiatein classTransformablePropertyDefinition<T>
-