|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cvm.model.Macro
public class Macro
This class encapsulates all the data specific to any macro. This object simplifies the transfer of information across subsystems dealing with macros.
Constructor Summary | |
---|---|
Macro()
|
Method Summary | |
---|---|
java.lang.String |
getName()
This method returns the name of the macro |
java.util.ArrayList |
getParamNameList()
This method returns a list containing the name of the parameters inside a macro. |
java.util.ArrayList |
getParamTypeList()
This method returns a list containing the types of all the parameters in a macro. |
java.lang.String |
getReturnType()
This method returns the return type of a macro. |
java.lang.String |
getScript()
This function returns a string representation of a script. |
java.util.ArrayList |
getThrownExceptions()
Returns the list of thrown exceptions. |
void |
setName(java.lang.String name)
This sets the name of the macro. |
void |
setParamNameList(java.util.ArrayList paramNameList)
This method sets the list of parameter names. |
void |
setParamTypeList(java.util.ArrayList paramTypeList)
This method set the list of parameters types of a macro. |
void |
setReturnType(java.lang.String returnType)
This method sets the return type of a macro. |
void |
setScript(java.lang.String script)
Sets the execution section of a macro. |
void |
setThrownExceptions(java.util.ArrayList thrownExceptions)
Assignes the list of thrown excpetions. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Macro()
Method Detail |
---|
public java.util.ArrayList getParamNameList()
public void setParamNameList(java.util.ArrayList paramNameList)
paramNameList
- public java.util.ArrayList getParamTypeList()
public void setParamTypeList(java.util.ArrayList paramTypeList)
paramTypeList
- public java.lang.String getScript()
public void setScript(java.lang.String script)
script
- public java.lang.String getReturnType()
public void setReturnType(java.lang.String returnType)
returnType
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- public void setThrownExceptions(java.util.ArrayList thrownExceptions)
thrownExceptions
- public java.util.ArrayList getThrownExceptions()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |