Class PrismObjectWrapperImpl<O extends ObjectType>
java.lang.Object
com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl<PrismContainer<C>,PrismContainerValueWrapper<C>>
com.evolveum.midpoint.gui.impl.prism.wrapper.PrismContainerWrapperImpl<O>
com.evolveum.midpoint.gui.impl.prism.wrapper.PrismObjectWrapperImpl<O>
- All Implemented Interfaces:
ItemWrapper<PrismContainer<O>,
,PrismContainerValueWrapper<O>> PrismContainerWrapper<O>
,PrismObjectWrapper<O>
,Definition
,Freezable
,ItemDefinition<PrismContainer<O>>
,LocalItemDefinitionStore
,PrismContainerDefinition<O>
,PrismContextSensitive
,PrismItemAccessDefinition
,Revivable
,SmartVisitable<Definition>
,Visitable<Definition>
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ResourceWrapper
,ShadowWrapperImpl
public class PrismObjectWrapperImpl<O extends ObjectType>
extends PrismContainerWrapperImpl<O>
implements PrismObjectWrapper<O>
- Author:
- katka
- 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Visitor<Definition> visitor) boolean
accept
(Visitor<Definition> visitor, SmartVisitation<Definition> visitation) void
addShadowDelta
(ReferenceDelta shadowRefDelta) void
freeze()
Returns display name.getOid()
Deprecated.protected List<ReferenceDelta>
getValue()
boolean
boolean
Methods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.PrismContainerWrapperImpl
canRepresent, clone, cloneVirtualContainerWithNewValue, cloneWithReplacedDefinition, createEmptyDelta, createNewEmptyValue, createValue, findContainer, findContainer, findContainerValue, findItem, findProperty, findReference, getCompileTimeClass, getComplexTypeDefinition, getDefinitions, getDelta, getDeltaPathForStatus, getIdentifier, getItemDefinition, getPropertyDefinitions, getSelectedChild, getTypeClass, isVirtual, isVisible, replaceDefinition, setExpanded, setIdentifier, setShowEmpty, setVirtual, toMutable
Methods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl
add, addValueToDelta, adoptElementDefinitionFrom, canAdd, canBeDefinitionOf, canBeDefinitionOf, canModify, canRead, checkRequired, debugDump, debugDumpShortToString, deepClone, findItemDefinition, findObjectStatus, findObjectWrapper, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayOrder, getDocumentation, getDocumentationPreview, getFormComponentValidator, getHelp, getItem, getItemName, getMaxOccurs, getMinOccurs, getOldItem, getParent, getParentContainerValue, getPath, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getStatus, getSubstitutionHead, getTypeName, getValueEnumerationRef, getValues, getVisibleOverwrite, instantiate, instantiate, isAbstract, isColumn, isDeprecated, isDynamic, isElaborate, isEmphasized, isEmpty, isExperimental, isHeterogeneousListItem, isIgnored, isIndexOnly, isInherited, isMetadata, isOperational, isProcessProvenanceMetadata, isReadOnly, isRemoved, isRuntimeSchema, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isValidFor, isVisibleByVisibilityHandler, remove, removeAll, revive, setAnnotation, setColumn, setDisplayName, setDisplayOrder, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwrite, structuredType
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotation
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
adoptElementDefinitionFrom, canBeDefinitionOf, canBeDefinitionOf, debugDumpShortToString, deepClone, findItemDefinition, getItemName, getMaxOccurs, getMinOccurs, getSubstitutionHead, getValueEnumerationRef, instantiate, instantiate, isDynamic, isHeterogeneousListItem, isIndexOnly, isInherited, isMandatory, isMultiValue, isOperational, isOptional, isSearchable, isSingleValue, isValidFor
Methods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.ItemWrapper
add, checkRequired, debugDump, findObjectStatus, findObjectWrapper, getDelta, getFormComponentValidator, getItem, getParent, getParentContainerValue, getPath, getValues, getVisibleOverwrite, isColumn, isEmpty, isMetadata, isProcessProvenanceMetadata, isReadOnly, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isVisible, remove, removeAll, setColumn, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowEmpty, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwrite
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
canRepresent, clone, cloneWithReplacedDefinition, createEmptyDelta, createValue, getAlwaysUseForEquals, getCompileTimeClass, getComplexTypeDefinition, getDefinitions, getItemNames, getPropertyDefinitions, getTypeClass, isAlwaysUseForEquals, isCompletelyDefined, isEmpty, replaceDefinition, structuredType, toMutable
Methods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.PrismContainerWrapper
cloneVirtualContainerWithNewValue, findContainer, findContainer, findContainerValue, findItem, findProperty, findReference, getIdentifier, getSelectedChild, getStatus, isVirtual, setExpanded, setIdentifier, setVirtual
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canRead
-
Constructor Details
-
PrismObjectWrapperImpl
-
-
Method Details
-
getObjectDelta
- Specified by:
getObjectDelta
in interfacePrismObjectWrapper<O extends ObjectType>
- Throws:
SchemaException
-
addShadowDelta
-
getShadowDeltas
-
getOid
Deprecated.- Specified by:
getOid
in interfacePrismObjectWrapper<O extends ObjectType>
-
getObject
- Specified by:
getObject
in interfacePrismObjectWrapper<O extends ObjectType>
-
getObjectOld
- Specified by:
getObjectOld
in interfacePrismObjectWrapper<O extends ObjectType>
-
getValue
- Specified by:
getValue
in interfaceItemWrapper<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>> - Specified by:
getValue
in interfacePrismObjectWrapper<O extends ObjectType>
- Overrides:
getValue
in classItemWrapperImpl<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>>
-
getDisplayName
Description copied from interface:Definition
Returns display name. Specifies the printable name of the object class or attribute. It must contain a printable string. It may also contain a key to catalog file. Returns null if no display name is set. Corresponds to "displayName" XSD annotation.- Specified by:
getDisplayName
in interfaceDefinition
- Overrides:
getDisplayName
in classItemWrapperImpl<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>> - Returns:
- display name string or catalog key
-
getObjectApplyDelta
- Specified by:
getObjectApplyDelta
in interfacePrismObjectWrapper<O extends ObjectType>
- Throws:
SchemaException
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutable
in interfaceFreezable
- Overrides:
isImmutable
in classPrismContainerWrapperImpl<O extends ObjectType>
-
freeze
public void freeze()- Specified by:
freeze
in interfaceFreezable
- Overrides:
freeze
in classPrismContainerWrapperImpl<O extends ObjectType>
-
accept
- Specified by:
accept
in interfaceSmartVisitable<O extends ObjectType>
- Overrides:
accept
in classPrismContainerWrapperImpl<O extends ObjectType>
- Returns:
- false if we already was here
-
accept
- Specified by:
accept
in interfaceVisitable<O extends ObjectType>
- Overrides:
accept
in classPrismContainerWrapperImpl<O extends ObjectType>
-
isExpanded
public boolean isExpanded()- Specified by:
isExpanded
in interfacePrismContainerWrapper<O extends ObjectType>
- Overrides:
isExpanded
in classPrismContainerWrapperImpl<O extends ObjectType>
-