Guest User

Untitled

a guest
Jan 16th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public List<DocType> mapDocType(List<DocType> docTypes) {
  2. List<DocType> result = new ArrayList<DocType>();
  3. for(DocType docType : docTypes) {
  4. DocType temp = new DocType();
  5. temp.setId(docType.getId());
  6. temp.setDocident(docType.getDocident());
  7. temp.setDocname(docType.getDocname());
  8. result.add(temp);
  9. }
  10. return result;
  11. }
Add Comment
Please, Sign In to add comment