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", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") 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 class
LINKANIMATIONTYPE.LANE
Java class for anonymous complex type.static class
LINKANIMATIONTYPE.NOTRAFFICLANE
Java class for anonymous complex type.static class
LINKANIMATIONTYPE.SHOULDER
Java class for anonymous complex type.static class
LINKANIMATIONTYPE.STRIPE
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Color
color
protected String
id
protected List<Serializable>
shoulderOrLANEOrSTRIPE
protected Length
width
-
Constructor Summary
Constructors Constructor Description LINKANIMATIONTYPE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getCOLOR()
Gets the value of the color property.String
getID()
Gets the value of the id property.List<Serializable>
getSHOULDEROrLANEOrSTRIPE()
Gets the value of the shoulderOrLANEOrSTRIPE property.Length
getWIDTH()
Gets the value of the width property.void
setCOLOR(Color value)
Sets the value of the color property.void
setID(String value)
Sets the value of the id property.void
setWIDTH(Length value)
Sets the value of the width property.
-
-
-
Field Detail
-
shoulderOrLANEOrSTRIPE
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") protected List<Serializable> shoulderOrLANEOrSTRIPE
-
id
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") protected String id
-
color
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") protected Color color
-
width
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") protected Length width
-
-
Method Detail
-
getSHOULDEROrLANEOrSTRIPE
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") 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
set
method 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.LANE
LINKANIMATIONTYPE.NOTRAFFICLANE
LINKANIMATIONTYPE.SHOULDER
LINKANIMATIONTYPE.STRIPE
-
getID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") public String getID()
Gets the value of the id property.- Returns:
- possible object is
String
-
setID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") 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", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") public Color getCOLOR()
Gets the value of the color property.- Returns:
- possible object is
String
-
setCOLOR
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") 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", comments="JAXB RI v2.3.6", date="2022-09-04T02:31:11+02:00") public Length getWIDTH()
Gets the value of the width property.- Returns:
- possible object is
String
-
-