Interface TypedModelSpec0<M>

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 TypedModelSpec0<M>
Same as TypedModelSpec, but with 0 parameters
  • Method Details

    • resolved

      ModelSpec<M> resolved()
    • from

      static <M> TypedModelSpec0<M> from(ModelSpecBuilder<M> builder, TypedZPath0 path)
      Return a new TypedModelSpec using the given model spec builder and typed path. When resolved() 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> TypedModelSpec0<M> 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() is called the actual model spec is generated with the resolved path
      Parameters:
      builder - model spec builder
      pathWithIds - typed path
      Returns:
      new TypedModelSpec