Class N2oBuildProcessor<O,​I>

  • Type Parameters:
    O - Тип собранной метаданной
    I - Тип исходной метаданной*
    All Implemented Interfaces:
    BuildProcessor<O,​I>

    public class N2oBuildProcessor<O,​I>
    extends Object
    implements BuildProcessor<O,​I>
    Конструктор сборки метаданных Пример: b = BuildProcessorImpl.of(MyCompiled.class, MySource.class); b.get(MySource::getName).defaults(MySource::getId).set(MyCompiled::setName); b.cast(IdAware.class).get(IdAware::getId).set(IdAware::setId); b.get(MySource::getSomething).add().map(Mappers::singletonList).set(MyCompiled::setSomethings);