Class Link.Polyline

java.lang.Object
org.opentrafficsim.xml.generated.Link.Polyline
All Implemented Interfaces:
Serializable
Enclosing class:
Link

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public static class Link.Polyline extends Object implements Serializable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded">
         <element name="Coordinate" type="{http://www.opentrafficsim.org/ots}CoordinateType"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • coordinate

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected List<Point2dType> coordinate
  • Constructor Details

    • Polyline

      public Polyline()
  • Method Details

    • getCoordinate

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<Point2dType> getCoordinate()
      Gets the value of the coordinate 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 JAXB object. This is why there is not a set method for the coordinate property.

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

          getCoordinate().add(newItem);
       

      Objects of the following type(s) are allowed in the list String