Class TransformablePropertyDefinition<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>
- All Implemented Interfaces:
PartiallyMutableItemDefinition<PrismProperty<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
,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>
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
TransformablePropertyDefinition.ResourceAttribute
public class TransformablePropertyDefinition<T>
extends TransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
implements PropertyDefinitionDelegator<T>, PartiallyMutableItemDefinition.Property<T>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
TODO is this used?static class
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.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>
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescription@NotNull TransformablePropertyDefinition<T>
clone()
protected TransformablePropertyDefinition<T>
copy()
@NotNull PropertyDelta<T>
createEmptyDelta
(ItemPath path) Creates an empty delta (with appropriate implementation class), pointing to this item definition, with a given path.void
freeze()
Should be no-op (or very quick) if the object is already immutable.Returns a compile-time class that is used to represent items.@NotNull PrismProperty<T>
Create an item instance.@NotNull PrismProperty<T>
instantiate
(QName name) Create an item instance.boolean
mutator()
Returns an interface to mutate this definition.static <T> PrismPropertyDefinition<T>
of
(PrismPropertyDefinition<T> originalItem) protected PrismPropertyDefinition<T>
void
revive
(PrismContext prismContext) TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary)void
setSchemaContextDefinition
(SchemaContextDefinition schemaContextDefinition) Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, canAdd, canModify, canRead, cloneWithNewName, deepClone, delegate, 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
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
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
cloneWithNewName, 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
canAdd, canModify, canRead, debugDumpShortToString, deepClone, findItemDefinition, getDiagrams, getHelp, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, isDynamic, isHeterogeneousListItem, isIndexed, isIndexOnly, isInherited, isOperational, isSearchable, isValidFor, structuredType
Methods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition
addSchemaMigration, setCanAdd, setCanModify, setCanRead, 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.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.PrismItemMatchingDefinition
getNormalizer, getStringNormalizerForPolyStringProperty, getStringNormalizerIfApplicable, isCustomPolyString
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
defaultValue, delegate, getAllowedValues, getMatchingRule, getMatchingRuleQName, getSuggestedValues, getTypeName, getValueEnumerationRef
Methods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookup
-
Method Details
-
of
-
revive
Description copied from interface:Revivable
TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary)- Specified by:
revive
in interfaceRevivable
- Overrides:
revive
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<T>>
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutable
in interfaceFreezable
- Overrides:
isImmutable
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<T>>
-
freeze
public void freeze()Description copied from interface:Freezable
Should be no-op (or very quick) if the object is already immutable.- Specified by:
freeze
in interfaceFreezable
- Overrides:
freeze
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<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>
- Overrides:
clone
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<T>>
-
copy
- Specified by:
copy
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<T>>
-
mutator
Description copied from interface:Definition
Returns an interface to mutate this definition.- Specified by:
mutator
in interfaceDefinition
- Specified by:
mutator
in interfaceItemDefinition<T>
- Specified by:
mutator
in interfacePrismPropertyDefinition<T>
- Overrides:
mutator
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<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>
-
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>
- Overrides:
instantiate
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<T>>
-
createEmptyDelta
Description copied from interface:ItemDefinition
Creates an empty delta (with appropriate implementation class), pointing to this item definition, with a given path.- Specified by:
createEmptyDelta
in interfaceItemDefinition<T>
- Specified by:
createEmptyDelta
in interfaceItemDefinitionDelegator<T>
- Specified by:
createEmptyDelta
in interfacePrismItemInstantiableDefinition<T,
PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
createEmptyDelta
in interfacePropertyDefinitionDelegator<T>
-
getTypeClass
Description copied from interface:Definition
Returns a compile-time class that is used to represent items. E.g. returns String, Integer, subclasses of Objectable and Containerable and so on.- Specified by:
getTypeClass
in interfaceDefinition
- Specified by:
getTypeClass
in interfaceDefinitionDelegator
- Specified by:
getTypeClass
in interfacePrismItemMatchingDefinition<T>
- Specified by:
getTypeClass
in interfacePrismPropertyDefinition<T>
- Specified by:
getTypeClass
in interfacePropertyDefinitionDelegator<T>
-
publicView
- Specified by:
publicView
in classTransformableItemDefinition<PrismProperty<T>,
PrismPropertyDefinition<T>>
-
setSchemaContextDefinition
- Specified by:
setSchemaContextDefinition
in interfaceDefinition.DefinitionMutator
-