Class ItemRoute


  • public class ItemRoute
    extends Object
    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 Detail

    • Method Detail

      • 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.
      • isEmpty

        public boolean isEmpty()
      • size

        public int size()
      • startsWithVariable

        public boolean startsWithVariable()
      • variableName

        @NotNull
        public @NotNull QName variableName()
      • lastName

        @Nullable
        public @Nullable ItemName lastName()
        Returns the last name path segment value; or null if there's no name path segment.