@Override public V3Image adapt(Image from) { V3Image to = new V3Image(); 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.isSetStorageDomain()) { to.setStorageDomain(adaptOut(from.getStorageDomain())); } return to; } }