Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public List<DocType> mapDocType(List<DocType> docTypes) {
- List<DocType> result = new ArrayList<DocType>();
- for(DocType docType : docTypes) {
- DocType temp = new DocType();
- temp.setId(docType.getId());
- temp.setDocident(docType.getDocident());
- temp.setDocname(docType.getDocname());
- result.add(temp);
- }
- return result;
- }
Add Comment
Please, Sign In to add comment