Changeset 2463 for his/tags/1.9.7/data
- Timestamp:
- 12/11/09 12:44:47 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
his/tags/1.9.7/data/src/main/java/org/joiningtracks/his/data/attributemapper/EmployeeAttributesMapper.java
r1726 r2463 25 25 if (attrs.get("initials") != null) { 26 26 newEmp.setInitials((String) attrs.get("initials").get()); 27 } else if (attrs.get("givenName") != null) { 28 String givenName = (String)attrs.get("givenName").get(); 29 if (givenName.length() > 0) { 30 newEmp.setInitials(givenName.substring(0,1) + "."); 31 } 27 32 } 28 33 // TODO: get gender from source, perhaps employeeType?
