Exemplo n.º 1
0
 @Override
 public void copyValuesFromProduct(final MatchPojo product) {
   setTitle(product.getTitle());
   setTags(product.getTags());
   setDescription(product.getDescription());
   setUri(product.getRemoteNeedURI());
   // TODO: handle image uri
 }
Exemplo n.º 2
0
 @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;
 }