use of org.ovirt.engine.api.v3.types.V3FopStatistic in project ovirt-engine by oVirt.
the class V3FopStatisticInAdapter method adapt.
public FopStatistic adapt(V3FopStatistic from) {
FopStatistic to = new FopStatistic();
if (from.isSetName()) {
to.setName(from.getName());
}
if (from.isSetStatistic()) {
to.setStatistics(new Statistics());
to.getStatistics().getStatistics().addAll(adaptIn(from.getStatistic()));
}
return to;
}
Aggregations