use of uk.ac.bbsrc.tgac.miso.core.data.impl.view.qc.QcNodeType in project miso-lims by miso-lims.
the class Dtos method to.
public static QcStatusUpdate to(@Nonnull QcNodeDto from) {
QcStatusUpdate to = new QcStatusUpdate();
setLong(to::setId, from.getId(), true);
to.setIds(from.getIds());
setObject(to::setEntityType, from.getEntityType(), QcNodeType::lookup);
setBoolean(to::setQcPassed, from.getQcPassed(), true);
setLong(to::setQcStatusId, from.getQcStatusId(), true);
setString(to::setQcNote, from.getQcNote());
setBoolean(to::setDataReview, from.getDataReview(), true);
return to;
}
Aggregations