|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.pdmfc.tea.tos.STosTeaObj
public class STosTeaObj
| Constructor Summary | |
|---|---|
STosTeaObj()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
exec(SObjFunction obj,
SContext context,
java.lang.Object[] args)
This is the dispatch method. |
SContext |
getMembers(int level)
Fetches the members for this TOS object corresponding to a given TOS class in the TOS object class hierarchy. |
STosClass |
getTosClass()
Retrieves the class object this TOS object is an instance of. |
void |
init(STosClass tosClass,
SContext context,
java.lang.Object[] constructorArgs)
Initializes the object internal state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STosTeaObj()
throws STeaException
STeaException| Method Detail |
|---|
public void init(STosClass tosClass,
SContext context,
java.lang.Object[] constructorArgs)
throws STeaException
STosObj
init in interface STosObjtosClass - The TOS class the TOS object belong to.context - The context where the TOS object is being
instantiated.constructorArgs - The arguments to pass the constructor of
this TOS object.
STeaExceptionpublic SContext getMembers(int level)
STosObjSContext has no parent.
getMembers in interface STosObjlevel - Identifies the TOS class in the TOS object class
hierarchy of this TOS object. A value of zero means the root class
in the hierarchy.
public STosClass getTosClass()
getTosClass in interface STosObjSTosClass object this TOS object
is an instance of.
public java.lang.Object exec(SObjFunction obj,
SContext context,
java.lang.Object[] args)
throws STeaException
A TOS method is implemented by an STosMethod object.
exec in interface SObjFunctioncontext - The context inside which this command was invoked.args - The array of arguments passed to the command.obj - The SObjFunction that led to call this function. Most of the
time is the same as the this object.
com.pdmfc.tea.runtime.STException - Only thrown by the execution of the method.
STeaException - Thrown if there were problems executing the command.
|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||