|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface STosClass
Instances of this interface represent TOS classes.
| Field Summary | |
|---|---|
static SObjSymbol |
CONSTRUCTOR_NAME
|
| Method Summary | |
|---|---|
void |
addMethod(SObjSymbol methodName,
STosMethod method)
|
STosMethod |
getConstructor()
Fetches the constructor method for this TOS class. |
SObjSymbol[] |
getMemberNames()
Fetches the member names for this class. |
STosMethod |
getMethod(SObjSymbol methodName)
Retrieves the STosMethod corresponding to the
specified method for this TOS class. |
java.util.Iterator |
getMethods()
Fetches all the methods this TOS class implements. |
java.lang.String |
getName()
Fetches the name associated with this TOS class. |
STosClass |
getSuperClass()
Retrieves the TOS base class of this TOS class. |
STosObj |
newInstance(SContext context,
java.lang.Object[] args)
Creates a new instance of an object of this TOS class. |
void |
setConstructor(STosMethod method)
Specifies the constructor for this TOS class. |
| Field Detail |
|---|
static final SObjSymbol CONSTRUCTOR_NAME
| Method Detail |
|---|
STosClass getSuperClass()
STosClass object representing the TOS base
class of this TOS class. If it is null it means it has
no base class.SObjSymbol[] getMemberNames()
void setConstructor(STosMethod method)
method - A reference to the STosMethod object
that implements this TOS class constructor.STosMethod getConstructor()
STosMethod object corresponding to
the constructor method for this TOS class. The null object is
returned if this TOS class has no constructor.
void addMethod(SObjSymbol methodName,
STosMethod method)
STosMethod getMethod(SObjSymbol methodName)
throws SNoSuchMethodException
STosMethod corresponding to the
specified method for this TOS class. The method is looked for in
this TOS class and in its base classes.
STosMethod object that
implements the specified method.
com.pdmfc.tea.modules.tos.STosNoSuchMethodException - Thrown if the method had not been defined for this TOS class or in
any of the base classes.
SNoSuchMethodExceptionjava.util.Iterator getMethods()
java.util.Iterator containing the all the
STosMethods associated with this TOS class.
STosObj newInstance(SContext context,
java.lang.Object[] args)
throws STeaException
STosObj object, representing a new
instance of this TOS class.
STeaException - Throw if there were any
problems instantiating the new object.java.lang.String getName()
|
Tea Java Runtime API Version 3.2.4 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||