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>>,PrismContextSensitive,PrismItemAccessDefinition,PrismPropertyDefinition<ExpressionType>,Revivable,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.PrismItemAccessDefinition
PrismItemAccessDefinition.Mutable -
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.booleanbooleanbooleanvoidsetConstruction(ConstructionType construction) Methods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.PrismPropertyWrapperImpl
accept, accept, clone, createEmptyDelta, createNewEmptyValue, defaultValue, freeze, getAllowedValues, getItemDefinition, getMatchingRuleQName, getPredefinedValuesOid, getSuggestedValues, getTypeClass, instantiate, instantiate, isEmpty, isImmutable, isIndexed, removeNotChangedStatusValue, setPredefinedValuesOid, toMutableMethods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl
add, adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, checkRequired, computeDeltaInternal, debugDump, debugDumpShortToString, deepClone, findItemDefinition, findObjectStatus, findObjectWrapper, getAnnotation, getAnnotations, getDelta, getDeprecatedSince, getDiagrams, getDisplayName, getDocumentation, getDocumentationPreview, getFormComponentValidator, getHelp, getItem, getItemName, getMaxOccurs, getMinOccurs, getOldItem, getParent, getParentContainerValue, getPath, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getStatus, getSubstitutionHead, getValue, getValueEnumerationRef, getValues, getVisibleOverwrite, isAbstract, isColumn, isDeprecated, isDynamic, isElaborate, isEmphasized, isExperimental, isHeterogeneousListItem, isIgnored, isIndexOnly, isInherited, isMetadata, isOperational, isProcessProvenanceMetadata, isReadOnly, isRemoved, isRuntimeSchema, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isValidFor, isVisible, isVisibleByVisibilityHandler, remove, removeAll, revive, setAnnotation, setColumn, setDisplayName, setDisplayOrder, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowEmpty, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwrite, structuredTypeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, 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
adoptElementDefinitionFrom, canBeDefinitionOf, canBeDefinitionOf, debugDumpShortToString, deepClone, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSearchable, isSingleValue, isValidFor, structuredTypeMethods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.ItemWrapper
add, checkRequired, debugDump, findObjectStatus, findObjectWrapper, getDelta, getFormComponentValidator, getItem, getParent, getParentContainerValue, getPath, 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.PrismContextSensitive
getPrismContextMethods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canReadMethods inherited from interface com.evolveum.midpoint.prism.PrismPropertyDefinition
isAnyType
-
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() -
getConstruction
-
setConstruction
-
getDisplayOrder
Description copied from interface:DefinitionSpecifies 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 interfaceDefinition- 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- 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
-