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
Nested ClassesModifier and TypeClassDescriptionstatic classTODO is this used?static classNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.Definition
Definition.DefinitionBuilder, Definition.DefinitionMutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.ItemDefinition
ItemDefinition.ItemDefinitionLikeBuilder, ItemDefinition.ItemDefinitionMutatorNested 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.Data, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Info, PrismItemAccessDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition.Mutable
PrismItemAccessDefinition.Mutable.DelegableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
PrismItemBasicDefinition.Data, PrismItemBasicDefinition.Delegable, PrismItemBasicDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition.Mutable
PrismItemBasicDefinition.Mutable.DelegableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
PrismItemMatchingDefinition.Data<T>, PrismItemMatchingDefinition.Delegable<T>, PrismItemMatchingDefinition.MutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition.Mutator
PrismItemMatchingDefinition.Mutator.DelegableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
PrismItemStorageDefinition.MutableNested 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.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition.Mutable
PrismLifecycleDefinition.Mutable.DelegableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition.Mutable
PrismPresentationDefinition.Mutable.DelegableNested 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.voidfreeze()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.booleanmutator()Returns an interface to mutate this definition.static <T> PrismPropertyDefinition<T>of(PrismPropertyDefinition<T> originalItem) protected PrismPropertyDefinition<T>voidrevive(PrismContext prismContext) TODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary)voidsetSchemaContextDefinition(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, 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.prism.Definition
checkMutableOnExposingMethods inherited from interface com.evolveum.midpoint.prism.Definition.DefinitionMutator
setAnnotation, setMergerIdentifier, setNaturalKeyConstituentsMethods 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, isRuntimeSchemaMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
cloneWithNewName, getProcessing, isAlwaysUseForEquals, isIgnoredMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinition.ItemDefinitionMutator
setAlwaysUseForEquals, setIgnoredMethods 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, structuredTypeMethods 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, setSubstitutionHeadMethods inherited from interface com.evolveum.midpoint.model.impl.schema.transform.PartiallyMutableItemDefinition.Property
setAllowedValues, setDefaultValue, setInherited, setMatchingRuleQName, setSuggestedValues, setValueEnumerationRefMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
getInfoMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition.Mutable
setInfoMethods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getTypeName, isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
getNormalizer, getStringNormalizerForPolyStringProperty, getStringNormalizerIfApplicable, isCustomPolyStringMethods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition.Mutable
setDisplayHintMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
convertStringValueToPolyString, getTypeClassLegacy, isAnyTypeMethods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
defaultValue, delegate, getAllowedValues, getMatchingRule, getMatchingRuleQName, getSuggestedValues, getTypeName, getValueEnumerationRefMethods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookup
-
Method Details
-
of
-
revive
Description copied from interface:RevivableTODO: Is revive necessary if prism context is static? TODO document (if it's found to be necessary)- Specified by:
revivein interfaceRevivable- Overrides:
revivein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutablein interfaceFreezable- Overrides:
isImmutablein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
freeze
public void freeze()Description copied from interface:FreezableShould be no-op (or very quick) if the object is already immutable.- Specified by:
freezein interfaceFreezable- Overrides:
freezein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
clone
- Specified by:
clonein interfaceDefinition- Specified by:
clonein interfaceItemDefinition<T>- Specified by:
clonein interfacePartiallyMutableItemDefinition.Property<T>- Specified by:
clonein interfacePrismPropertyDefinition<T>- Specified by:
clonein interfacePrismPropertyDefinition.PrismPropertyDefinitionMutator<T>- Overrides:
clonein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
copy
- Specified by:
copyin classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
mutator
Description copied from interface:DefinitionReturns an interface to mutate this definition.- Specified by:
mutatorin interfaceDefinition- Specified by:
mutatorin interfaceItemDefinition<T>- Specified by:
mutatorin interfacePrismPropertyDefinition<T>- Overrides:
mutatorin 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 interfaceItemDefinition<T>- Specified by:
instantiatein interfaceItemDefinitionDelegator<T>- Specified by:
instantiatein interfacePrismItemInstantiableDefinition<T,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
instantiatein interfacePropertyDefinitionDelegator<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 interfaceItemDefinition<T>- Specified by:
instantiatein interfaceItemDefinitionDelegator<T>- Specified by:
instantiatein interfacePrismItemInstantiableDefinition<T,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
instantiatein interfacePropertyDefinitionDelegator<T>- Overrides:
instantiatein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
createEmptyDelta
Description copied from interface:ItemDefinitionCreates an empty delta (with appropriate implementation class), pointing to this item definition, with a given path.- Specified by:
createEmptyDeltain interfaceItemDefinition<T>- Specified by:
createEmptyDeltain interfaceItemDefinitionDelegator<T>- Specified by:
createEmptyDeltain interfacePrismItemInstantiableDefinition<T,PrismPropertyValue<T>, PrismProperty<T>, PrismPropertyDefinition<T>, PropertyDelta<T>> - Specified by:
createEmptyDeltain interfacePropertyDefinitionDelegator<T>
-
getTypeClass
Description copied from interface:DefinitionReturns 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:
getTypeClassin interfaceDefinition- Specified by:
getTypeClassin interfaceDefinitionDelegator- Specified by:
getTypeClassin interfacePrismItemMatchingDefinition<T>- Specified by:
getTypeClassin interfacePrismPropertyDefinition<T>- Specified by:
getTypeClassin interfacePropertyDefinitionDelegator<T>
-
publicView
- Specified by:
publicViewin classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
setSchemaContextDefinition
- Specified by:
setSchemaContextDefinitionin interfaceDefinition.DefinitionMutator
-