<ROUTE> : Route

Java class : leon.info.LyRoute

ROLE

This element defines an explicit path to compute cross-references. A route is made of a sequence of steps. Those steps are contiguous: the starting class of a step is the ending point of the previous step. In this way, the sequence of steps should define a whole path between two classes. A route could describe the whole path or a part of the path between two classes. A whole path leads from one class to the target class. When the path is incomplete, Application Engine looks for other routes, explicit then implicit, to complete the path and reach the target class.

ATTRIBUTES

<!ATTLIST ROUTE
	  id ID #IMPLIED
	  target IDREF #REQUIRED
	  reverse ( true | false) "false"
	  bidirectional ( true | false) "false"
	  hidden ( true | false) "false">
Attribute Mand. Description Default
id no Identifier of the route.  
target yes Identifier of the target class. The origin class is the one to which this route belong.  
reverse no This attribute tells if the route is reversed or not. That is, if the path is followed from the target class to the origin class or from the origin class to the target class. The default value is false. false
bidirectional no This attribute tells if the route may be used in both directions. The default value is false. false
hidden no Indicates that a route is hidden, i.e.: not used to compute cross references. This mode is used to define routes in meta-model that are solely used by programming. false

ELEMENTS

<!ELEMENT ROUTE 
	  (STEP |
	   ROUTE_REF)*>
Element Mand. Mult. Description
STEP yes no Steps that compose the route.
ROUTE_REF yes no Reference of the route used to complete the route.