Class Network

java.lang.Object
org.opentrafficsim.xml.generated.Network
All Implemented Interfaces:
Serializable

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public class Network 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>
         <element name="Conflicts" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice>
                   <element name="None" type="{http://www.opentrafficsim.org/ots}EmptyType"/>
                   <element name="DefaultWidth" type="{http://www.opentrafficsim.org/ots}EmptyType"/>
                   <element name="FixedWidth" type="{http://www.opentrafficsim.org/ots}LengthType"/>
                   <element name="RelativeWidth" type="{http://www.opentrafficsim.org/ots}DoubleUnitInterval"/>
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="Flattener" type="{http://www.opentrafficsim.org/ots}FlattenerType" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://www.opentrafficsim.org/ots}Node" minOccurs="0"/>
           <element ref="{http://www.opentrafficsim.org/ots}Link" minOccurs="0"/>
           <element ref="{http://www.opentrafficsim.org/ots}Centroid" minOccurs="0"/>
           <element ref="{http://www.opentrafficsim.org/ots}Connector" minOccurs="0"/>
           <element ref="{http://www.w3.org/2001/XInclude}include" minOccurs="0"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • conflicts

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected Network.Conflicts conflicts
    • flattener

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected FlattenerType flattener
    • node

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

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

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

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

    • Network

      public Network()
  • Method Details

    • getConflicts

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public Network.Conflicts getConflicts()
      Gets the value of the conflicts property.
      Returns:
      possible object is Network.Conflicts
    • setConflicts

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setConflicts(Network.Conflicts value)
      Sets the value of the conflicts property.
      Parameters:
      value - allowed object is Network.Conflicts
    • getFlattener

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public FlattenerType getFlattener()
      Gets the value of the flattener property.
      Returns:
      possible object is FlattenerType
    • setFlattener

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setFlattener(FlattenerType value)
      Sets the value of the flattener property.
      Parameters:
      value - allowed object is FlattenerType
    • getNode

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<Node> getNode()
      Gets the value of the node 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 node property.

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

          getNode().add(newItem);
       

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

    • getLink

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<Link> getLink()
      Gets the value of the link 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 link property.

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

          getLink().add(newItem);
       

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

    • getCentroid

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<Centroid> getCentroid()
      Gets the value of the centroid 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 centroid property.

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

          getCentroid().add(newItem);
       

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

    • getConnector

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<Connector> getConnector()
      Gets the value of the connector 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 connector property.

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

          getConnector().add(newItem);
       

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

    • getInclude

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<IncludeType> getInclude()
      Gets the value of the include 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 include property.

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

          getInclude().add(newItem);
       

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