|
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
leon.info.LyPath
public class LyPath
This class defines a path.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyPath(java.lang.String id,
LyClassInfo target,
LyClassInfo classInfo,
LyFieldInfo fieldInfo)
Constructor of a path. |
|
LyPath(java.lang.String id,
LyClassInfo target,
LyClassInfo classInfo,
LyFieldInfo fieldInfo,
LyInfoLabel fieldLabel)
Constructor of a path. |
Method Summary | |
---|---|
void |
addStep(LyClassInfo target,
LyInfoList<LyFieldInfo> relations,
LyFilter filter,
boolean reverse)
Adds a step to this path. |
void |
check()
Check consistency of this path. |
LyInfoLabel |
getFieldLabel()
Gets label to use on target field. |
LyClassInfo |
getSourceClassInfo()
Gets source classInfo of the path. |
java.lang.String |
getString(LyClassInfo classInfo,
LyUnit unit)
Gets string corresponding to this path for the given class info. |
java.lang.String |
getString(LyObject object,
LyUnit unit)
Gets string corresponding to this path for the given object. |
LyFieldInfo |
getTargetFieldInfo()
Gets target fieldinfo of the path. |
Methods inherited from class leon.info.LyRoute |
---|
dump, getSteps, getTarget, internalCheck, isBidirectional, isGenerated, isHidden, isReverse |
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
Constructor Detail |
---|
public LyPath(java.lang.String id, LyClassInfo target, LyClassInfo classInfo, LyFieldInfo fieldInfo)
id
- Id of the path.target
- Target classinfo of the path.classInfo
- Source classinfo of the path.fieldinfo
- Target fieldinfo of the path.fieldLabel
- Label to use on target field.public LyPath(java.lang.String id, LyClassInfo target, LyClassInfo classInfo, LyFieldInfo fieldInfo, LyInfoLabel fieldLabel)
id
- Id of the path.target
- Target classinfo of the path.classInfo
- Source classinfo of the path.fieldinfo
- Target fieldinfo of the path.fieldLabel
- Label to use on target field.Method Detail |
---|
public void check()
public final LyFieldInfo getTargetFieldInfo()
public final LyClassInfo getSourceClassInfo()
public final LyInfoLabel getFieldLabel()
public java.lang.String getString(LyObject object, LyUnit unit)
public java.lang.String getString(LyClassInfo classInfo, LyUnit unit)
public void addStep(LyClassInfo target, LyInfoList<LyFieldInfo> relations, LyFilter filter, boolean reverse)
target
- Target class of the added step.relation
- List of relations for the added step.filter
- Filter of the added step (can be null)reverse
- Boolean indicating the direction of the added step.
java.lang.IllegalArgumentException
- If target parameter is null.
java.lang.IllegalArgumentException
- If relations parameter is null or if the list is empty.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |