Class LINK
java.lang.Object
org.opentrafficsim.road.network.factory.vissim.xsd.LINK
public class LINK extends 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>
<choice>
<element name="BEZIER" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
<element name="CLOTHOID">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="STARTANGLE" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
<attribute name="STARTCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" />
<attribute name="ENDCURVATURE" use="required" type="{http://www.opentrafficsim.org/ots}PERLENGTHTYPE" />
<attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="ENDELEVATION" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="NUMSEGMENTS" type="{http://www.w3.org/2001/XMLSchema}integer" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="STRAIGHT">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="ARC">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="RADIUS" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="ANGLE" use="required" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
<attribute name="DIRECTION" use="required" type="{http://www.opentrafficsim.org/ots}LEFTRIGHTTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="POLYLINE">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="LENGTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" />
<attribute name="INTERMEDIATEPOINTS" type="{http://www.opentrafficsim.org/ots}COORDINATELISTTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<element ref="{http://www.opentrafficsim.org/ots}ROADLAYOUT" minOccurs="0"/>
<sequence>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="LANEOVERRIDE" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" />
<attribute name="DIRECTION" 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="GENERATOR" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="POSITION" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
<attribute name="GTU" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="GTUMIX" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="IAT" use="required" type="{http://www.opentrafficsim.org/ots}TIMEDISTTYPE" />
<attribute name="INITIALSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
<attribute name="MAXGTU" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="STARTTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" />
<attribute name="ENDTIME" type="{http://www.opentrafficsim.org/ots}TIMETYPE" />
<attribute name="ROUTE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="GTUCOLORER" use="required" type="{http://www.opentrafficsim.org/ots}GTUCOLORERTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="LISTGENERATOR" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="URI" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="POSITION" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
<attribute name="GTU" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="GTUMIX" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="INITIALSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
<attribute name="ROUTE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="GTUCOLORER" use="required" type="{http://www.opentrafficsim.org/ots}GTUCOLORERTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="FILL" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="GTU" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="GTUMIX" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="DISTANCE" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHDISTTYPE" />
<attribute name="INITIALSPEED" use="required" type="{http://www.opentrafficsim.org/ots}SPEEDDISTTYPE" />
<attribute name="MAXGTU" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="ROUTE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="BLOCK" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="SENSOR" 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="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
<attribute name="CLASS" use="required" type="{http://www.opentrafficsim.org/ots}CLASSNAMETYPE" />
<attribute name="TRIGGER" use="required" type="{http://www.opentrafficsim.org/ots}GTUPOSITIONTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="TRAFFICLIGHT" 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="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
<attribute name="CLASS" use="required" type="{http://www.opentrafficsim.org/ots}CLASSNAMETYPE" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="SINK" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="LANE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="POSITION" use="required" type="{http://www.opentrafficsim.org/ots}LENGTHBEGINENDTYPE" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</sequence>
</sequence>
<attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="NODESTART" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
<attribute name="NODEEND" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
<attribute name="ROADLAYOUT" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="OFFSETSTART" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
<attribute name="OFFSETEND" type="{http://www.opentrafficsim.org/ots}SIGNEDLENGTHTYPE" />
<attribute name="ROTATIONSTART" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
<attribute name="ROTATIONEND" type="{http://www.opentrafficsim.org/ots}ANGLETYPE" />
<attribute name="LANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" />
<attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLINK.ARCJava class for anonymous complex type.static classLINK.BEZIERstatic classLINK.BLOCKJava class for anonymous complex type.static classLINK.CLOTHOIDJava class for anonymous complex type.static classLINK.FILLJava class for anonymous complex type.static classLINK.GENERATORJava class for anonymous complex type.static classLINK.LANEOVERRIDEJava class for anonymous complex type.static classLINK.LISTGENERATORJava class for anonymous complex type.static classLINK.POLYLINEJava class for anonymous complex type.static classLINK.SENSORJava class for anonymous complex type.static classLINK.SINKJava class for anonymous complex type.static classLINK.STRAIGHTJava class for anonymous complex type.static classLINK.TRAFFICLIGHTJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected LINK.ARCarcprotected Stringbaseprotected LINK.BEZIERbezierprotected LINK.CLOTHOIDclothoidprotected Stringlanekeepingprotected List<Object>laneoverrideOrGENERATOROrLISTGENERATORprotected Stringnameprotected StringnodeEndprotected Stringnodestartprotected Stringoffsetendprotected Stringoffsetstartprotected LINK.POLYLINEpolylineprotected ROADLAYOUTroadlayoutprotected StringroadlayoutAttributeprotected Stringrotationendprotected Stringrotationstartprotected LINK.STRAIGHTstraight -
Constructor Summary
Constructors Constructor Description LINK() -
Method Summary
Modifier and Type Method Description LINK.ARCgetARC()Gets the value of the arc property.StringgetBase()Gets the value of the base property.LINK.BEZIERgetBEZIER()Gets the value of the bezier property.LINK.CLOTHOIDgetCLOTHOID()Gets the value of the clothoid property.StringgetLANEKEEPING()Gets the value of the lanekeeping property.List<Object>getLANEOVERRIDEOrGENERATOROrLISTGENERATOR()StringgetNAME()Gets the value of the name property.StringgetNODEEND()Gets the value of the nodeend property.StringgetNODESTART()Gets the value of the nodestart property.StringgetOFFSETEND()Gets the value of the offsetend property.StringgetOFFSETSTART()Gets the value of the offsetstart property.LINK.POLYLINEgetPOLYLINE()Gets the value of the polyline property.ROADLAYOUTgetROADLAYOUT()Gets the value of the roadlayout property.StringgetROADLAYOUTAttribute()Gets the value of the roadlayoutAttribute property.StringgetROTATIONEND()Gets the value of the rotationend property.StringgetROTATIONSTART()Gets the value of the rotationstart property.LINK.STRAIGHTgetSTRAIGHT()Gets the value of the straight property.voidsetARC(LINK.ARC value)Sets the value of the arc property.voidsetBase(String value)Sets the value of the base property.voidsetBEZIER(LINK.BEZIER value)Sets the value of the bezier property.voidsetCLOTHOID(LINK.CLOTHOID value)Sets the value of the clothoid property.voidsetLANEKEEPING(String value)Sets the value of the lanekeeping property.voidsetNAME(String value)Sets the value of the name property.voidsetNODEEND(String value)Sets the value of the nodeend property.voidsetNODESTART(String value)Sets the value of the nodestart property.voidsetOFFSETEND(String value)Sets the value of the offsetend property.voidsetOFFSETSTART(String value)Sets the value of the offsetstart property.voidsetPOLYLINE(LINK.POLYLINE value)Sets the value of the polyline property.voidsetROADLAYOUT(ROADLAYOUT value)Sets the value of the roadlayout property.voidsetROADLAYOUTAttribute(String value)Sets the value of the roadlayoutAttribute property.voidsetROTATIONEND(String value)Sets the value of the rotationend property.voidsetROTATIONSTART(String value)Sets the value of the rotationstart property.voidsetSTRAIGHT(LINK.STRAIGHT value)Sets the value of the straight property.
-
Field Details
-
Constructor Details
-
LINK
public LINK()
-
-
Method Details
-
getBEZIER
Gets the value of the bezier property.- Returns:
- possible object is
Object
-
setBEZIER
Sets the value of the bezier property.- Parameters:
value- LINK.BEZIER; allowed object isObject
-
getCLOTHOID
Gets the value of the clothoid property.- Returns:
- possible object is
LINK.CLOTHOID
-
setCLOTHOID
Sets the value of the clothoid property.- Parameters:
value- LINK.CLOTHOID; allowed object isLINK.CLOTHOID
-
getSTRAIGHT
Gets the value of the straight property.- Returns:
- possible object is
LINK.STRAIGHT
-
setSTRAIGHT
Sets the value of the straight property.- Parameters:
value- LINK.STRAIGHT; allowed object isLINK.STRAIGHT
-
getARC
Gets the value of the arc property.- Returns:
- possible object is
LINK.ARC
-
setARC
Sets the value of the arc property.- Parameters:
value- LINK.ARC; allowed object isLINK.ARC
-
getPOLYLINE
Gets the value of the polyline property.- Returns:
- possible object is
LINK.POLYLINE
-
setPOLYLINE
Sets the value of the polyline property.- Parameters:
value- LINK.POLYLINE; allowed object isLINK.POLYLINE
-
getROADLAYOUT
Gets the value of the roadlayout property.- Returns:
- possible object is
ROADLAYOUT
-
setROADLAYOUT
Sets the value of the roadlayout property.- Parameters:
value- ROADLAYOUT; allowed object isROADLAYOUT
-
getLANEOVERRIDEOrGENERATOROrLISTGENERATOR
- Returns:
- elements of a link
-
getNAME
Gets the value of the name property.- Returns:
- possible object is
String
-
setNAME
Sets the value of the name property.- Parameters:
value- String; allowed object isString
-
getNODESTART
Gets the value of the nodestart property.- Returns:
- possible object is
Object
-
setNODESTART
Sets the value of the nodestart property.- Parameters:
value- String; allowed object isObject
-
getNODEEND
Gets the value of the nodeend property.- Returns:
- possible object is
Object
-
setNODEEND
Sets the value of the nodeend property.- Parameters:
value- String; allowed object isObject
-
getROADLAYOUTAttribute
Gets the value of the roadlayoutAttribute property.- Returns:
- possible object is
String
-
setROADLAYOUTAttribute
Sets the value of the roadlayoutAttribute property.- Parameters:
value- String; allowed object isString
-
getOFFSETSTART
Gets the value of the offsetstart property.- Returns:
- possible object is
String
-
setOFFSETSTART
Sets the value of the offsetstart property.- Parameters:
value- String; allowed object isString
-
getOFFSETEND
Gets the value of the offsetend property.- Returns:
- possible object is
String
-
setOFFSETEND
Sets the value of the offsetend property.- Parameters:
value- String; allowed object isString
-
getROTATIONSTART
Gets the value of the rotationstart property.- Returns:
- possible object is
String
-
setROTATIONSTART
Sets the value of the rotationstart property.- Parameters:
value- String; allowed object isString
-
getROTATIONEND
Gets the value of the rotationend property.- Returns:
- possible object is
String
-
setROTATIONEND
Sets the value of the rotationend property.- Parameters:
value- String; allowed object isString
-
getLANEKEEPING
Gets the value of the lanekeeping property.- Returns:
- possible object is
String
-
setLANEKEEPING
Sets the value of the lanekeeping property.- Parameters:
value- String; allowed object isString
-
getBase
Gets the value of the base property.- Returns:
- possible object is
String
-
setBase
Sets the value of the base property.- Parameters:
value- String; allowed object isString
-