Package org.opentrafficsim.xml.generated
Class LINKANIMATIONTYPE
- java.lang.Object
-
- org.opentrafficsim.xml.generated.LINKANIMATIONTYPE
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") public class LINKANIMATIONTYPE extends java.lang.Object implements java.io.SerializableJava 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 java.awt.Colorcolorprotected java.lang.Stringidprotected java.util.List<java.io.Serializable>shoulderOrLANEOrSTRIPEprotected Lengthwidth
-
Constructor Summary
Constructors Constructor Description LINKANIMATIONTYPE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetCOLOR()Gets the value of the color property.java.lang.StringgetID()Gets the value of the id property.java.util.List<java.io.Serializable>getSHOULDEROrLANEOrSTRIPE()Gets the value of the shoulderOrLANEOrSTRIPE property.LengthgetWIDTH()Gets the value of the width property.voidsetCOLOR(java.awt.Color value)Sets the value of the color property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetWIDTH(Length value)Sets the value of the width property.
-
-
-
Field Detail
-
shoulderOrLANEOrSTRIPE
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") protected java.util.List<java.io.Serializable> shoulderOrLANEOrSTRIPE
-
id
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") protected java.lang.String id
-
color
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") protected java.awt.Color color
-
width
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") protected Length width
-
-
Method Detail
-
getSHOULDEROrLANEOrSTRIPE
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") public java.util.List<java.io.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-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") public java.lang.String getID()Gets the value of the id property.- Returns:
- possible object is
String
-
setID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") public void setID(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getCOLOR
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") public java.awt.Color getCOLOR()Gets the value of the color property.- Returns:
- possible object is
String
-
setCOLOR
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") public void setCOLOR(java.awt.Color value)Sets the value of the color property.- Parameters:
value- allowed object isString
-
getWIDTH
@Generated(value="com.sun.tools.xjc.Driver", date="2020-08-12T04:39:28+02: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-08-12T04:39:28+02:00", comments="JAXB RI v2.3.0") public void setWIDTH(Length value)Sets the value of the width property.- Parameters:
value- allowed object isString
-
-