|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.altair.hwm.beans.hm.HMTCLProcInfo
public class HMTCLProcInfo
Title: HMTCLProcInfo
Description: The TCL procedures are stored as a Hashtable of procedure name to the procedure definition(stored as a string) in this class which also contains the main proc name
Company: Altair Engineering Inc.
| Field Summary | |
|---|---|
static java.lang.String |
VERSION
The version ID for this component |
| Constructor Summary | |
|---|---|
HMTCLProcInfo()
|
|
| Method Summary | |
|---|---|
void |
AddProcDefinition(java.lang.String[] arrstrProcDefn)
Sets the procedure's defn as an array of 3 strings index 0 is the name of the procedure index 1 is the ',' separated arguments of the procedure index 2 is the rest of the procedure's body |
java.lang.String |
GetMainProcName()
Gets the main proc's name |
java.lang.String[] |
GetProcDefinition(java.lang.String strProcName)
Gets the procedure's defn |
java.util.Hashtable |
GetProcedures()
Returns all the proc definitions as a Hashtable from proc name to its definition |
void |
readExternal(java.io.ObjectInput objInput)
Loads the data for this bean |
void |
RemoveProcDefinition(java.lang.String strProcName)
Remove the procedure's defn |
void |
SetMainProcName(java.lang.String strMainProcName)
Sets the main proc's name |
void |
SetProcedures(java.util.Hashtable hashtableProcDefns)
Sets all the proc definitions as a Hashtable from proc name to its definition |
void |
writeExternal(java.io.ObjectOutput objOutput)
Saves the data for this bean |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VERSION
| Constructor Detail |
|---|
public HMTCLProcInfo()
| Method Detail |
|---|
public void AddProcDefinition(java.lang.String[] arrstrProcDefn)
throws java.lang.Exception
arrstrProcDefn - The array of 3 strings defining the procedure
java.lang.Exceptionpublic void RemoveProcDefinition(java.lang.String strProcName)
strName - The name of the procedure to remove from the table
of procedurespublic java.lang.String[] GetProcDefinition(java.lang.String strProcName)
strName - The name of the procedure to retrieve from the
table of procedures
public void SetMainProcName(java.lang.String strMainProcName)
strMainProc - The main procedure's namepublic java.lang.String GetMainProcName()
public java.util.Hashtable GetProcedures()
public void SetProcedures(java.util.Hashtable hashtableProcDefns)
hashtableProcDefns - Maps proc's name to its definition
public void writeExternal(java.io.ObjectOutput objOutput)
throws java.io.IOException
writeExternal in interface java.io.ExternalizableobjOutput - The ObjectOutput stream used to save data
java.io.IOException
public void readExternal(java.io.ObjectInput objInput)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizableobjInput - The ObjectInput stream used to load data
IOException, - ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||