|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.prism.PrismValue
public abstract class PrismValue
Field Summary | |
---|---|
protected Element |
domElement
|
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Method Summary | ||
---|---|---|
void |
accept(Visitor visitor)
|
|
void |
applyDefinition(ItemDefinition definition)
|
|
void |
applyDefinition(ItemDefinition definition,
boolean force)
|
|
Element |
asDomElement()
|
|
abstract void |
checkConsistenceInternal(Itemable rootItem,
ItemPath parentPath,
boolean requireDefinitions,
boolean prohibitRaw)
|
|
protected void |
clearDomElement()
|
|
abstract PrismValue |
clone()
|
|
static
|
cloneCollection(Collection<T> values)
|
|
static
|
cloneValues(Collection<X> values)
|
|
static
|
containsRealValue(Collection<V> collection,
V value)
|
|
protected void |
copyValues(PrismValue clone)
|
|
protected abstract Element |
createDomElement()
|
|
Collection<? extends ItemDelta> |
diff(PrismValue otherValue)
Assumes matching representations. |
|
Collection<? extends ItemDelta> |
diff(PrismValue otherValue,
ItemPath pathPrefix,
boolean ignoreMetadata,
boolean isLiteral)
Assumes matching representations. |
|
boolean |
equals(Object obj)
|
|
boolean |
equals(PrismValue otherValue,
boolean ignoreMetadata)
|
|
boolean |
equals(PrismValue thisValue,
PrismValue otherValue)
|
|
boolean |
equalsComplex(PrismValue other,
boolean ignoreMetadata,
boolean isLiteral)
|
|
boolean |
equalsRealValue(PrismValue otherValue)
|
|
boolean |
equalsRealValue(PrismValue thisValue,
PrismValue otherValue)
|
|
Objectable |
getOriginObject()
|
|
OriginType |
getOriginType()
|
|
Itemable |
getParent()
|
|
ItemPath |
getPath(ItemPath pathPrefix)
|
|
PrismContext |
getPrismContext()
|
|
int |
hashCode()
|
|
abstract boolean |
isEmpty()
|
|
abstract boolean |
isRaw()
Returns true if the value is raw. |
|
void |
normalize()
|
|
void |
recompute()
Recompute the value or otherwise "initialize" it before adding it to a prism tree. |
|
abstract void |
recompute(PrismContext prismContext)
|
|
boolean |
representsSameValue(PrismValue other)
Returns true if this and other value represent the same value. |
|
static
|
resetParentCollection(Collection<T> values)
Sets all parents to null. |
|
void |
revive(PrismContext prismContext)
|
|
void |
setOriginObject(Objectable source)
|
|
void |
setOriginType(OriginType type)
|
|
void |
setParent(Itemable parent)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.evolveum.midpoint.util.Dumpable |
---|
dump |
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
debugDump, debugDump |
Field Detail |
---|
protected Element domElement
Method Detail |
---|
public void setOriginObject(Objectable source)
public void setOriginType(OriginType type)
public OriginType getOriginType()
public Objectable getOriginObject()
public Itemable getParent()
public void setParent(Itemable parent)
public ItemPath getPath(ItemPath pathPrefix)
public PrismContext getPrismContext()
public void applyDefinition(ItemDefinition definition) throws SchemaException
SchemaException
public void applyDefinition(ItemDefinition definition, boolean force) throws SchemaException
SchemaException
public void revive(PrismContext prismContext)
public void recompute()
public abstract void recompute(PrismContext prismContext)
public void accept(Visitor visitor)
accept
in interface Visitable
public Element asDomElement()
protected abstract Element createDomElement()
protected void clearDomElement()
public abstract void checkConsistenceInternal(Itemable rootItem, ItemPath parentPath, boolean requireDefinitions, boolean prohibitRaw)
public boolean representsSameValue(PrismValue other)
public static <V extends PrismValue> boolean containsRealValue(Collection<V> collection, V value)
public abstract boolean isEmpty()
public void normalize()
public abstract boolean isRaw()
public static <X extends PrismValue> Collection<X> cloneValues(Collection<X> values)
public abstract PrismValue clone()
clone
in class Object
protected void copyValues(PrismValue clone)
public static <T extends PrismValue> Collection<T> cloneCollection(Collection<T> values)
public static <T extends PrismValue> Collection<T> resetParentCollection(Collection<T> values)
public int hashCode()
hashCode
in class Object
public boolean equalsComplex(PrismValue other, boolean ignoreMetadata, boolean isLiteral)
public boolean equals(PrismValue otherValue, boolean ignoreMetadata)
public boolean equals(PrismValue thisValue, PrismValue otherValue)
public boolean equalsRealValue(PrismValue otherValue)
public boolean equalsRealValue(PrismValue thisValue, PrismValue otherValue)
public boolean equals(Object obj)
equals
in class Object
public Collection<? extends ItemDelta> diff(PrismValue otherValue)
public Collection<? extends ItemDelta> diff(PrismValue otherValue, ItemPath pathPrefix, boolean ignoreMetadata, boolean isLiteral)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |