Package core
Class RoadConnection
- java.lang.Object
-
- core.RoadConnection
-
- All Implemented Interfaces:
core.InterfaceScenarioElement,Comparable<RoadConnection>
public class RoadConnection extends Object implements Comparable<RoadConnection>, core.InterfaceScenarioElement
-
-
Constructor Summary
Constructors Constructor Description RoadConnection(long id, Link start_link, int start_link_from_lane, int start_link_to_lane, Link end_link, int end_link_from_lane, int end_link_to_lane)RoadConnection(long id, Link start_link, Link end_link)RoadConnection(Map<Long,Link> links, jaxb.Roadconnection jaxb_rc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(RoadConnection that)Linkget_end_link()intget_end_link_from_lane()Longget_end_link_id()intget_end_link_to_lane()Set<core.AbstractLaneGroup>get_in_lanegroups()intget_in_lanes()Set<core.AbstractLaneGroup>get_out_lanegroups()Linkget_start_link()Longget_start_link_id()LonggetId()core.ScenarioElementTypegetSEType()booleanhas_end_link()booleanhas_start_link()jaxb.Roadconnectionto_jaxb()StringtoString()voidvalidate_post_init(error.OTMErrorLog errorLog)voidvalidate_pre_init(error.OTMErrorLog errorLog)
-
-
-
Method Detail
-
getId
public final Long getId()
- Specified by:
getIdin interfacecore.InterfaceScenarioElement
-
getSEType
public final core.ScenarioElementType getSEType()
- Specified by:
getSETypein interfacecore.InterfaceScenarioElement
-
validate_pre_init
public void validate_pre_init(error.OTMErrorLog errorLog)
-
validate_post_init
public void validate_post_init(error.OTMErrorLog errorLog)
-
to_jaxb
public jaxb.Roadconnection to_jaxb()
- Specified by:
to_jaxbin interfacecore.InterfaceScenarioElement
-
compareTo
public int compareTo(RoadConnection that)
- Specified by:
compareToin interfaceComparable<RoadConnection>
-
has_start_link
public boolean has_start_link()
-
has_end_link
public boolean has_end_link()
-
get_start_link_id
public Long get_start_link_id()
-
get_start_link
public Link get_start_link()
-
get_end_link
public Link get_end_link()
-
get_end_link_id
public Long get_end_link_id()
-
get_in_lanes
public int get_in_lanes()
-
get_end_link_from_lane
public int get_end_link_from_lane()
-
get_end_link_to_lane
public int get_end_link_to_lane()
-
get_in_lanegroups
public Set<core.AbstractLaneGroup> get_in_lanegroups()
-
get_out_lanegroups
public Set<core.AbstractLaneGroup> get_out_lanegroups()
-
-