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
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemRoutestatic @NotNull ItemRoutefromBean(@NotNull ItemRouteType bean) static @NotNull ItemRoutefromBeans(@Nullable ItemPathType pathBean, @Nullable ItemRouteType routeBean) Creates a route from either path or route bean.static ItemRoute@NotNull ItemRouteSegmentget(int i) booleanisEmpty()@Nullable ItemNamelastName()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()intsize()booleantoString()@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
-