public class PrismObjectValue<O extends Objectable> extends PrismContainerValue<O>
Modifier and Type | Field and Description |
---|---|
protected String |
oid |
protected String |
version |
complexTypeDefinition, items
immutable, prismContext
INDENT_STRING
Constructor and Description |
---|
PrismObjectValue() |
PrismObjectValue(O objectable) |
PrismObjectValue(O objectable,
PrismContext prismContext) |
PrismObjectValue(PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
O |
asObjectable() |
static <T extends Objectable> |
asObjectable(PrismObject<T> object) |
PrismObject<O> |
asPrismObject() |
PrismContainer<O> |
asSingleValuedContainer(QName itemName)
Returns a single-valued container (with a single-valued definition) holding just this value.
|
PrismObjectValue<O> |
clone()
Literal clone.
|
PrismObjectValue<O> |
cloneComplex(CloneStrategy strategy)
Complex clone with different cloning strategies.
|
protected void |
debugDumpIdentifiers(StringBuilder sb) |
protected void |
detailedDebugDumpStart(StringBuilder sb) |
boolean |
equals(Object o) |
boolean |
equivalent(PrismContainerValue<?> other) |
PrismContainer<?> |
getExtension() |
PolyString |
getName() |
String |
getOid() |
String |
getVersion() |
int |
hashCode() |
void |
setOid(String oid) |
void |
setVersion(String version) |
String |
toHumanReadableString()
Returns a short (one-line) representation of the real value stored in this object.
|
String |
toString() |
accept, accept, add, add, addAll, addAllReplaceExisting, addRawElement, addReplaceExisting, applyDefinition, applyDefinition, asContainerable, asContainerable, asContainerable, asContainerables, asContainerables, asPrismContainerValues, assertDefinitions, assertDefinitions, canRepresent, checkConsistenceInternal, clear, contains, contains, containsItem, containsRealValue, copyDefinition, copyValues, createDetachedSubItem, createProperty, createProperty, debugDump, deepCloneDefinition, deleteRawElement, equalsComplex, equalsComplex, find, findContainer, findItem, findItem, findItem, findItem, findItem, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateProperty, findOrCreateProperty, findOrCreateReference, findPartial, findProperty, findProperty, findProperty, findReference, findReferenceByCompositeObjectElementName, getAllValues, getCompileTimeClass, getComplexTypeDefinition, getContainer, getDefinition, getId, getItems, getItems, getNextItem, getParent, getPath, getPreviousItem, getPrismContext, getPrismContextLocal, getProperties, getPropertyNames, getPropertyRealValue, getRealClass, getRealValue, getRootValue, getTypeName, getValue, hasCompleteDefinition, isEmpty, isIdOnly, isRaw, keepPaths, match, merge, mergeContent, normalize, recompute, remove, removeAll, removeContainer, removeContainer, removeItems, removeOperationalItems, removePaths, removeProperty, removeProperty, removeRawElement, removeReference, removeReference, replace, representsSameValue, revive, setId, setImmutable, setOriginTypeRecursive, setPropertyRealValue, size, subtract, toPcvList
appendOriginDump, applyDefinition, checkMutability, clearParent, clearParent, cloneCollection, cloneCollectionComplex, cloneValues, collectionContainsEquivalentValue, contains, containsAll, containsRealValue, containsRealValue, copyValues, diff, diff, equals, equals, equalsRealValue, equalsRealValue, equalsRealValues, fromRealValue, getOriginObject, getOriginType, getParentContainerValue, getParentContainerValue, getRealValuesOfCollection, getUserData, getUserData, isImmutable, recompute, resetParentCollection, setOriginObject, setOriginType, setParent, setPrismContext, setUserData
finalize, getClass, notify, notifyAll, wait, wait, wait
debugDump, debugDumpLazily, debugDumpLazily
public PrismObjectValue()
public PrismObjectValue(PrismContext prismContext)
public PrismObjectValue(O objectable)
public PrismObjectValue(O objectable, PrismContext prismContext)
public String getOid()
public void setOid(String oid)
public String getVersion()
public void setVersion(String version)
public O asObjectable()
public PrismObject<O> asPrismObject()
public PolyString getName()
public PrismContainer<?> getExtension()
public PrismObjectValue<O> clone()
PrismValue
clone
in class PrismContainerValue<O extends Objectable>
public PrismObjectValue<O> cloneComplex(CloneStrategy strategy)
PrismValue
cloneComplex
in class PrismContainerValue<O extends Objectable>
CloneStrategy
public boolean equals(Object o)
equals
in class PrismContainerValue<O extends Objectable>
public int hashCode()
hashCode
in class PrismContainerValue<O extends Objectable>
public boolean equivalent(PrismContainerValue<?> other)
equivalent
in class PrismContainerValue<O extends Objectable>
public String toString()
toString
in class PrismContainerValue<O extends Objectable>
protected void detailedDebugDumpStart(StringBuilder sb)
detailedDebugDumpStart
in class PrismContainerValue<O extends Objectable>
protected void debugDumpIdentifiers(StringBuilder sb)
debugDumpIdentifiers
in class PrismContainerValue<O extends Objectable>
public String toHumanReadableString()
IPrismValue
toHumanReadableString
in interface IPrismValue
toHumanReadableString
in class PrismContainerValue<O extends Objectable>
public PrismContainer<O> asSingleValuedContainer(@NotNull QName itemName) throws SchemaException
PrismContainerValue
asSingleValuedContainer
in class PrismContainerValue<O extends Objectable>
itemName
- Item name for newly-created container.SchemaException
public static <T extends Objectable> T asObjectable(PrismObject<T> object)
Copyright © 2019 Evolveum. All rights reserved.