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 boolean
equivalent(AssignmentPathSegment otherSegment)
AssignmentType
getAssignment()
AssignmentType
getAssignment(boolean evaluateOld)
AssignmentType
getAssignmentAny()
AssignmentType
getAssignmentNew()
QName
getRelation()
ObjectType
getSource()
String
getSourceOid()
ObjectType
getTarget()
boolean
isAssignment()
True if the segment corresponds to assignment.boolean
isDelegation()
True if the relation is a delegation one.boolean
isMatchingOrder()
Whether this assignment/inducement matches the focus level, i.e.boolean
isMatchingOrderForTarget()
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
toAssignmentPathSegmentType(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)
-
-