All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.script.comps.java.SCRJavaEventMethodInfo

java.lang.Object
   |
   +----com.ibm.beans.script.ide.SCRIDEClassInfo
           |
           +----com.ibm.beans.script.comps.java.SCRJavaEventMethodInfo

public class SCRJavaEventMethodInfo
extends SCRIDEClassInfo
This class stores special information for an event method. It stores the method name, modifier, return type, and parameters in string format. The infomation is used for generating the method prototype of the script.

See Also:
SCRIDEClassInfo

Variable Index

 o argNames
Indicates the method parameter names.
 o argTypes
Indicates the method parameter types.
 o modifier
Indicates the method modifier.
 o name
Indicates the method name.
 o returnType
Indicates the method return type.

Constructor Index

 o SCRJavaEventMethodInfo(String)
Constructor for SCRJavaEventMethodInfo.

Method Index

 o getArgNames()
Gets the method parameter nemaes.
 o getArgTypes()
Gets the method parameter types.
 o getJavaTitle(String)
Gets the method prototype for the script.
 o getModifier()
Gets the method modifier.
 o getName()
Gets the method name.
 o getReturnType()
Gets the method return type.
 o putArgNames(Vector)
Sets the method parameter names.
 o putArgTypes(Vector)
Sets the method parameter types.
 o putModifier(int)
Sets the method modifier.
 o putName(String)
Sets the method name.
 o putReturnType(String)
Sets the method return type.

Variables

 o modifier
 protected int modifier
Indicates the method modifier.

 o returnType
 protected String returnType
Indicates the method return type.

 o name
 protected String name
Indicates the method name.

 o argTypes
 protected Vector argTypes
Indicates the method parameter types.

 o argNames
 protected Vector argNames
Indicates the method parameter names.

Constructors

 o SCRJavaEventMethodInfo
 public SCRJavaEventMethodInfo(String title)
Constructor for SCRJavaEventMethodInfo.

Parameters:
title - The method prototype which is used by the constructor of the superclass.

Methods

 o getModifier
 public int getModifier()
Gets the method modifier.

Returns:
The method modifier.
 o getReturnType
 public String getReturnType()
Gets the method return type.

Returns:
The method return type in string format.
 o getName
 public String getName()
Gets the method name.

Returns:
The method name.
 o getArgNames
 public Vector getArgNames()
Gets the method parameter nemaes.

Returns:
The method parameters names.
 o getArgTypes
 public Vector getArgTypes()
Gets the method parameter types.

Returns:
The method parameter types.
 o putName
 public void putName(String name_str)
Sets the method name.

Parameters:
name_str - The method name.
 o putModifier
 public void putModifier(int modifier_int)
Sets the method modifier.

Parameters:
modifier_int - The method modifier.
 o putReturnType
 public void putReturnType(String return_type)
Sets the method return type.

Parameters:
return_type - The method return type.
 o putArgNames
 public void putArgNames(Vector arg_names)
Sets the method parameter names.

Parameters:
arg_names - The method parameter names.
 o putArgTypes
 public void putArgTypes(Vector arg_types)
Sets the method parameter types.

Parameters:
arg_types - The method parameter types in string format.
 o getJavaTitle
 public String getJavaTitle(String obj_name)
Gets the method prototype for the script.

Parameters:
obj_name - The Java object name.
Returns:
The Java method prototype.

All Packages  Class Hierarchy  This Package  Previous  Next  Index