Class ExpressionWrapper
java.lang.Object
com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl<PrismProperty<T>,PrismPropertyValueWrapper<T>>
com.evolveum.midpoint.gui.impl.prism.wrapper.PrismPropertyWrapperImpl<ExpressionType>
com.evolveum.midpoint.gui.impl.prism.wrapper.ExpressionWrapper
- All Implemented Interfaces:
ItemWrapper<PrismProperty<ExpressionType>,,PrismPropertyValueWrapper<ExpressionType>> PrismPropertyWrapper<ExpressionType>,Definition,Freezable,ItemDefinition<PrismProperty<ExpressionType>>,LivePrismItemDefinition,PrismItemAccessDefinition,PrismItemBasicDefinition,PrismItemInstantiableDefinition<ExpressionType,,PrismPropertyValue<ExpressionType>, PrismProperty<ExpressionType>, PrismPropertyDefinition<ExpressionType>, PropertyDelta<ExpressionType>> PrismItemMatchingDefinition<ExpressionType>,PrismItemStorageDefinition,PrismItemValuesDefinition<ExpressionType>,PrismLifecycleDefinition,PrismPresentationDefinition,PrismPropertyDefinition<ExpressionType>,Revivable,SchemaLookup.Aware,SmartVisitable<Definition>,Visitable<Definition>,DebugDumpable,Serializable,Cloneable
Created by honchar
- See Also:
-
Nested Class Summary
Nested 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.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Data, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Info, PrismItemAccessDefinition.MutableNested 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.PrismItemMatchingDefinition
PrismItemMatchingDefinition.Data<T>, PrismItemMatchingDefinition.Delegable<T>, PrismItemMatchingDefinition.MutatorNested 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.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.MutableNested 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.PrismPropertyDefinition
PrismPropertyDefinition.PrismPropertyDefinitionMutator<T>, PrismPropertyDefinition.PrismPropertyLikeDefinitionBuilder<T> -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionExpressionWrapper(@Nullable PrismContainerValueWrapper parent, PrismProperty<ExpressionType> property, ItemStatus status) -
Method Summary
Modifier and TypeMethodDescriptionprotected <D extends ItemDelta<? extends PrismValue,? extends ItemDefinition>>
voidaddValueToDelta(PrismPropertyValueWrapper<ExpressionType> value, D delta) Specifies an order in which the item should be displayed relative to other items at the same level.@NotNull QNameReturns a name of the type for this definition.booleanbooleanbooleanbooleanvoidsetConstruction(ConstructionType construction) Methods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.PrismPropertyWrapperImpl
accept, accept, clone, cloneWithNewName, createEmptyDelta, createNewEmptyValue, defaultValue, freeze, getAllowedValues, getDelta, getItemDefinition, getMatchingRule, getMatchingRuleQName, getPredefinedValuesOid, getSchemaContextDefinition, getSuggestedValues, getTypeClass, instantiate, instantiate, isEmpty, isImmutable, isIndexed, mutator, removeNotChangedStatusValue, setMuteDeltaCreate, setPredefinedValuesOidMethods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl
add, addIgnoringEquivalents, canAdd, canModify, canRead, checkRequired, computeDeltaInternal, debugDump, debugDumpShortToString, deepClone, findItemDefinition, findObjectStatus, findObjectWrapper, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayHint, getDisplayName, getDocumentation, getDocumentationPreview, getFormComponentValidator, getHelp, getItem, getItemName, getMaxOccurs, getMergerIdentifier, getMergerInstance, getMinOccurs, getNaturalKeyConstituents, getNaturalKeyInstance, getOldItem, getParent, getParentContainerValue, getPath, getPlannedRemoval, getPreconditionDeltas, getProcessing, getRemovedSince, getSchemaMigrations, getStatus, getSubstitutionHead, getValue, getValueEnumerationRef, getValues, getVisibleOverwrite, isAbstract, isAlwaysUseForEquals, isColumn, isDeprecated, isDynamic, isElaborate, isEmphasized, isExperimental, isHeterogeneousListItem, isIgnored, isIndexOnly, isInherited, isMetadata, isOperational, isOptionalCleanup, isProcessProvenanceMetadata, isReadOnly, isRemoved, isRuntimeSchema, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isValidFor, isVisible, isVisibleByVisibilityHandler, remove, removeAll, revive, setColumn, setDisplayName, setDisplayOrder, setHelp, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowEmpty, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwrite, structuredType, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchemaMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutableMethods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
debugDumpShortToString, deepClone, getProcessing, getSubstitutionHead, getValueEnumerationRef, isAlwaysUseForEquals, isDynamic, isHeterogeneousListItem, isIgnored, isInherited, isOperational, structuredTypeMethods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.ItemWrapper
add, addIgnoringEquivalents, checkRequired, debugDump, findObjectStatus, findObjectWrapper, getFormComponentValidator, getItem, getParent, getParentContainerValue, getPath, getPreconditionDeltas, getStatus, getValue, getValues, getVisibleOverwrite, isColumn, isMetadata, isProcessProvenanceMetadata, isReadOnly, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isVisible, remove, removeAll, setColumn, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowEmpty, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwriteMethods inherited from interface com.evolveum.midpoint.prism.LivePrismItemDefinition
findItemDefinition, isValidForMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canRead, getInfoMethods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getItemName, getMaxOccurs, getMinOccurs, isMandatory, isMultiValue, isOptional, isSingleValueMethods inherited from interface com.evolveum.midpoint.prism.PrismItemMatchingDefinition
getNormalizer, getStringNormalizerForPolyStringProperty, getStringNormalizerIfApplicable, isCustomPolyStringMethods inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
isIndexOnly, isSearchableMethods inherited from interface com.evolveum.midpoint.prism.PrismItemValuesDefinition
getValueEnumerationRefMethods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
getDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemovedMethods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
getDiagrams, getDisplayHint, getDisplayName, getDocumentation, getDocumentationPreview, getHelp, isEmphasizedMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
convertStringValueToPolyString, getTypeClassLegacy, isAnyTypeMethods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookup
-
Constructor Details
-
ExpressionWrapper
public ExpressionWrapper(@Nullable @Nullable PrismContainerValueWrapper parent, PrismProperty<ExpressionType> property, ItemStatus status)
-
-
Method Details
-
isConstructionExpression
public boolean isConstructionExpression() -
isAssociationExpression
public boolean isAssociationExpression() -
isAttributeExpression
public boolean isAttributeExpression() -
isFocusMappingExpression
public boolean isFocusMappingExpression() -
getConstruction
-
setConstruction
-
getDisplayOrder
Description copied from interface:PrismPresentationDefinitionSpecifies an order in which the item should be displayed relative to other items at the same level. The items will be displayed by sorting them by the values of displayOrder annotation (ascending). Items that do not have any displayOrder annotation will be displayed last. The ordering of values with the same displayOrder is undefined and it may be arbitrary.- Specified by:
getDisplayOrderin interfacePrismPresentationDefinition- Overrides:
getDisplayOrderin classItemWrapperImpl<PrismProperty<ExpressionType>,PrismPropertyValueWrapper<ExpressionType>>
-
getTypeName
Description copied from interface:DefinitionReturns a name of the type for this definition. The type can be part of the compile-time schema or it can be defined at run time. Examples of the former case are types like c:UserType, xsd:string, or even flexible ones like c:ExtensionType or c:ShadowAttributesType. Examples of the latter case are types used in - custom extensions, like ext:LocationsType (where ext = e.g. http://example.com/extension), - resource schema, like ri:inetOrgPerson (ri = http://.../resource/instance-3), - connector schema, like TODO In XML representation that corresponds to the name of the XSD type. Although beware, the run-time types do not have statically defined structure. And the resource and connector-related types may even represent different kinds of objects within different contexts (e.g. two distinct resources both with ri:AccountObjectClass types). Also note that for complex type definitions, the type name serves as a unique identifier. On the other hand, for item definitions, it is just one of its attributes; primary key is item name in that case. The type name should be fully qualified. (TODO reconsider this)- Specified by:
getTypeNamein interfaceDefinition- Specified by:
getTypeNamein interfacePrismItemBasicDefinition- Specified by:
getTypeNamein interfacePrismItemMatchingDefinition<ExpressionType>- Overrides:
getTypeNamein classItemWrapperImpl<PrismProperty<ExpressionType>,PrismPropertyValueWrapper<ExpressionType>> - Returns:
- the type name
-
addValueToDelta
protected <D extends ItemDelta<? extends PrismValue,? extends ItemDefinition>> void addValueToDelta(PrismPropertyValueWrapper<ExpressionType> value, D delta) throws SchemaException - Overrides:
addValueToDeltain classItemWrapperImpl<PrismProperty<ExpressionType>,PrismPropertyValueWrapper<ExpressionType>> - Throws:
SchemaException
-