Interface AssignmentPathSegment
-
- All Superinterfaces:
DebugDumpable,Serializable,ShortDumpable
- All Known Implementing Classes:
AssignmentPathSegmentImpl
public interface AssignmentPathSegment extends DebugDumpable, ShortDumpable, Serializable
Single assignment in an assignment path. In addition to the AssignmentType, it contains resolved target: full object, resolved from targetRef. If targetRef resolves to multiple objects, in the path segment one of them is stored: the one that participates in the particular assignment path.- Author:
- semancik, mederly
-
-
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 booleanequivalent(AssignmentPathSegment otherSegment)AssignmentTypegetAssignment()AssignmentTypegetAssignment(boolean evaluateOld)AssignmentTypegetAssignmentAny()AssignmentTypegetAssignmentNew()QNamegetRelation()ObjectTypegetSource()StringgetSourceOid()ObjectTypegetTarget()booleanisAssignment()True if the segment corresponds to assignment.booleanisDelegation()True if the relation is a delegation one.booleanisMatchingOrder()Whether this assignment/inducement matches the focus level, i.e.booleanisMatchingOrderForTarget()Whether this assignment/inducement matches the target level, i.e.booleanmatches(@NotNull List<OrderConstraintsType> orderConstraints)Returns true if the path segment matches specified order constraints.@NotNull AssignmentPathSegmentTypetoAssignmentPathSegmentType(boolean includeAssignmentsContent)-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDump, shortDumpLazily
-
-
-
-
Method Detail
-
getAssignment
AssignmentType getAssignment()
-
getAssignment
AssignmentType getAssignment(boolean evaluateOld)
-
getAssignmentNew
AssignmentType getAssignmentNew()
-
getAssignmentAny
AssignmentType getAssignmentAny()
-
isAssignment
boolean isAssignment()
True if the segment corresponds to assignment. False if it's an inducement.
-
getSource
ObjectType getSource()
-
getSourceOid
String getSourceOid()
-
getTarget
ObjectType getTarget()
-
getRelation
QName getRelation()
-
isMatchingOrder
boolean isMatchingOrder()
Whether this assignment/inducement matches the focus level, i.e. if we should collect constructions, focus mappings, focus policy rules and similar items from it.
-
isMatchingOrderForTarget
boolean isMatchingOrderForTarget()
Whether this assignment/inducement matches the target level, i.e. if we should collect target policy rules from it.
-
isDelegation
boolean isDelegation()
True if the relation is a delegation one.
-
toAssignmentPathSegmentType
@NotNull @NotNull AssignmentPathSegmentType toAssignmentPathSegmentType(boolean includeAssignmentsContent)
-
matches
boolean matches(@NotNull @NotNull List<OrderConstraintsType> orderConstraints)Returns true if the path segment matches specified order constraints. All of them must match. Although there are some defaults, it is recommended to specify constraints explicitly.
-
equivalent
boolean equivalent(AssignmentPathSegment otherSegment)
-
-