getRoad

Gets the value of the road property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the road property.

For example, to add a new item, do as follows:

   getRoad().add(newItem);

Objects of the following type(s) are allowed in the list OpenDRIVE.Road

Return

Thevalue of the road property.