The main transportation in Indonesia is vehicles. But full of traffic, it's very difficult to keep anything on time , you have to move ahead as soon as possible.
About going to the golf course, it is possible to go by taxi. Taxi rates are very cheap, and it starts from around 2USD . In the the case of Jakarta, you can move from the airport to the center of city for about 15 USD.
In that case, I would recommend that you use and "Bluebird Taxi". "Bluebird Taxi" has been recognized as a reliable taxi company.
Even if there is a golf course in remote areas from the hotel, if you reserved a taxi for a whole day, 100USD is enough. And it's no difference from renting a car. Even if you do not use chartered course, it should be fine, you can use it normally.
We may suuport for booking Bluebird. Pls contact us  from inquiry form or call us. IF you reserved for yourself, you should call for +6279171234.
There are stations in Jakarta, but the train is not a popular way of transportation. And there is no shuttle bus from the station to golf courses. Of course, some of golf courses provide plans including some of the transportation. But basically it's better you prepare it for yourself.
"