Package org.goplanit.assignment.ltm.eltm
Class LinkSegmentBoundary
- java.lang.Object
-
- org.goplanit.assignment.ltm.eltm.LinkSegmentBoundary
-
- All Implemented Interfaces:
Serializable
public class LinkSegmentBoundary extends Object implements Serializable
LinkSegment boundary of a link segment.- Author:
- markr
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LinkSegmentBoundary.Location
Location types for a link segment boundary
-
Field Summary
Fields Modifier and Type Field Description protected LinkSegmentBoundary.Location
boundaryLocation
the location of this boundary on the link segmentprotected MacroscopicLinkSegment
linkSegment
the link segment of this boundary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkSegmentBoundary.Location
getLocation()
Collect the boundary location of this instanceLinkSegmentBoundary.Location
getOppositeBoundaryLocation()
collect the opposite location of this boundary.
-
-
-
Field Detail
-
linkSegment
protected final MacroscopicLinkSegment linkSegment
the link segment of this boundary
-
boundaryLocation
protected final LinkSegmentBoundary.Location boundaryLocation
the location of this boundary on the link segment
-
-
Method Detail
-
getLocation
public LinkSegmentBoundary.Location getLocation()
Collect the boundary location of this instance- Returns:
- boundary location
-
getOppositeBoundaryLocation
public LinkSegmentBoundary.Location getOppositeBoundaryLocation()
collect the opposite location of this boundary. So when upstream we return downstream and vice versa- Returns:
- opposite boundary location
-
-