Example #1
0
 /**
  * Remove a Userrole from this entity.
  *
  * @param e the userrole
  */
 public void removeUserrole(Userrole e) {
   e.unlinkFromParent();
   userroles.remove(e);
 }
Example #2
0
 /**
  * Add a Userrole to this entity.
  *
  * @param e the userrole
  */
 public void addUserrole(Userrole e) {
   e.linkToParent(this);
   userroles.add(e);
 }