Interface PrismValueDeltaSetTriple<V extends PrismValue>
-
- All Superinterfaces:
DebugDumpable
,DeltaSetTriple<V>
,Foreachable<V>
,Serializable
,ShortDumpable
,SimpleVisitable<V>
,Visitable
- All Known Implementing Classes:
AbstractDelegatedPrismValueDeltaSetTriple
,PrismValueDeltaSetTripleImpl
,SourceTriple
public interface PrismValueDeltaSetTriple<V extends PrismValue> extends DeltaSetTriple<V>, Visitable
DeltaSetTriple that is limited to hold prism values. By limiting to the PrismValue descendants we gain advantage to be clonnable and ability to compare real values.- Author:
- Radovan Semancik
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(Visitor visitor)
void
applyDefinition(ItemDefinition itemDefinition)
void
checkConsistence()
void
checkNoParent()
PrismValueDeltaSetTriple<V>
clone()
<O extends PrismValue>
voiddistributeAs(V myMember, PrismValueDeltaSetTriple<O> otherTriple, O otherMember)
Distributes a value in this triple similar to the placement of other value in the other triple.Class<?>
getRealValueClass()
Class<V>
getValueClass()
boolean
isRaw()
void
removeEmptyValues(boolean allowEmptyValues)
void
setOriginObject(Objectable originObject)
Sets specified origin object for all values in all setsvoid
setOriginType(OriginType sourceType)
Sets specified source type for all values in all sets-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.delta.DeltaSetTriple
addAllToMinusSet, addAllToPlusSet, addAllToSet, addAllToZeroSet, addToMinusSet, addToPlusSet, addToSet, addToZeroSet, clearMinusSet, clearPlusSet, clearZeroSet, clone, debugDumpSets, foreach, getAllValues, getAnyValue, getMinusSet, getNonNegativeValues, getNonPositiveValues, getPlusSet, getSet, getZeroSet, hasMinusSet, hasPlusSet, hasZeroSet, isEmpty, isZeroOnly, merge, presentInMinusSet, presentInPlusSet, presentInZeroSet, simpleAccept, size, stream, toHumanReadableString, transform, union
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDump, shortDumpLazily
-
-
-
-
Method Detail
-
distributeAs
<O extends PrismValue> void distributeAs(V myMember, PrismValueDeltaSetTriple<O> otherTriple, O otherMember)
Distributes a value in this triple similar to the placement of other value in the other triple. E.g. if the value "otherMember" is in the zero set in "otherTriple" then "myMember" will be placed in zero set in this triple.
-
getRealValueClass
Class<?> getRealValueClass()
-
isRaw
boolean isRaw()
-
applyDefinition
void applyDefinition(ItemDefinition itemDefinition) throws SchemaException
- Throws:
SchemaException
-
setOriginType
void setOriginType(OriginType sourceType)
Sets specified source type for all values in all sets
-
setOriginObject
void setOriginObject(Objectable originObject)
Sets specified origin object for all values in all sets
-
removeEmptyValues
void removeEmptyValues(boolean allowEmptyValues)
-
clone
PrismValueDeltaSetTriple<V> clone()
-
checkConsistence
void checkConsistence()
-
accept
void accept(Visitor visitor)
- Specified by:
accept
in interfaceVisitable<V extends PrismValue>
-
checkNoParent
void checkNoParent()
-
-