|
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.daemon.LyInfoDaemon
leon.info.daemon.LyJoinDaemon
public final class LyJoinDaemon
This class holds informations for local multiple relations managed by a join class. This join is defined by a join class, a source relation and a target relation in the join class. The source relation must pointed to the class of the local relation managed by the join class. The target relation must pointed to the class(es) pointed by the local relation managed by the join class.
See also tag
LyJoinRelationDaemon
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyJoinDaemon()
Default constructor. |
|
LyJoinDaemon(LyClassInfo joinClass,
LyRelationFieldInfo sourceRelation,
LyRelationFieldInfo targetRelation)
Constructor with all parameters. |
Method Summary | |
---|---|
void |
addFieldBinding(LyFieldBinding fieldBinding)
To add a field binding definition to this daemon. |
void |
check(LyObjectInfo parent)
Final step of parsing : check consistency of the daemon. |
LyClassBinding |
getClassBinding()
Accessor to the class binding of this join. |
LyClassInfo |
getJoinClass()
Accessor to the join class of this join. |
LyFieldBinding |
getSourceBinding()
Accessor to the field binding of the source of this join. |
LyRelationFieldInfo |
getSourceRelation()
Accessor to the source relation of this join. |
LyFieldBinding |
getTargetBinding()
Accessor to the field binding of the targer of this join. |
LyRelationFieldInfo |
getTargetRelation()
Accessor to the target relation of this join. |
void |
setClassBinding(LyClassBinding classBinding)
Modifier of the class binding of this join. |
void |
setJoinClass(LyClassInfo joinClass)
Modifier of the join class of this join. |
void |
setSourceBinding(LyFieldBinding fieldBinding)
Modifier of the field binding of the source of this join. |
void |
setSourceRelation(LyRelationFieldInfo sourceRelation)
Modifier of the source relation of this join. |
void |
setTargetBinding(LyFieldBinding fieldBinding)
Modifier of the field binding of the target of this join. |
void |
setTargetRelation(LyRelationFieldInfo targetRelation)
Modifier of the target relation of this join. |
Methods inherited from class leon.info.LyTag |
---|
clone, getApplication, getCommentsEnd, getCommentsStart, getEnvironment, getId, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyJoinDaemon()
public LyJoinDaemon(LyClassInfo joinClass, LyRelationFieldInfo sourceRelation, LyRelationFieldInfo targetRelation)
Method Detail |
---|
public void check(LyObjectInfo parent)
check
in class LyInfoDaemon
parent
- Object info for which this daemon is checked.
java.lang.IllegalStateException
- If the source or target relation doesn't belong to join
class.public LyClassInfo getJoinClass()
public LyRelationFieldInfo getSourceRelation()
public LyRelationFieldInfo getTargetRelation()
public LyClassBinding getClassBinding()
public LyFieldBinding getSourceBinding()
public LyFieldBinding getTargetBinding()
public void setJoinClass(LyClassInfo joinClass)
joinClass
- The class info reprenting the join class.public void setSourceRelation(LyRelationFieldInfo sourceRelation)
sourceRelation
- The relation field info reprenting the source relation of this join.public void setTargetRelation(LyRelationFieldInfo targetRelation)
targetRelation
- The relation field info reprenting the target relation of this join.public void setClassBinding(LyClassBinding classBinding)
classBinding
- The class binding of this joinpublic void setSourceBinding(LyFieldBinding fieldBinding)
fieldBinding
- The field binding of the source of this joinpublic void setTargetBinding(LyFieldBinding fieldBinding)
fieldBinding
- The field binding of the target of this joinpublic void addFieldBinding(LyFieldBinding fieldBinding)
fieldBinding
- the field binding to add.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |