protected Map<String, IPeopleQueryArgument> getArgumentMap() {
    List<Peoplequeryargument> argumentEntities = peopleQueryEntity.getPeoplequeryarguments();

    Map<String, IPeopleQueryArgument> arguments = new HashMap<String, IPeopleQueryArgument>();
    if (argumentEntities != null) {
      /* Get all people query arguments and their associated names */
      Iterator<Peoplequeryargument> iter = argumentEntities.iterator();
      while (iter.hasNext()) {
        Peoplequeryargument peoplequeryArgument = (Peoplequeryargument) iter.next();
        /* Get the name of the people query argument */
        String argumentName = getPeopleQueryArgumentName(peoplequeryArgument);
        if (argumentName != null) {
          /* Add the name and the people query argument model to the map */
          arguments.put(
              argumentName,
              /* Determine the model of the people query argument */
              ModelElementFactory.newInstance().createPeopleGroupArgument(peoplequeryArgument));
        }
      }
    }
    return arguments;
  }
 public ILogicalPeopleGroupDef getBoundPeopleGroup() {
   /* Create the model of the LPG definition from the entity model */
   return ModelElementFactory.newInstance()
       .createPeopleGroupDefinition(peopleQueryEntity.getLogicalpeoplegroupdef());
 }