|
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.binding.LyBinding
leon.info.binding.LyClassBinding
leon.info.binding.LyUnionBinding
public class LyUnionBinding
Container for the binding information found in the data description for classInfo.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyUnionBinding()
Constructor. |
|
LyUnionBinding(boolean strict)
Constructor. |
Method Summary | |
---|---|
void |
addClassBinding(LyClassBinding classBinding)
Add a class binding |
void |
addUnion(LyUnion union)
Add an union to this binding. |
void |
clearUnionList()
Clear all union. |
boolean |
equals(LyUnionBinding o)
Compare current object with another. |
boolean |
equals(java.lang.Object o)
Compare current object with another. |
java.util.List<java.lang.String> |
getAllBindings()
Find all bindings (class bindings) for this union binding. |
LyClassBinding |
getClassBinding1()
Method to get the class binding of class 1 |
LyClassBinding |
getClassBinding2()
Method to get the class binding of class 2 |
LyFilter |
getFilter()
Return union filter |
LyField |
getPeerField(LyFieldInfo fieldInfo)
Accessor to the peer field related to a given field info. |
LyField[] |
getPeerFields(LyFieldInfo fieldInfo)
Accessor to the peer fields related to a given field info. |
LyUnion |
getUnion(int index)
Return the union at the given index. |
int |
getUnionCount()
Return the number of union fields pair |
java.util.Vector<LyUnion> |
getUnions()
Return the unions list of this binding. |
java.lang.String |
getValue1(int index)
Return the union field of class 1 for the given index |
java.lang.String |
getValue2(int index)
Return the union field of class 1 for the given index |
int |
getValueCount()
Deprecated. Use getUnionCount |
java.util.Vector<java.lang.String> |
getValues1()
Return all union fields of class 1 |
java.util.Vector<java.lang.String> |
getValues2()
Return all union fields of class 2 |
boolean |
isStrict()
Checks if the union is strict or not. |
void |
setValues(java.lang.String value1,
java.lang.String value2)
Deprecated. Use addUnion |
Methods inherited from class leon.info.binding.LyClassBinding |
---|
addPeerField, addPeerFields, check, getFieldBinding, getLocation, getPeerClass, removePeerField, setFilter, setPeerClass |
Methods inherited from class leon.info.binding.LyBinding |
---|
getBinding, isDefaultBinding, setDefaultBinding |
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 |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyUnionBinding()
public LyUnionBinding(boolean strict)
Method Detail |
---|
public LyClassBinding getClassBinding1()
public LyClassBinding getClassBinding2()
public LyFilter getFilter()
getFilter
in class LyClassBinding
public java.lang.String getValue1(int index)
index
- index of field
public java.lang.String getValue2(int index)
index
- index of field
public java.util.Vector<java.lang.String> getValues1()
public java.util.Vector<java.lang.String> getValues2()
public void addClassBinding(LyClassBinding classBinding)
classBinding
- class binding to addpublic void addUnion(LyUnion union)
public void clearUnionList()
public void setValues(java.lang.String value1, java.lang.String value2)
public java.util.Vector<LyUnion> getUnions()
public LyUnion getUnion(int index)
public int getUnionCount()
public int getValueCount()
public LyField getPeerField(LyFieldInfo fieldInfo)
getPeerField
in class LyClassBinding
fieldInfo
- the reference of a field info.
public LyField[] getPeerFields(LyFieldInfo fieldInfo)
getPeerFields
in class LyClassBinding
fieldInfo
- the reference of a field info.
public boolean equals(java.lang.Object o)
equals
in class LyClassBinding
o
- object to comparepublic boolean equals(LyUnionBinding o)
o
- object to comparepublic java.util.List<java.lang.String> getAllBindings()
public final boolean isStrict()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |