leon.info.binding
Class LyBinding
java.lang.Object
leon.info.LyTag
leon.info.binding.LyBinding
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- LyClassBinding, LyFieldBinding
public class LyBinding
- extends LyTag
- implements java.lang.Cloneable
Container for the binding information found in the data description.
Field Summary |
static java.lang.String |
__VERSION
|
Constructor Summary |
LyBinding(java.lang.String binding)
Constructor. |
Method Summary |
java.lang.String |
getBinding()
Reads the binding information. |
boolean |
isDefaultBinding()
Checks if this binding is the default binding generated by leon or not. |
void |
setDefaultBinding(boolean defaultBinding)
Sets this binding as the default binding generated by leon or not. |
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 |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyBinding
public LyBinding(java.lang.String binding)
- Constructor.
- Parameters:
binding
- content of the binding information
getBinding
public java.lang.String getBinding()
- Reads the binding information. Generic or specific connection classes use the binding
information to fetch data from a data provider. For instance the binding info may be a CLASS
ID in a DBMS.
- Returns:
- the binding information.
setDefaultBinding
public void setDefaultBinding(boolean defaultBinding)
- Sets this binding as the default binding generated by leon or not.
- Parameters:
defaultBinding
- True if default binding, false otherwise.
isDefaultBinding
public boolean isDefaultBinding()
- Checks if this binding is the default binding generated by leon or not.
- Returns:
- True if default binding, false otherwise.
Website: W4 S.A., contact us: support@w4global.com