Class AbstractDelegatedPrismValueDeltaSetTriple<V extends PrismValue>
- java.lang.Object
- 
- com.evolveum.midpoint.prism.extensions.AbstractDelegatedPrismValueDeltaSetTriple<V>
 
- 
- All Implemented Interfaces:
- DeltaSetTriple<V>,- PrismValueDeltaSetTriple<V>,- SimpleVisitable<V>,- Visitable,- DebugDumpable,- Foreachable<V>,- ShortDumpable,- Serializable
 
 public class AbstractDelegatedPrismValueDeltaSetTriple<V extends PrismValue> extends Object implements PrismValueDeltaSetTriple<V> - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected PrismValueDeltaSetTriple<V>inner- 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractDelegatedPrismValueDeltaSetTriple(PrismValueDeltaSetTriple<V> inner)AbstractDelegatedPrismValueDeltaSetTriple(PrismContext prismContext)AbstractDelegatedPrismValueDeltaSetTriple(Collection<V> zeroSet, Collection<V> plusSet, Collection<V> minusSet, PrismContext prismContext)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)voidaddAllToMinusSet(Collection<V> items)voidaddAllToPlusSet(Collection<V> items)voidaddAllToSet(PlusMinusZero destination, Collection<V> items)voidaddAllToZeroSet(Collection<V> items)voidaddToMinusSet(V item)voidaddToPlusSet(V item)voidaddToSet(PlusMinusZero destination, V item)voidaddToZeroSet(V item)voidapplyDefinition(ItemDefinition itemDefinition)voidcheckConsistence()voidcheckNoParent()voidclearMinusSet()voidclearPlusSet()voidclearZeroSet()PrismValueDeltaSetTriple<V>clone()DeltaSetTriple<V>clone(Cloner<V> cloner)StringdebugDump(int indent)voiddebugDumpSets(StringBuilder sb, Consumer<V> dumper, int indent)static <T> DeltaSetTriple<T>diff(Collection<T> valuesOld, Collection<T> valuesNew, PrismContext prismContext)Compares two (unordered) collections and creates a triple describing the differences.<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.voidforeach(Processor<V> processor)Process each element of every set.Collection<V>getAllValues()VgetAnyValue()@NotNull Collection<V>getMinusSet()@NotNull Collection<V>getNonNegativeValues()@NotNull Collection<V>getNonPositiveValues()@NotNull Collection<V>getPlusSet()Class<?>getRealValueClass()Collection<V>getSet(PlusMinusZero whichSet)Class<V>getValueClass()@NotNull Collection<V>getZeroSet()booleanhasMinusSet()booleanhasPlusSet()booleanhasZeroSet()booleanisEmpty()booleanisRaw()booleanisZeroOnly()voidmerge(DeltaSetTriple<V> triple)booleanpresentInMinusSet(V item)booleanpresentInPlusSet(V item)booleanpresentInZeroSet(V item)voidremoveEmptyValues(boolean allowEmptyValues)voidsetOriginObject(Objectable originObject)Sets specified origin object for all values in all setsvoidsetOriginType(OriginType sourceType)Sets specified source type for all values in all setsvoidshortDump(StringBuilder sb)Show the content of the object intended for diagnostics.voidsimpleAccept(SimpleVisitor<V> visitor)intsize()Stream<V>stream()StringtoHumanReadableString()<X> voidtransform(DeltaSetTriple<X> transformTarget, Transformer<V,X> transformer)Collection<V>union()Returns all values, regardless of the internal sets.- 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
 - 
Methods inherited from interface com.evolveum.midpoint.prism.delta.DeltaSetTripleclear
 - 
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpableshortDump, shortDumpLazily
 
- 
 
- 
- 
- 
Field Detail- 
innerprotected PrismValueDeltaSetTriple<V extends PrismValue> inner 
 
- 
 - 
Constructor Detail- 
AbstractDelegatedPrismValueDeltaSetTriplepublic AbstractDelegatedPrismValueDeltaSetTriple(PrismValueDeltaSetTriple<V> inner) 
 - 
AbstractDelegatedPrismValueDeltaSetTriplepublic AbstractDelegatedPrismValueDeltaSetTriple(PrismContext prismContext) 
 - 
AbstractDelegatedPrismValueDeltaSetTriplepublic AbstractDelegatedPrismValueDeltaSetTriple(Collection<V> zeroSet, Collection<V> plusSet, Collection<V> minusSet, PrismContext prismContext) 
 
- 
 - 
Method Detail- 
distributeAspublic <O extends PrismValue> void distributeAs(V myMember, PrismValueDeltaSetTriple<O> otherTriple, O otherMember) Description copied from interface:PrismValueDeltaSetTripleDistributes 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.- Specified by:
- distributeAsin interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
getValueClasspublic Class<V> getValueClass() - Specified by:
- getValueClassin interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
getRealValueClasspublic Class<?> getRealValueClass() - Specified by:
- getRealValueClassin interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
isRawpublic boolean isRaw() - Specified by:
- isRawin interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
applyDefinitionpublic void applyDefinition(ItemDefinition itemDefinition) throws SchemaException - Specified by:
- applyDefinitionin interface- PrismValueDeltaSetTriple<V extends PrismValue>
- Throws:
- SchemaException
 
 - 
setOriginTypepublic void setOriginType(OriginType sourceType) Description copied from interface:PrismValueDeltaSetTripleSets specified source type for all values in all sets- Specified by:
- setOriginTypein interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
setOriginObjectpublic void setOriginObject(Objectable originObject) Description copied from interface:PrismValueDeltaSetTripleSets specified origin object for all values in all sets- Specified by:
- setOriginObjectin interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
removeEmptyValuespublic void removeEmptyValues(boolean allowEmptyValues) - Specified by:
- removeEmptyValuesin interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
clonepublic PrismValueDeltaSetTriple<V> clone() - Specified by:
- clonein interface- PrismValueDeltaSetTriple<V extends PrismValue>
- Overrides:
- clonein class- Object
 
 - 
checkConsistencepublic void checkConsistence() - Specified by:
- checkConsistencein interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
acceptpublic void accept(Visitor visitor) - Specified by:
- acceptin interface- PrismValueDeltaSetTriple<V extends PrismValue>
- Specified by:
- acceptin interface- Visitable<V extends PrismValue>
 
 - 
checkNoParentpublic void checkNoParent() - Specified by:
- checkNoParentin interface- PrismValueDeltaSetTriple<V extends PrismValue>
 
 - 
diffpublic static <T> DeltaSetTriple<T> diff(Collection<T> valuesOld, Collection<T> valuesNew, PrismContext prismContext) Description copied from interface:DeltaSetTripleCompares two (unordered) collections and creates a triple describing the differences.
 - 
getZeroSet@NotNull public @NotNull Collection<V> getZeroSet() - Specified by:
- getZeroSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
getPlusSet@NotNull public @NotNull Collection<V> getPlusSet() - Specified by:
- getPlusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
getMinusSet@NotNull public @NotNull Collection<V> getMinusSet() - Specified by:
- getMinusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
hasPlusSetpublic boolean hasPlusSet() - Specified by:
- hasPlusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
hasZeroSetpublic boolean hasZeroSet() - Specified by:
- hasZeroSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
hasMinusSetpublic boolean hasMinusSet() - Specified by:
- hasMinusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
isZeroOnlypublic boolean isZeroOnly() - Specified by:
- isZeroOnlyin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addToPlusSetpublic void addToPlusSet(V item) - Specified by:
- addToPlusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addToMinusSetpublic void addToMinusSet(V item) - Specified by:
- addToMinusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addToZeroSetpublic void addToZeroSet(V item) - Specified by:
- addToZeroSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addAllToPlusSetpublic void addAllToPlusSet(Collection<V> items) - Specified by:
- addAllToPlusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addAllToMinusSetpublic void addAllToMinusSet(Collection<V> items) - Specified by:
- addAllToMinusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addAllToZeroSetpublic void addAllToZeroSet(Collection<V> items) - Specified by:
- addAllToZeroSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
getSetpublic Collection<V> getSet(PlusMinusZero whichSet) - Specified by:
- getSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addAllToSetpublic void addAllToSet(PlusMinusZero destination, Collection<V> items) - Specified by:
- addAllToSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
addToSetpublic void addToSet(PlusMinusZero destination, V item) - Specified by:
- addToSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
presentInPlusSetpublic boolean presentInPlusSet(V item) - Specified by:
- presentInPlusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
presentInMinusSetpublic boolean presentInMinusSet(V item) - Specified by:
- presentInMinusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
presentInZeroSetpublic boolean presentInZeroSet(V item) - Specified by:
- presentInZeroSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
clearPlusSetpublic void clearPlusSet() - Specified by:
- clearPlusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
clearMinusSetpublic void clearMinusSet() - Specified by:
- clearMinusSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
clearZeroSetpublic void clearZeroSet() - Specified by:
- clearZeroSetin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
sizepublic int size() - Specified by:
- sizein interface- DeltaSetTriple<V extends PrismValue>
 
 - 
unionpublic Collection<V> union() Description copied from interface:DeltaSetTripleReturns all values, regardless of the internal sets.- Specified by:
- unionin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
getAnyValuepublic V getAnyValue() - Specified by:
- getAnyValuein interface- DeltaSetTriple<V extends PrismValue>
 
 - 
getAllValuespublic Collection<V> getAllValues() - Specified by:
- getAllValuesin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
streampublic Stream<V> stream() - Specified by:
- streamin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
getNonNegativeValues@NotNull public @NotNull Collection<V> getNonNegativeValues() - Specified by:
- getNonNegativeValuesin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
getNonPositiveValues@NotNull public @NotNull Collection<V> getNonPositiveValues() - Specified by:
- getNonPositiveValuesin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
mergepublic void merge(DeltaSetTriple<V> triple) - Specified by:
- mergein interface- DeltaSetTriple<V extends PrismValue>
 
 - 
clonepublic DeltaSetTriple<V> clone(Cloner<V> cloner) - Specified by:
- clonein interface- DeltaSetTriple<V extends PrismValue>
 
 - 
isEmptypublic boolean isEmpty() - Specified by:
- isEmptyin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
foreachpublic void foreach(Processor<V> processor) Description copied from interface:DeltaSetTripleProcess each element of every set. This is different from the visitor. Visitor will go deep inside, foreach will remain on the surface.- Specified by:
- foreachin interface- DeltaSetTriple<V extends PrismValue>
- Specified by:
- foreachin interface- Foreachable<V extends PrismValue>
 
 - 
simpleAcceptpublic void simpleAccept(SimpleVisitor<V> visitor) - Specified by:
- simpleAcceptin interface- DeltaSetTriple<V extends PrismValue>
- Specified by:
- simpleAcceptin interface- SimpleVisitable<V extends PrismValue>
 
 - 
transformpublic <X> void transform(DeltaSetTriple<X> transformTarget, Transformer<V,X> transformer) - Specified by:
- transformin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
debugDumpSetspublic void debugDumpSets(StringBuilder sb, Consumer<V> dumper, int indent) - Specified by:
- debugDumpSetsin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
toHumanReadableStringpublic String toHumanReadableString() - Specified by:
- toHumanReadableStringin interface- DeltaSetTriple<V extends PrismValue>
 
 - 
debugDumppublic String debugDump(int indent) - Specified by:
- debugDumpin interface- DebugDumpable
 
 - 
shortDumppublic void shortDump(StringBuilder sb) Description copied from interface:ShortDumpableShow the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
- shortDumpin interface- ShortDumpable
- Parameters:
- sb- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
 
 
- 
 
-