|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.info.LyTag
leon.info.LyInfo
leon.info.LyRoute
public class LyRoute
This class implements a route between two classes. A route defines how to get objects of a class from a list of objects belonging to an other class (cross references). A route is defined in a source class, has a sequence of steps and a target class. A route can be either explicit (defined by programmer in data description file) or implicit (calculated automatically using relations and enabled crossings).
Routes are said reverse if computing should start from target class and returning to source class (this kind of computing is used for optimization purpose). A reverse route contains no steps.
Routes are said bidirectional if they can be used in both directions (from source to target or
from target to source).
A route can be complete if the sequence of steps leads to the target class or partial if it gives
just a part of the path from to source class to the target class. In this case, the route will be
completed by other routes starting from the last class reached by the steps and leading to the
target class.
Only complete routes can be bidirectional.
See also tag
LyStep
,
LyClassInfo
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Method Summary | |
---|---|
java.lang.String |
dump()
Returns a string representation of this object. |
java.util.Vector<LyStep> |
getSteps()
Accessor to the sequence of steps of this route. |
LyClassInfo |
getTarget()
Accessor to the target class of this route. |
void |
internalCheck(LyClassInfo source)
Internal method used only by LyObjectList class to check a route defined in a project before beeing used. |
boolean |
isBidirectional()
Indicates if this route is bidirectional or not. |
boolean |
isGenerated()
Return the generated state of the current route. |
boolean |
isHidden()
Indicates if this route is used for computing X-Refs or not. |
boolean |
isReverse()
Indicates if this route is reverse or not. |
Methods inherited from class leon.info.LyInfo |
---|
getAlias, getApplication, getFile, getId, getInclude, getName, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString |
Methods inherited from class leon.info.LyTag |
---|
clone, getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface leon.parser.LyCommentInterface |
---|
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart |
Field Detail |
---|
public static final java.lang.String __VERSION
Method Detail |
---|
public void internalCheck(LyClassInfo source)
source
- Source class a the route.public LyClassInfo getTarget()
public java.util.Vector<LyStep> getSteps()
public boolean isReverse()
public boolean isBidirectional()
public boolean isHidden()
public java.lang.String dump()
public boolean isGenerated()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |