|
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.peer.LyPeerClass
leon.peer.util.LyTableClass
public class LyTableClass
This class is a simple peer class implementation that uses LyRowObject as wrapper for instances.
LyRowObject
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.peer.LyPeerClass |
---|
VALUE_NOT_LOADED |
Constructor Summary | |
---|---|
LyTableClass()
Constructs a table class. |
Method Summary | |
---|---|
LyValueSet |
copy(java.lang.Object object1,
java.lang.Object object2)
Copies all field values of an instance of this class on another instance. |
LyValueSet |
getValues(java.lang.Object object)
Gets all field values from an "instance" of this class. |
java.lang.Object |
newInstance()
Creates a new instance of this class : creates a LyRowObject. |
void |
rehash(java.lang.Object object)
Recompute the object id of the specified object. |
LyValueSet |
validate(java.lang.Object object,
LyValueSet values)
To validate the new values (already known) and add new extra values. |
Methods inherited from class leon.peer.LyPeerClass |
---|
addField, addIdField, dump, getDataSource, getField, getField, getFieldCount, getFields, getId, getIdFields, getIndex, getName, getObjectClass, getObjectId, getObjectIdNoCache, getValue, removeField, setDataSource, setId, setName, setValue, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyTableClass()
Method Detail |
---|
public LyValueSet validate(java.lang.Object object, LyValueSet values)
validate
in class LyPeerClass
object
- Instance of this class. This object is an instance of LyRowObject.values
- Validated values.
LyRowObject.validate(leon.data.LyValueSet)
public LyValueSet getValues(java.lang.Object object)
getValues
in interface LyClass
getValues
in class LyPeerClass
object
- Instance of this class. This object is an instance of LyRowObject.
LyRowObject.getValues()
public java.lang.Object newInstance() throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
- If an application tries to instantiate an abstract class or
an interface, or if the instantiation fails for some other
reason.
java.lang.IllegalAccessException
- If the class or initializer is not accessible.LyRowObject.LyRowObject(LyTableClass)
public void rehash(java.lang.Object object)
object
- object to rehashpublic LyValueSet copy(java.lang.Object object1, java.lang.Object object2)
copy
in interface LyClass
copy
in class LyPeerClass
object1
- Object on which values are copied.object2
- Object from which values are get.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |