@JsonIgnore
  public List<String> getPolymerIDs() {
    List<String> listOfIDs = new ArrayList<String>();
    for (PolymerNotation polymer : listOfPolymers) {
      listOfIDs.add(polymer.getPolymerID().getId());
    }
    return listOfIDs;
  }
@JsonIgnore
  public List<String> getPolymerIDs() {
    List<String> listOfIDs = new ArrayList<String>();
    for (PolymerNotation polymer : listOfPolymers) {
      listOfIDs.add(polymer.getPolymerID().getId());
    }
    return listOfIDs;
  }
@ JsonIgnore public List < String > getPolymerIDs ( ) { List < String > listOfIDs = new ArrayList < String > ( ) ; for ( PolymerNotation polymer : listOfPolymers ) { listOfIDs . add ( polymer . getPolymerID ( ) . getId ( ) ) ; } return listOfIDs ; }
method to get the ID's from all polymers

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