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 asTypedModelSpec, but with 2 parameters
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <M,P1,P2>
TypedModelSpec2<M,P1,P2>from(ModelSpecBuilder<M> builder, java.lang.String pathWithIds)Return a new TypedModelSpec using the given model spec builder and path.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.ModelSpec<M>resolved(P1 p1, P2 p2)
-
-
-
Method Detail
-
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. Whenresolved(Object, Object)is called the actual model spec is generated with the resolved path- Parameters:
builder- model spec builderpath- typed path- Returns:
- new TypedModelSpec
-
from
static <M,P1,P2> TypedModelSpec2<M,P1,P2> 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 Whenresolved(Object, Object)is called the actual model spec is generated with the resolved path- Parameters:
builder- model spec builderpathWithIds- typed path- Returns:
- new TypedModelSpec
-
-