Interface PrismObjectValueDelegator<O extends Objectable>
- All Superinterfaces:
ComplexCopyable<PrismValue>
,DebugDumpable
,Freezable
,MidpointOriginMetadata
,ParentVisitable
,PathVisitable
,PrismContainerValue<O>
,PrismContainerValueDelegator<O>
,PrismObjectValue<O>
,PrismValue
,PrismValueDelegator
,PrismVisitable
,Revivable
,SchemaLookup.Aware
,Serializable
,Visitable
,Walkable
public interface PrismObjectValueDelegator<O extends Objectable>
extends PrismContainerValueDelegator<O>, PrismObjectValue<O>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismContainerValue
PrismContainerValue.RemovedItemDefinitionException
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptiondefault O
default PrismObject<O>
default PrismContainer<O>
asSingleValuedContainer
(@NotNull QName itemName) Returns a single-valued container (with a single-valued definition) holding just this value.default PrismObjectValue<O>
clone()
Literal clone.default PrismObjectValue<O>
cloneComplex
(@NotNull CloneStrategy strategy) Complex clone with different cloning strategies.delegate()
default boolean
equivalent
(PrismContainerValue<?> other) default PrismContainer<?>
default PolyString
getName()
default String
getOid()
default String
default void
default void
setVersion
(String version) default String
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.deleg.PrismContainerValueDelegator
accept, accept, acceptParentVisitor, acceptVisitor, add, add, addAll, addAllReplaceExisting, addRawElement, addReplaceExisting, applyDefinition, applyDefinition, applyDefinition, asContainerable, asContainerable, assertDefinitions, assertDefinitions, canRepresent, checkNothingExceptFor, clear, contains, contains, containsItem, createDetachedSubItem, createImmutableClone, createProperty, createProperty, deleteRawElement, findContainer, findItem, findItem, findItem, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateProperty, findOrCreateReference, findPartial, findProperty, findProperty, findReference, getCompileTimeClass, getComplexTypeDefinition, getContainer, getDefinition, getId, getItemNames, getItemRealValue, getItems, getParent, getProperties, getPropertyRealValue, getRootValue, getValue, hasCompleteDefinition, hasNoItems, isIdOnly, keepPaths, merge, mergeContent, recompute, remove, removeAll, removeContainer, removeItem, removeItems, removeMetadataFromPaths, removeOperationalItems, removePaths, removeProperty, removeRawElement, removeReference, replace, revive, schemaLookup, setId, setOriginTypeRecursive, setPropertyRealValue, size, subtract, walk
Methods inherited from interface com.evolveum.midpoint.prism.PrismObjectValue
copy, equals, hashCode, immutableCopy, mutableCopy, toString
Methods inherited from interface com.evolveum.midpoint.prism.deleg.PrismValueDelegator
applyDefinitionLegacy, applyDefinitionLegacy, checkConsistenceInternal, clearParent, cloneIfImmutable, debugDump, debugDump, debugDumpLazily, debugDumpLazily, deleteValueMetadata, diff, equals, equals, find, getAllItems, getAllValues, getNearestValueOfType, getOriginObject, getOriginType, getParentContainerValue, getPath, getRealClass, getRealValue, getRealValueIfExists, getRealValueOrRawType, getRootObjectable, getSchemaContext, getTypeName, getUserData, getUserData, getValueMetadata, getValueMetadataAsContainer, getValueMetadataIfExists, hashCode, hashCode, hasRealClass, hasValueMetadata, isEmpty, isObjectable, isOfType, isRaw, isTransient, normalize, recompute, representsSameValue, setOriginObject, setOriginType, setParent, setTransient, setUserData, setValueMetadata, setValueMetadata, setValueMetadata
-
Method Details
-
delegate
PrismObjectValue<O> delegate()- Specified by:
delegate
in interfacePrismContainerValueDelegator<O extends Objectable>
- Specified by:
delegate
in interfacePrismValueDelegator
-
getOid
- Specified by:
getOid
in interfacePrismObjectValue<O extends Objectable>
-
setOid
- Specified by:
setOid
in interfacePrismObjectValue<O extends Objectable>
-
getVersion
- Specified by:
getVersion
in interfacePrismObjectValue<O extends Objectable>
-
setVersion
- Specified by:
setVersion
in interfacePrismObjectValue<O extends Objectable>
-
asObjectable
- Specified by:
asObjectable
in interfacePrismObjectValue<O extends Objectable>
-
asPrismObject
- Specified by:
asPrismObject
in interfacePrismObjectValue<O extends Objectable>
-
getName
- Specified by:
getName
in interfacePrismObjectValue<O extends Objectable>
-
getExtension
- Specified by:
getExtension
in interfacePrismObjectValue<O extends Objectable>
-
clone
Description copied from interface:PrismValue
Literal clone.- Specified by:
clone
in interfacePrismContainerValue<O extends Objectable>
- Specified by:
clone
in interfacePrismContainerValueDelegator<O extends Objectable>
- Specified by:
clone
in interfacePrismObjectValue<O extends Objectable>
- Specified by:
clone
in interfacePrismValue
- Specified by:
clone
in interfacePrismValueDelegator
-
cloneComplex
Description copied from interface:PrismValue
Complex clone with different cloning strategies.- Specified by:
cloneComplex
in interfaceComplexCopyable<O extends Objectable>
- Specified by:
cloneComplex
in interfacePrismContainerValue<O extends Objectable>
- Specified by:
cloneComplex
in interfacePrismContainerValueDelegator<O extends Objectable>
- Specified by:
cloneComplex
in interfacePrismObjectValue<O extends Objectable>
- Specified by:
cloneComplex
in interfacePrismValue
- Specified by:
cloneComplex
in interfacePrismValueDelegator
- See Also:
-
equivalent
- Specified by:
equivalent
in interfacePrismContainerValue<O extends Objectable>
- Specified by:
equivalent
in interfacePrismContainerValueDelegator<O extends Objectable>
- Specified by:
equivalent
in interfacePrismObjectValue<O extends Objectable>
-
toHumanReadableString
- Specified by:
toHumanReadableString
in interfacePrismObjectValue<O extends Objectable>
- Specified by:
toHumanReadableString
in interfacePrismValue
- Specified by:
toHumanReadableString
in interfacePrismValueDelegator
-
asSingleValuedContainer
default PrismContainer<O> asSingleValuedContainer(@NotNull @NotNull QName itemName) throws SchemaException Description copied from interface:PrismContainerValue
Returns a single-valued container (with a single-valued definition) holding just this value.- Specified by:
asSingleValuedContainer
in interfacePrismContainerValue<O extends Objectable>
- Specified by:
asSingleValuedContainer
in interfacePrismContainerValueDelegator<O extends Objectable>
- Specified by:
asSingleValuedContainer
in interfacePrismObjectValue<O extends Objectable>
- Parameters:
itemName
- Item name for newly-created container.- Throws:
SchemaException
-