Interface TypedModelSpec4<M,​P1,​P2,​P3,​P4>

  • 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 TypedModelSpec4<M,​P1,​P2,​P3,​P4>
    Same as TypedModelSpec, but with 4 parameters
    • Method Detail

      • from

        static <M,​P1,​P2,​P3,​P4> TypedModelSpec4<M,​P1,​P2,​P3,​P4> from​(ModelSpecBuilder<M> builder,
                                                                                                                   TypedZPath4<P1,​P2,​P3,​P4> path)
        Return a new TypedModelSpec using the given model spec builder and typed path. When resolved(Object, Object, 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,​P3,​P4> TypedModelSpec4<M,​P1,​P2,​P3,​P4> from​(ModelSpecBuilder<M> builder,
                                                                                                                   java.lang.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, 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