leon.info.binding
Class LyFieldsBinding
java.lang.Object
leon.info.LyTag
leon.info.binding.LyBinding
leon.info.binding.LyFieldBinding
leon.info.binding.LyFieldsBinding
- All Implemented Interfaces:
- java.lang.Cloneable
public final class LyFieldsBinding
- extends LyFieldBinding
Container for the binding information found in the data description for fieldInfo.
Field Summary |
static java.lang.String |
__VERSION
|
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
LyFieldsBinding
public LyFieldsBinding()
- Constructor.
getFieldBinding
public LyFieldBinding getFieldBinding(int index)
- Returns the field binding at the given index.
getFieldBindingCount
public int getFieldBindingCount()
- Returns the number of field bindings.
getFieldBindings
public java.util.Vector<LyFieldBinding> getFieldBindings()
- Gets the list of field bindings.
- Returns:
- the vector of all the field bindings. This is a copy of the internal vector that
contains these field bindings.
addFieldBinding
public void addFieldBinding(LyFieldBinding fieldBinding)
- Sets the fields corresponding to this binding.
encodeValues
public java.lang.Object[] encodeValues(LyFieldInfo fieldInfo,
java.lang.Object value,
java.lang.Class<?>[] objectClasses)
- Returns a table of objects for the given classes from a value of the given fieldInfo.
The purpose of this method is to support transformations from logical to physical representation
when multiple bindings are used.
- Parameters:
value
- Value of this fieldInfo. This value is an instance of the class
returned by getValueClass method.objectClasses
- Expected classes of the physical values..
Website: W4 S.A., contact us: support@w4global.com