Interface TypedModelSpec2<M,P1,P2>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TypedModelSpec2<M,P1,P2>
Same as TypedModelSpec, but with 2 parameters
  • Method Details

    • resolved

      ModelSpec<M> resolved(P1 p1, P2 p2)
    • from

      static <M, P1, P2> TypedModelSpec2<M,P1,P2> from(ModelSpecBuilder<M> builder, TypedZPath2<P1,P2> path)
      Return a new TypedModelSpec using the given model spec builder and typed path. When resolved(Object, Object) is called the actual model spec is generated with the resolved path
      Parameters:
      builder - model spec builder
      path - typed path
      Returns:
      new TypedModelSpec
    • from

      static <M, P1, P2> TypedModelSpec2<M,P1,P2> from(ModelSpecBuilder<M> builder, String pathWithIds)
      Return a new TypedModelSpec using the given model spec builder and path. A TypedZPath is created from the given full path and When resolved(Object, Object) is called the actual model spec is generated with the resolved path
      Parameters:
      builder - model spec builder
      pathWithIds - typed path
      Returns:
      new TypedModelSpec