LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.union
Class LyUnionObject

java.lang.Object
  extended by leon.peer.union.LyUnionObject

public class LyUnionObject
extends java.lang.Object

This class implements instances of LyUnionClass.


Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyUnionObject(LyUnionClass unionClass)
          Constructs a new object for the given class.
LyUnionObject(LyUnionClass unionClass, java.lang.Object object1, java.lang.Object object2)
          Constructs a new object for the given class with two given sub-objects.
 
Method Summary
 java.lang.Object getObject1()
           
 java.lang.Object getObject2()
           
 LyUnionClass getUnionClass()
           
 java.lang.Object getValue(LyField field)
          Gets value for the specified column field.
 LyValueSet getValues()
          Gets all values of this object.
 void setValue(LyField field, java.lang.Object value)
          Sets value of the specified column field.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyUnionObject

public LyUnionObject(LyUnionClass unionClass)
Constructs a new object for the given class.

Parameters:
unionClass - Union class to which this object belongs to.

LyUnionObject

public LyUnionObject(LyUnionClass unionClass,
                     java.lang.Object object1,
                     java.lang.Object object2)
Constructs a new object for the given class with two given sub-objects.

Parameters:
unionClass - Union class to which this object belongs to.
object1 - the first sub-object
object2 - the second sub-object
Method Detail

getUnionClass

public LyUnionClass getUnionClass()

getObject1

public java.lang.Object getObject1()

getObject2

public java.lang.Object getObject2()

getValue

public java.lang.Object getValue(LyField field)
Gets value for the specified column field.

Parameters:
columnField - Column field for which a value is set on this object.
Returns:
Value corresponding to this field.

setValue

public void setValue(LyField field,
                     java.lang.Object value)
Sets value of the specified column field.

Parameters:
columnField - Column field for which a value is set on this object.
value - Value corresponding to this field.

getValues

public LyValueSet getValues()
Gets all values of this object.

Returns:
Values set corresponding to all column fields for this object.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com