Exemplo n.º 1
0
 public void toMap(Map ht) {
   super.toMap(ht);
 }
Exemplo n.º 2
0
 public void fromMap(Map ht) {
   super.fromMap(ht);
 }
Exemplo n.º 3
0
 public String toString() {
   return "user " + user.getUsername() + " -> " + role.getAuthority();
 }
Exemplo n.º 4
0
 @Transient
 public String getAuthority() {
   return role.getAuthority();
 }
Exemplo n.º 5
0
 public int getRoleId() {
   return (role != null) ? role.getRoleId() : 2;
 }
Exemplo n.º 6
0
 public String getRole() {
   return (role != null) ? role.getRole() : null;
 }