Class ItemRoute
java.lang.Object
com.evolveum.midpoint.schema.route.ItemRoute
A generalized
ItemPath
: It allows pointing to a specific item value, while allowing to select
from multivalued items not only by ID, but by arbitrary filter.
Should be immutable in the future. Now it's terribly hacked.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull ItemRoute
static @NotNull ItemRoute
fromBean
(@NotNull ItemRouteType bean) static @NotNull ItemRoute
fromBeans
(@Nullable ItemPathType pathBean, @Nullable ItemRouteType routeBean) Creates a route from either path or route bean.static ItemRoute
@NotNull ItemRouteSegment
get
(int i) boolean
isEmpty()
@Nullable ItemName
lastName()
Returns the last name path segment value; or null if there's no name path segment.@NotNull List<PrismValue>
resolveFor
(@Nullable Containerable containerable) Shouldn't return `null` values.rest()
int
size()
boolean
toString()
@NotNull QName
-
Field Details
-
EMPTY
-
-
Method Details
-
fromBeans
@NotNull public static @NotNull ItemRoute fromBeans(@Nullable @Nullable ItemPathType pathBean, @Nullable @Nullable ItemRouteType routeBean) Creates a route from either path or route bean. Returns empty route if both are null. -
fromBean
-
fromPath
-
isEmpty
public boolean isEmpty() -
size
public int size() -
get
-
startsWithVariable
public boolean startsWithVariable() -
rest
-
variableName
-
resolveFor
@NotNull public @NotNull List<PrismValue> resolveFor(@Nullable @Nullable Containerable containerable) throws SchemaException Shouldn't return `null` values.- Throws:
SchemaException
-
append
-
lastName
Returns the last name path segment value; or null if there's no name path segment. -
toString
-