public final static MonomerNotationUnit produceMonomerNotationUnitWithOtherID(MonomerNotation monomerNotation,
			String newID) throws NotationException {
		MonomerNotationUnit result = new MonomerNotationUnit(newID, monomerNotation.getType());
		if (monomerNotation.isAnnotationTrue()) {
			result.setAnnotation(monomerNotation.getAnnotation());
		}
		result.setCount(monomerNotation.getCount());
		return result;
	}
public final static MonomerNotationUnit produceMonomerNotationUnitWithOtherID ( MonomerNotation monomerNotation , String newID ) throws NotationException { MonomerNotationUnit result = new MonomerNotationUnit ( newID , monomerNotation . getType ( ) ) ; if ( monomerNotation . isAnnotationTrue ( ) ) { result . setAnnotation ( monomerNotation . getAnnotation ( ) ) ; } result . setCount ( monomerNotation . getCount ( ) ) ; return result ; }
method to replace the MonomerNotationUnit having the MonomerID with the
new MonomerID

@param monomerNotation
given monomer notation
@param newID
new monomer id
@return MonomerNotationUnit
@throws NotationException
if new id is not valid