@Override public void copyValuesFromProduct(final MatchPojo product) { setTitle(product.getTitle()); setTags(product.getTags()); setDescription(product.getDescription()); setUri(product.getRemoteNeedURI()); // TODO: handle image uri }
@Override public MatchPojo build() { MatchPojo matchPojo = new MatchPojo(); matchPojo.setRemoteNeedURI(getNeedURIString()); matchPojo.setDescription(getDescription()); // matchPojo.setImageURI(); //TODO: fetch an image uri from the need! matchPojo.setTags(getTagsArray()); matchPojo.setTitle(getTitle()); return matchPojo; }