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,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>,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 classstatic classNested 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 TypeMethodDescription@NotNull PrismPropertyDefinition<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()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.booleanstatic <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)Returns an interface to mutate this definition.Methods inherited from class com.evolveum.midpoint.model.impl.schema.transform.TransformableItemDefinition
access, applyTemplate, canAdd, canModify, canRead, deepClone, delegate, 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.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, checkMutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.deleg.ItemDefinitionDelegator
adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, debugDumpShortToString, deepClone, 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.Property
setAllowedValues, setIndexed, setInherited, setMatchingRuleQName, setSuggestedValuesMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
isAnyTypeMethods inherited from interface com.evolveum.midpoint.prism.deleg.PropertyDefinitionDelegator
defaultValue, delegate, getAllowedValues, getMatchingRuleQName, getSuggestedValues, isIndexed
-
Constructor Details
-
TransformablePropertyDefinition
-
-
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()- Specified by:
freezein interfaceFreezable- Overrides:
freezein 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>- Overrides:
clonein classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-
copy
- Specified by:
copyin classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<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>- Overrides:
toMutablein 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 interfacePrismPropertyDefinition<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 interfacePrismPropertyDefinition<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 interfacePrismPropertyDefinition<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 interfacePrismPropertyDefinition<T>- Specified by:
getTypeClassin interfacePropertyDefinitionDelegator<T>
-
publicView
- Specified by:
publicViewin classTransformableItemDefinition<PrismProperty<T>,PrismPropertyDefinition<T>>
-