src/main/java/org/helm/notation2/parser/notation/polymer/PolymerSingleElements.java
@Override
  public void addMonomerNotation(String str) throws SimplePolymerSectionException, NotationException {
    if (this.listMonomerNotations.size() < 1) {
      this.listMonomerNotations.add(ValidationMethod.decideWhichMonomerNotation(str, entity.getType()));
    } else {
      throw new SimplePolymerSectionException("Only one Monomer unit is allowed for CHEM and BLOB");
    }

  }
@Override
  public void addMonomerNotation(String str) throws SimplePolymerSectionException, NotationException {
    if (this.listMonomerNotations.size() < 1) {
      this.listMonomerNotations.add(ValidationMethod.decideWhichMonomerNotation(str, entity.getType()));
    } else {
      throw new SimplePolymerSectionException("Only one Monomer unit is allowed for CHEM and BLOB");
    }

  }
@ Override public void addMonomerNotation ( String str ) throws SimplePolymerSectionException , NotationException { if ( this . listMonomerNotations . size ( ) < 1 ) { this . listMonomerNotations . add ( ValidationMethod . decideWhichMonomerNotation ( str , entity . getType ( ) ) ) ; } else { throw new SimplePolymerSectionException ( "Only one Monomer unit is allowed for CHEM and BLOB" ) ; } }
{@inheritDoc}

@throws SimplePolymerSectionException if simple polymer section is not valid
@throws NotationException if not notation is not valid
{ @inheritDoc }