Package commodity
Class Path
- java.lang.Object
-
- commodity.Subnetwork
-
- commodity.Path
-
- All Implemented Interfaces:
InterfaceScenarioElement
public class Path extends Subnetwork
-
-
Field Summary
Fields Modifier and Type Field Description ArrayList<Link>
ordered_links
-
Constructor Summary
Constructors Constructor Description Path(Subnetwork js)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Link
get_destination()
Long
get_destination_node_id()
Link
get_link_following(Link link)
List<Link>
get_ordered_links()
Link
get_origin()
Long
get_origin_node_id()
boolean
has(Link link)
boolean
populate_ordered_links(Network network)
void
validate_pre_init(OTMErrorLog errorLog)
-
Methods inherited from class commodity.Subnetwork
add_commodity, add_links, get_commodity_ids, get_link_ids, getId, getName, getSEType, has_link_id, remove_links, to_jaxb, validate_post_init
-
-
-
-
Constructor Detail
-
Path
public Path(Subnetwork js) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
populate_ordered_links
public boolean populate_ordered_links(Network network)
-
validate_pre_init
public void validate_pre_init(OTMErrorLog errorLog)
- Overrides:
validate_pre_init
in classSubnetwork
-
get_origin
public Link get_origin()
-
get_origin_node_id
public Long get_origin_node_id()
-
get_destination
public Link get_destination()
-
get_destination_node_id
public Long get_destination_node_id()
-
has
public boolean has(Link link)
-
-