LINKANIMATIONTYPE.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.08.12 at 04:40:29 AM CEST
//
package org.opentrafficsim.xml.generated;
import java.awt.Color;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.djunits.value.vdouble.scalar.Length;
import org.opentrafficsim.xml.bindings.ColorAdapter;
import org.opentrafficsim.xml.bindings.PositiveLengthAdapter;
/**
* <p>Java class for LINKANIMATIONTYPE complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LINKANIMATIONTYPE", propOrder = {
"shoulderOrLANEOrSTRIPE"
})
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public class LINKANIMATIONTYPE
implements Serializable
{
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
private final static long serialVersionUID = 10102L;
@XmlElements({
@XmlElement(name = "SHOULDER", type = LINKANIMATIONTYPE.SHOULDER.class),
@XmlElement(name = "LANE", type = LINKANIMATIONTYPE.LANE.class),
@XmlElement(name = "STRIPE", type = LINKANIMATIONTYPE.STRIPE.class),
@XmlElement(name = "NOTRAFFICLANE", type = LINKANIMATIONTYPE.NOTRAFFICLANE.class)
})
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected List<Serializable> shoulderOrLANEOrSTRIPE;
@XmlAttribute(name = "ID", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected String id;
@XmlAttribute(name = "COLOR")
@XmlJavaTypeAdapter(ColorAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected Color color;
@XmlAttribute(name = "WIDTH")
@XmlJavaTypeAdapter(PositiveLengthAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected Length width;
/**
* Gets the value of the shoulderOrLANEOrSTRIPE property.
*
* <p>
* 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 <CODE>set</CODE> method for the shoulderOrLANEOrSTRIPE property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSHOULDEROrLANEOrSTRIPE().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link LINKANIMATIONTYPE.SHOULDER }
* {@link LINKANIMATIONTYPE.LANE }
* {@link LINKANIMATIONTYPE.STRIPE }
* {@link LINKANIMATIONTYPE.NOTRAFFICLANE }
*
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public List<Serializable> getSHOULDEROrLANEOrSTRIPE() {
if (shoulderOrLANEOrSTRIPE == null) {
shoulderOrLANEOrSTRIPE = new ArrayList<Serializable>();
}
return this.shoulderOrLANEOrSTRIPE;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setID(String value) {
this.id = value;
}
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public Color getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setCOLOR(Color value) {
this.color = value;
}
/**
* Gets the value of the width property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public Length getWIDTH() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setWIDTH(Length value) {
this.width = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public static class LANE implements Serializable
{
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
private final static long serialVersionUID = 10102L;
@XmlAttribute(name = "ID", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected String id;
@XmlAttribute(name = "COLOR", required = true)
@XmlJavaTypeAdapter(ColorAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected Color color;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setID(String value) {
this.id = value;
}
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public Color getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setCOLOR(Color value) {
this.color = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public static class NOTRAFFICLANE implements Serializable
{
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
private final static long serialVersionUID = 10102L;
@XmlAttribute(name = "ID", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected String id;
@XmlAttribute(name = "COLOR", required = true)
@XmlJavaTypeAdapter(ColorAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected Color color;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setID(String value) {
this.id = value;
}
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public Color getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setCOLOR(Color value) {
this.color = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public static class SHOULDER implements Serializable
{
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
private final static long serialVersionUID = 10102L;
@XmlAttribute(name = "ID", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected String id;
@XmlAttribute(name = "COLOR", required = true)
@XmlJavaTypeAdapter(ColorAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected Color color;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setID(String value) {
this.id = value;
}
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public Color getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setCOLOR(Color value) {
this.color = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public static class STRIPE implements Serializable
{
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
private final static long serialVersionUID = 10102L;
@XmlAttribute(name = "ID", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected String id;
@XmlAttribute(name = "COLOR", required = true)
@XmlJavaTypeAdapter(ColorAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
protected Color color;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public String getID() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setID(String value) {
this.id = value;
}
/**
* Gets the value of the color property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public Color getCOLOR() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2020-08-12T04:40:29+02:00", comments = "JAXB RI v2.3.0")
public void setCOLOR(Color value) {
this.color = value;
}
}
}