Example #1
0
 /**
  * Remove a Userpermission from this entity.
  *
  * @param e the userpermission
  */
 public void removeUserpermission(Userpermission e) {
   e.unlinkFromParent();
   userpermissions.remove(e);
 }
Example #2
0
 /**
  * Add a Userpermission to this entity.
  *
  * @param e the userpermission
  */
 public void addUserpermission(Userpermission e) {
   e.linkToParent(this);
   userpermissions.add(e);
 }