Interface AssignmentPathSegment
- All Superinterfaces:
DebugDumpable
,Serializable
,ShortDumpable
- All Known Implementing Classes:
AssignmentPathSegmentImpl
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
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equivalent
(AssignmentPathSegment otherSegment) getAssignment
(boolean evaluateOld) boolean
True if the segment corresponds to assignment.boolean
True if the relation is a delegation one.boolean
Whether this assignment/inducement matches the focus level, i.e.boolean
Whether this assignment/inducement matches the target level, i.e.boolean
matches
(@NotNull List<OrderConstraintsType> orderConstraints) Returns true if the path segment matches specified order constraints.@NotNull AssignmentPathSegmentType
toAssignmentPathSegmentBean
(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 Details
-
getAssignment
AssignmentType getAssignment() -
getAssignment
-
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. -
toAssignmentPathSegmentBean
@NotNull @NotNull AssignmentPathSegmentType toAssignmentPathSegmentBean(boolean includeAssignmentsContent) -
matches
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
-