Class ROADLAYOUT


  • public class ROADLAYOUT
    extends java.lang.Object

    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="SPEEDLIMIT" maxOccurs="unbounded" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     <attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <choice maxOccurs="unbounded">
               <element name="LANE" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence maxOccurs="unbounded" minOccurs="0">
                         <element name="SPEEDLIMIT" maxOccurs="unbounded">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                                 <attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                       <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="LANETYPE" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
                       <attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}DIRECTIONTYPE" />
                       <attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
                       <attribute name="OVERTAKING" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="NOTRAFFICLANE" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
                       <attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="SHOULDER" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
                       <attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="STRIPE" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="NAME" type="{http://www.w3.org/2001/XMLSchema}string" />
                       <attribute name="TYPE" use="required" type="{http://www.opentrafficsim.org/ots}STRIPETYPE" />
                       <attribute name="OFFSET" use="required" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
                       <attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
                       <attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
             </choice>
           </sequence>
           <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="ROADTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
           <attribute name="LANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" />
           <attribute name="OVERTAKING" type="{http://www.opentrafficsim.org/ots}OVERTAKINGTYPE" />
           <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      ROADLAYOUT()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBase()
      Gets the value of the base property.
      java.lang.String getLANEKEEPING()
      Gets the value of the lanekeeping property.
      java.util.List<java.lang.Object> getLANEOrNOTRAFFICLANEOrSHOULDER()
      Gets the value of the laneOrNOTRAFFICLANEOrSHOULDER property.
      java.lang.String getNAME()
      Gets the value of the name property.
      java.lang.String getOVERTAKING()
      Gets the value of the overtaking property.
      java.lang.String getROADTYPE()
      Gets the value of the roadtype property.
      java.util.List<ROADLAYOUT.SPEEDLIMIT> getSPEEDLIMIT()
      Gets the value of the speedlimit property.
      java.lang.String getWIDTH()
      Gets the value of the width property.
      void setBase​(java.lang.String value)
      Sets the value of the base property.
      void setLANEKEEPING​(java.lang.String value)
      Sets the value of the lanekeeping property.
      void setNAME​(java.lang.String value)
      Sets the value of the name property.
      void setOVERTAKING​(java.lang.String value)
      Sets the value of the overtaking property.
      void setROADTYPE​(java.lang.String value)
      Sets the value of the roadtype property.
      void setWIDTH​(java.lang.String value)
      Sets the value of the width property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • laneOrNOTRAFFICLANEOrSHOULDER

        protected java.util.List<java.lang.Object> laneOrNOTRAFFICLANEOrSHOULDER
      • name

        protected java.lang.String name
      • roadtype

        protected java.lang.String roadtype
      • width

        protected java.lang.String width
      • lanekeeping

        protected java.lang.String lanekeeping
      • overtaking

        protected java.lang.String overtaking
      • base

        protected java.lang.String base
    • Constructor Detail

      • ROADLAYOUT

        public ROADLAYOUT()
    • Method Detail

      • getSPEEDLIMIT

        public java.util.List<ROADLAYOUT.SPEEDLIMIT> getSPEEDLIMIT()
        Gets the value of the speedlimit 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 speedlimit property.

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

         getSPEEDLIMIT().add(newItem);
         

        Objects of the following type(s) are allowed in the list ROADLAYOUT.SPEEDLIMIT

      • getLANEOrNOTRAFFICLANEOrSHOULDER

        public java.util.List<java.lang.Object> getLANEOrNOTRAFFICLANEOrSHOULDER()
        Gets the value of the laneOrNOTRAFFICLANEOrSHOULDER 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 laneOrNOTRAFFICLANEOrSHOULDER property.

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

         getLANEOrNOTRAFFICLANEOrSHOULDER().add(newItem);
         

        Objects of the following type(s) are allowed in the list ROADLAYOUT.LANE ROADLAYOUT.NOTRAFFICLANE ROADLAYOUT.SHOULDER ROADLAYOUT.STRIPE

      • getNAME

        public java.lang.String getNAME()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setNAME

        public void setNAME​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - String; allowed object is String
      • getROADTYPE

        public java.lang.String getROADTYPE()
        Gets the value of the roadtype property.
        Returns:
        possible object is String
      • setROADTYPE

        public void setROADTYPE​(java.lang.String value)
        Sets the value of the roadtype property.
        Parameters:
        value - String; allowed object is String
      • getWIDTH

        public java.lang.String getWIDTH()
        Gets the value of the width property.
        Returns:
        possible object is String
      • setWIDTH

        public void setWIDTH​(java.lang.String value)
        Sets the value of the width property.
        Parameters:
        value - String; allowed object is String
      • getLANEKEEPING

        public java.lang.String getLANEKEEPING()
        Gets the value of the lanekeeping property.
        Returns:
        possible object is String
      • setLANEKEEPING

        public void setLANEKEEPING​(java.lang.String value)
        Sets the value of the lanekeeping property.
        Parameters:
        value - String; allowed object is String
      • getOVERTAKING

        public java.lang.String getOVERTAKING()
        Gets the value of the overtaking property.
        Returns:
        possible object is String
      • setOVERTAKING

        public void setOVERTAKING​(java.lang.String value)
        Sets the value of the overtaking property.
        Parameters:
        value - String; allowed object is String
      • getBase

        public java.lang.String getBase()
        Gets the value of the base property.
        Returns:
        possible object is String
      • setBase

        public void setBase​(java.lang.String value)
        Sets the value of the base property.
        Parameters:
        value - String; allowed object is String