@Override protected Application addParents(Application model) { model.setVm(new org.ovirt.engine.api.model.Vm()); model.getVm().setId(vmId.toString()); return model; }
@Override public V3Application adapt(Application from) { V3Application to = new V3Application(); if (from.isSetLinks()) { to.getLinks().addAll(adaptOut(from.getLinks())); } if (from.isSetActions()) { to.setActions(adaptOut(from.getActions())); } if (from.isSetComment()) { to.setComment(from.getComment()); } if (from.isSetDescription()) { to.setDescription(from.getDescription()); } if (from.isSetId()) { to.setId(from.getId()); } if (from.isSetHref()) { to.setHref(from.getHref()); } if (from.isSetName()) { to.setName(from.getName()); } if (from.isSetVm()) { to.setVm(adaptOut(from.getVm())); } return to; } }