Package com.evolveum.midpoint.prism
Interface PrismObjectValue<O extends Objectable>
- All Superinterfaces:
- DebugDumpable,- Freezable,- MidpointOriginMetadata,- ParentVisitable,- PathVisitable,- PrismContainerValue<O>,- PrismContextSensitive,- PrismValue,- Revivable,- Serializable,- Visitable
Extension of PrismContainerValue that holds object-specific data (OID and version).
 It was created to make methods returning/accepting ItemValue universally usable;
 not losing OID/version data when object values are passed via such interfaces.
 This value is to be held by PrismObject. And such object should hold exactly one
 PrismObjectValue.
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismContainerValuePrismContainerValue.RemovedItemDefinitionException
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T extends Objectable>
 TasObjectable(PrismObject<T> object) asSingleValuedContainer(@NotNull QName itemName) Returns a single-valued container (with a single-valued definition) holding just this value.clone()Literal clone.cloneComplex(CloneStrategy strategy) Complex clone with different cloning strategies.booleanbooleanequivalent(PrismContainerValue<?> other) getName()getOid()inthashCode()voidvoidsetVersion(String version) toString()Methods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.FreezablecheckImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.metadata.MidpointOriginMetadatagetOriginObject, getOriginType, setOriginObject, setOriginTypeMethods inherited from interface com.evolveum.midpoint.prism.PrismContainerValueaccept, accept, acceptParentVisitor, add, add, addAll, addAllReplaceExisting, addRawElement, addReplaceExisting, applyDefinition, applyDefinition, asContainerable, asContainerable, assertDefinitions, assertDefinitions, canRepresent, clear, contains, contains, containsItem, createDetachedSubItem, createImmutableClone, createProperty, createProperty, deleteRawElement, findContainer, findItem, findItem, findItem, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateProperty, findOrCreateReference, findPartial, findProperty, findProperty, findReference, findReferenceByCompositeObjectElementName, getCompileTimeClass, getComplexTypeDefinition, getContainer, getDefinition, getId, getItemNames, getItemRealValue, getItems, getParent, getPrismContextLocal, getProperties, getPropertyRealValue, getRootValue, getValue, hasCompleteDefinition, hasNoItems, isIdOnly, keepPaths, merge, mergeContent, recompute, remove, removeAll, removeContainer, removeItems, removeOperationalItems, removePaths, removeProperty, removeRawElement, removeReference, replace, setId, setOriginTypeRecursive, setPropertyRealValue, size, subtractMethods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitivegetPrismContextMethods inherited from interface com.evolveum.midpoint.prism.PrismValueapplyDefinition, checkConsistenceInternal, clearParent, cloneIfImmutable, diff, equals, equals, find, getAllItems, getAllValues, getNearestValueOfType, getParentContainerValue, getPath, getRealClass, getRealValue, getRealValueIfExists, getRealValueOrRawType, getRootObjectable, getTypeName, getUserData, getUserData, getValueMetadata, getValueMetadataAsContainer, hashCode, hashCode, hasRealClass, hasValueMetadata, isEmpty, isObjectable, isOfType, isRaw, isTransient, normalize, recompute, representsSameValue, setParent, setPrismContext, setTransient, setUserData, setValueMetadata, setValueMetadata, setValueMetadata, valueMetadata
- 
Method Details- 
getOidString getOid()
- 
setOid
- 
getVersionString getVersion()
- 
setVersion
- 
asObjectableO asObjectable()
- 
asPrismObjectPrismObject<O> asPrismObject()
- 
getNamePolyString getName()
- 
getExtensionPrismContainer<?> getExtension()
- 
clonePrismObjectValue<O> clone()Description copied from interface:PrismValueLiteral clone.- Specified by:
- clonein interface- PrismContainerValue<O extends Objectable>
- Specified by:
- clonein interface- PrismValue
 
- 
cloneComplexDescription copied from interface:PrismValueComplex clone with different cloning strategies.- Specified by:
- cloneComplexin interface- PrismContainerValue<O extends Objectable>
- Specified by:
- cloneComplexin interface- PrismValue
- See Also:
 
- 
equals
- 
hashCodeint hashCode()
- 
equivalent- Specified by:
- equivalentin interface- PrismContainerValue<O extends Objectable>
 
- 
toStringString toString()
- 
toHumanReadableStringString toHumanReadableString()- Specified by:
- toHumanReadableStringin interface- PrismValue
 
- 
asSingleValuedContainerDescription copied from interface:PrismContainerValueReturns a single-valued container (with a single-valued definition) holding just this value.- Specified by:
- asSingleValuedContainerin interface- PrismContainerValue<O extends Objectable>
- Parameters:
- itemName- Item name for newly-created container.
- Throws:
- SchemaException
 
- 
asObjectable
 
-