T
- joined model typeA
- join target model typeB
- join source model typepublic static interface JoinedModel.Interface<T,A,B> extends DataModel.Interface<T>
Each data model class may or may not implement this interface, but that class must provide methods in the interface.
Modifier and Type | Field and Description |
---|---|
static String |
METHOD_NAME_JOIN_FROM
The method name of
joinFrom(Object, Object) . |
static String |
METHOD_NAME_SPLIT_INTO
The method name of
splitInto(Object, Object) . |
METHOD_NAME_COPY_FROM
Modifier and Type | Method and Description |
---|---|
void |
joinFrom(A left,
B right)
Sets properties of the joined result into this.
|
void |
splitInto(A left,
B right)
Sets properties of the joined result into original data models.
|
copyFrom
static final String METHOD_NAME_JOIN_FROM
joinFrom(Object, Object)
.static final String METHOD_NAME_SPLIT_INTO
splitInto(Object, Object)
.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.