Package com.evolveum.midpoint.prism
Interface PrismObjectValue<O extends Objectable>
- All Superinterfaces:
 DebugDumpable,Freezable,MidpointOriginMetadata,ParentVisitable,PathVisitable,PrismContainerValue<O>,PrismValue,PrismVisitable,Revivable,SchemaLookup.Aware,Serializable,Visitable,Walkable
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 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 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.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.metadata.MidpointOriginMetadata
getOriginObject, getOriginType, setOriginObject, setOriginTypeMethods inherited from interface com.evolveum.midpoint.prism.PrismContainerValue
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, schemaLookup, setId, setOriginTypeRecursive, setPropertyRealValue, size, subtractMethods inherited from interface com.evolveum.midpoint.prism.PrismValue
applyDefinitionLegacy, applyDefinitionLegacy, checkConsistenceInternal, clearParent, cloneIfImmutable, deleteValueMetadata, diff, equals, equals, find, getAllItems, getAllValues, getNearestValueOfType, 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, setParent, setTransient, setUserData, setValueMetadata, setValueMetadata, setValueMetadata 
- 
Method Details
- 
getOid
String getOid() - 
setOid
 - 
getVersion
String getVersion() - 
setVersion
 - 
asObjectable
O asObjectable() - 
asPrismObject
PrismObject<O> asPrismObject() - 
getName
PolyString getName() - 
getExtension
PrismContainer<?> getExtension() - 
clone
PrismObjectValue<O> clone()Description copied from interface:PrismValueLiteral clone.- Specified by:
 clonein interfacePrismContainerValue<O extends Objectable>- Specified by:
 clonein interfacePrismValue
 - 
cloneComplex
Description copied from interface:PrismValueComplex clone with different cloning strategies.- Specified by:
 cloneComplexin interfacePrismContainerValue<O extends Objectable>- Specified by:
 cloneComplexin interfacePrismValue- See Also:
 
 - 
equals
 - 
hashCode
int hashCode() - 
equivalent
- Specified by:
 equivalentin interfacePrismContainerValue<O extends Objectable>
 - 
toString
String toString() - 
toHumanReadableString
String toHumanReadableString()- Specified by:
 toHumanReadableStringin interfacePrismValue
 - 
asSingleValuedContainer
Description copied from interface:PrismContainerValueReturns a single-valued container (with a single-valued definition) holding just this value.- Specified by:
 asSingleValuedContainerin interfacePrismContainerValue<O extends Objectable>- Parameters:
 itemName- Item name for newly-created container.- Throws:
 SchemaException
 - 
asObjectable
 
 -