Package org.opentrafficsim.xml.generated
Class LINKANIMATIONTYPE
java.lang.Object
org.opentrafficsim.xml.generated.LINKANIMATIONTYPE
- All Implemented Interfaces:
Serializable
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public class LINKANIMATIONTYPE extends Object implements Serializable
Java class for LINKANIMATIONTYPE complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LINKANIMATIONTYPE">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element name="SHOULDER">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="COLOR" use="required" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="LANE">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="COLOR" use="required" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="STRIPE">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="COLOR" use="required" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="NOTRAFFICLANE">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="COLOR" use="required" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="COLOR" type="{http://www.opentrafficsim.org/ots}COLORTYPE" />
<attribute name="WIDTH" type="{http://www.opentrafficsim.org/ots}POSITIVELENGTHTYPE" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLINKANIMATIONTYPE.LANEJava class for anonymous complex type.static classLINKANIMATIONTYPE.NOTRAFFICLANEJava class for anonymous complex type.static classLINKANIMATIONTYPE.SHOULDERJava class for anonymous complex type.static classLINKANIMATIONTYPE.STRIPEJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected Colorcolorprotected Stringidprotected List<Serializable>shoulderOrLANEOrSTRIPEprotected Lengthwidth -
Constructor Summary
Constructors Constructor Description LINKANIMATIONTYPE() -
Method Summary
Modifier and Type Method Description ColorgetCOLOR()Gets the value of the color property.StringgetID()Gets the value of the id property.List<Serializable>getSHOULDEROrLANEOrSTRIPE()Gets the value of the shoulderOrLANEOrSTRIPE property.LengthgetWIDTH()Gets the value of the width property.voidsetCOLOR(Color value)Sets the value of the color property.voidsetID(String value)Sets the value of the id property.voidsetWIDTH(Length value)Sets the value of the width property.
-
Field Details
-
shoulderOrLANEOrSTRIPE
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") protected List<Serializable> shoulderOrLANEOrSTRIPE -
id
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") protected String id -
color
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") protected Color color -
width
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") protected Length width
-
-
Constructor Details
-
LINKANIMATIONTYPE
public LINKANIMATIONTYPE()
-
-
Method Details
-
getSHOULDEROrLANEOrSTRIPE
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public List<Serializable> getSHOULDEROrLANEOrSTRIPE()Gets the value of the shoulderOrLANEOrSTRIPE 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
setmethod for the shoulderOrLANEOrSTRIPE property.For example, to add a new item, do as follows:
getSHOULDEROrLANEOrSTRIPE().add(newItem);Objects of the following type(s) are allowed in the list
LINKANIMATIONTYPE.SHOULDERLINKANIMATIONTYPE.LANELINKANIMATIONTYPE.STRIPELINKANIMATIONTYPE.NOTRAFFICLANE -
getID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public String getID()Gets the value of the id property.- Returns:
- possible object is
String
-
setID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public void setID(String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getCOLOR
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public Color getCOLOR()Gets the value of the color property.- Returns:
- possible object is
String
-
setCOLOR
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public void setCOLOR(Color value)Sets the value of the color property.- Parameters:
value- allowed object isString
-
getWIDTH
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public Length getWIDTH()Gets the value of the width property.- Returns:
- possible object is
String
-
setWIDTH
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:33:23+01:00", comments="JAXB RI v2.3.0") public void setWIDTH(Length value)Sets the value of the width property.- Parameters:
value- allowed object isString
-