public class PrismObject<O extends Objectable> extends PrismContainer<O>
Modifier and Type | Field and Description |
---|---|
protected String |
oid |
protected String |
version |
compileTimeClass
definition, elementName, parent, prismContext
INDENT_STRING
Constructor and Description |
---|
PrismObject(QName name,
Class<O> compileTimeClass) |
PrismObject(QName name,
Class<O> compileTimeClass,
PrismContext prismContext) |
PrismObject(QName name,
PrismObjectDefinition<O> definition,
PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
<I extends Item> |
addExtensionItem(I item) |
protected String |
additionalDumpDescription() |
void |
addReplaceExisting(Item<?,?> item) |
void |
applyDefinition(PrismContainerDefinition<O> definition) |
O |
asObjectable() |
PrismObject<O> |
clone() |
protected void |
copyValues(PrismObject<O> clone) |
ObjectDelta<O> |
createAddDelta() |
ObjectDelta<O> |
createDeleteDelta() |
ObjectDelta<O> |
createDelta(ChangeType changeType) |
PrismContainer<?> |
createExtension() |
ObjectDelta<O> |
createModifyDelta() |
PrismObjectDefinition<O> |
deepCloneDefinition(boolean ultraDeep) |
ObjectDelta<O> |
diff(PrismObject<O> other) |
ObjectDelta<O> |
diff(PrismObject<O> other,
boolean ignoreMetadata,
boolean isLiteral) |
boolean |
equals(Object obj)
Note: hashcode and equals compare the objects in the "java way".
|
boolean |
equivalent(Object obj)
this method ignores some part of the object during comparison (e.g.
|
<I extends Item> |
findExtensionItem(QName elementName) |
<IV extends PrismValue,ID extends ItemDefinition> |
findItem(ItemPath path) |
<IV extends PrismValue,ID extends ItemDefinition,I extends Item<IV,ID>> |
findItem(ItemPath path,
Class<I> type) |
String |
getBusinessDisplayName()
Return display name intended for business users of midPoint
|
protected String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.
|
PrismObjectDefinition<O> |
getDefinition()
Returns applicable property container definition.
|
PrismContainer<?> |
getExtension() |
PolyString |
getName() |
String |
getOid()
Returns Object ID (OID).
|
PrismValue |
getParent() |
ItemPath |
getPath() |
String |
getVersion() |
int |
hashCode()
Note: hashcode and equals compare the objects in the "java way".
|
<IV extends PrismValue,ID extends ItemDefinition,I extends Item<IV,ID>> |
removeItem(ItemPath path,
Class<I> itemType) |
void |
setOid(String oid) |
void |
setParent(PrismValue parentValue) |
void |
setVersion(String version) |
String |
toDebugName()
Returns short string representing identity of this object.
|
String |
toDebugType()
Returns short string identification of object type.
|
String |
toString() |
accept, add, add, assertDefinitions, canRepresent, checkConsistenceInternal, checkDefinition, containsEquivalentValue, copyValues, createDelta, createDelta, createNewValue, debugDump, diff, diff, diffModifications, diffModifications, find, findContainer, findContainer, findItem, findItem, findOrCreateContainer, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateProperty, findOrCreateReference, findOrCreateReference, findPartial, findProperty, findProperty, findReference, findReference, findReferenceByCompositeObjectElementName, findValue, getCompileTimeClass, getNextValue, getPreviousValue, getPropertyRealValue, getPropertyRealValue, getValue, getValue, getValues, hasCompleteDefinition, isEmpty, mergeValue, mergeValues, mergeValues, newInstance, propagateDeepCloneDefinition, remove, removeContainer, removeContainer, removeProperty, removeProperty, removeReference, removeReference, setDefinition, setPropertyRealValue, setValue, trim
accept, add, addAll, applyDefinition, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, clear, cloneCollection, contains, contains, contains, containsRealValue, copyValues, createNewDefinitionlessItem, debugDump, diff, diff, diffInternal, equalsRealValue, findValue, fixupDelta, getClonedValues, getDisplayName, getElementName, getHelp, getPrismContext, getUserData, getUserData, getValue, hasRaw, hasRealValue, hasValue, hasValue, isRaw, isSingleValue, match, merge, normalize, remove, remove, removeAll, replace, replaceAll, resetParentCollection, revive, setElementName, setPrismContext, setUserData, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getElementName, getPrismContext
public PrismObject(QName name, Class<O> compileTimeClass, PrismContext prismContext)
public PrismObject(QName name, PrismObjectDefinition<O> definition, PrismContext prismContext)
public String getOid()
public void setOid(String oid)
public String getVersion()
public void setVersion(String version)
public PrismObjectDefinition<O> getDefinition()
PrismContainer
getDefinition
in interface Itemable
getDefinition
in interface PrismContainerable<O extends Objectable>
getDefinition
in class PrismContainer<O extends Objectable>
@NotNull public O asObjectable()
public PolyString getName()
public PrismContainer<?> getExtension()
public <I extends Item> void addExtensionItem(I item) throws SchemaException
SchemaException
public PrismContainer<?> createExtension() throws SchemaException
SchemaException
public void applyDefinition(PrismContainerDefinition<O> definition) throws SchemaException
applyDefinition
in class PrismContainer<O extends Objectable>
SchemaException
public <IV extends PrismValue,ID extends ItemDefinition,I extends Item<IV,ID>> I findItem(ItemPath path, Class<I> type)
findItem
in class PrismContainer<O extends Objectable>
public <IV extends PrismValue,ID extends ItemDefinition> Item<IV,ID> findItem(ItemPath path)
findItem
in class PrismContainer<O extends Objectable>
public <IV extends PrismValue,ID extends ItemDefinition,I extends Item<IV,ID>> void removeItem(ItemPath path, Class<I> itemType)
removeItem
in class PrismContainer<O extends Objectable>
public void addReplaceExisting(Item<?,?> item) throws SchemaException
SchemaException
public PrismObject<O> clone()
clone
in class PrismContainer<O extends Objectable>
protected void copyValues(PrismObject<O> clone)
public PrismObjectDefinition<O> deepCloneDefinition(boolean ultraDeep)
deepCloneDefinition
in class PrismContainer<O extends Objectable>
@NotNull public ObjectDelta<O> diff(PrismObject<O> other)
@NotNull public ObjectDelta<O> diff(PrismObject<O> other, boolean ignoreMetadata, boolean isLiteral)
public ObjectDelta<O> createDelta(ChangeType changeType)
public ObjectDelta<O> createAddDelta()
public ObjectDelta<O> createModifyDelta()
public ObjectDelta<O> createDeleteDelta()
public void setParent(PrismValue parentValue)
setParent
in class Item<PrismContainerValue<O extends Objectable>,PrismContainerDefinition<O extends Objectable>>
public PrismValue getParent()
getParent
in class Item<PrismContainerValue<O extends Objectable>,PrismContainerDefinition<O extends Objectable>>
public ItemPath getPath()
getPath
in interface Itemable
getPath
in class Item<PrismContainerValue<O extends Objectable>,PrismContainerDefinition<O extends Objectable>>
public int hashCode()
hashCode
in class PrismContainer<O extends Objectable>
public boolean equals(Object obj)
equals
in class PrismContainer<O extends Objectable>
public boolean equivalent(Object obj)
equivalent
in class PrismContainer<O extends Objectable>
public String toString()
toString
in class PrismContainer<O extends Objectable>
public String toDebugName()
public String toDebugType()
protected String getDebugDumpClassName()
getDebugDumpClassName
in class PrismContainer<O extends Objectable>
protected String additionalDumpDescription()
additionalDumpDescription
in class PrismContainer<O extends Objectable>
public String getBusinessDisplayName()
Copyright © 2016 evolveum. All rights reserved.