Advertisement
mmornati

Untitled

Apr 17th, 2014
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.66 KB | None | 0 0
  1. if (newAccount.getUserType().equals(UserType.EMPLOYEE)) {
  2.             accountProperties.setStatus(CONTRACT_TYPE_CDI);
  3.         } else if (newAccount.getUserType().equals(UserType.TRAINEE)) {
  4.             accountProperties.setStatus(CONTRACT_TYPE_TRAINEE);
  5.         } else if (newAccount.getUserType().equals(UserType.INTERIM)) {
  6.             accountProperties.setStatus(CONTRACT_TYPE_INTERIM);
  7.         } else if (newAccount.getUserType().equals(UserType.PROVIDER)) {
  8.             accountProperties.setStatus(CONTRACT_TYPE_PROVIDER);
  9.         } else if (newAccount.getUserType().equals(UserType.CDD)) {
  10.             accountProperties.setStatus(CONTRACT_TYPE_CDD);
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement