question: public Track addTrack ( String name , String type ) { Track track = getTrackByName ( name , type ) ; if ( track == null ) { _IdNumber ++ ; String id = _id + "s" + Integer . toString ( _IdNumber ) ; log . debug ( "Adding new ({}) to ({}) track name ({}) id: {}" , type , getName ( ) , name , id ) ; track = new Track ( id , name , type , this ) ; register ( track ) ; } resetMoves ( ) ; return track ; }
target:  Adds a track to this location. Valid track types are spurs, yards, staging and interchange tracks.