Class EvaluationOrderImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.assignments.EvaluationOrderImpl
-
- All Implemented Interfaces:
EvaluationOrder
,DebugDumpable
,ShortDumpable
,Serializable
,Cloneable
public class EvaluationOrderImpl extends Object implements EvaluationOrder
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationOrder
advance(QName relation)
EvaluationOrder
applyDifference(Map<QName,Integer> difference)
EvaluationOrderImpl
clone()
String
debugDump(int indent)
EvaluationOrder
decrease(org.apache.commons.collections4.MultiSet<QName> relations)
Map<QName,Integer>
diff(EvaluationOrder newState)
boolean
equals(Object o)
Collection<QName>
getExtraRelations()
int
getMatchingRelationOrder(QName relation)
Set<QName>
getRelations()
int
getSummaryOrder()
int
hashCode()
boolean
isDefined()
boolean
isOrderOne()
boolean
isValid()
boolean
matches(Integer assignmentOrder, List<OrderConstraintsType> assignmentOrderConstraint)
EvaluationOrder
resetOrder(QName relation, int newOrder)
String
shortDump()
void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.String
toString()
static EvaluationOrder
zero(RelationRegistry relationRegistry)
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDumpLazily
-
-
-
-
Method Detail
-
zero
public static EvaluationOrder zero(RelationRegistry relationRegistry)
-
getSummaryOrder
public int getSummaryOrder()
- Specified by:
getSummaryOrder
in interfaceEvaluationOrder
-
advance
public EvaluationOrder advance(QName relation)
- Specified by:
advance
in interfaceEvaluationOrder
-
decrease
public EvaluationOrder decrease(org.apache.commons.collections4.MultiSet<QName> relations)
- Specified by:
decrease
in interfaceEvaluationOrder
-
getMatchingRelationOrder
public int getMatchingRelationOrder(QName relation)
- Specified by:
getMatchingRelationOrder
in interfaceEvaluationOrder
-
resetOrder
public EvaluationOrder resetOrder(QName relation, int newOrder)
- Specified by:
resetOrder
in interfaceEvaluationOrder
-
diff
public Map<QName,Integer> diff(EvaluationOrder newState)
- Specified by:
diff
in interfaceEvaluationOrder
-
applyDifference
public EvaluationOrder applyDifference(Map<QName,Integer> difference)
- Specified by:
applyDifference
in interfaceEvaluationOrder
-
isDefined
public boolean isDefined()
- Specified by:
isDefined
in interfaceEvaluationOrder
-
getRelations
public Set<QName> getRelations()
- Specified by:
getRelations
in interfaceEvaluationOrder
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
shortDump
public String shortDump()
- Specified by:
shortDump
in interfaceShortDumpable
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpable
Show 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:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
getExtraRelations
public Collection<QName> getExtraRelations()
- Specified by:
getExtraRelations
in interfaceEvaluationOrder
-
clone
public EvaluationOrderImpl clone()
- Specified by:
clone
in interfaceEvaluationOrder
- Overrides:
clone
in classObject
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceEvaluationOrder
-
isOrderOne
public boolean isOrderOne()
- Specified by:
isOrderOne
in interfaceEvaluationOrder
-
matches
public boolean matches(Integer assignmentOrder, List<OrderConstraintsType> assignmentOrderConstraint)
- Specified by:
matches
in interfaceEvaluationOrder
-
-