@JsonIgnore
  public List<String> getGroupIDs() {
    List<String> listOfIDs = new ArrayList<String>();

    for (GroupingNotation grouping : listOfGroupings) {
      listOfIDs.add(grouping.getGroupID().getId());
    }
    return listOfIDs;
  }
@JsonIgnore
  public List<String> getGroupIDs() {
    List<String> listOfIDs = new ArrayList<String>();

    for (GroupingNotation grouping : listOfGroupings) {
      listOfIDs.add(grouping.getGroupID().getId());
    }
    return listOfIDs;
  }
@ JsonIgnore public List < String > getGroupIDs ( ) { List < String > listOfIDs = new ArrayList < String > ( ) ; for ( GroupingNotation grouping : listOfGroupings ) { listOfIDs . add ( grouping . getGroupID ( ) . getId ( ) ) ; } return listOfIDs ; }
method to get the ID's from all polymers

@return all ids from all polymers
method to get the ID s from all polymers