Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.generator.model
Class RPGProcedure

java.lang.Object
  extended by com.ibm.etools.iseries.edit.generator.model.RPGProcedure

public class RPGProcedure
extends Object


Field Summary
static String Copyright
           
static int MPROC_IDX
           
static int PGM_IDX
           
static int SPROC_CL_IDX
           
static int SPROC_CN_IDX
           
static int SPROC_CW_IDX
           
static int SPROC_IDX
           
 
Constructor Summary
RPGProcedure(String name)
           
 
Method Summary
 Collection getParameterList()
           
 Vector getParmList()
           
 String getProcExternal()
           
 IQSYSMember getProcFile()
           
 String getProcName()
           
 String getProcPurpose()
           
 int getProcType()
           
 IQSYSMember getProtoFile()
           
 ProcedureReturnAttribute getReturnValue()
           
 boolean hasExternalName()
           
 boolean hasParameter()
           
 boolean isExportable()
           
 boolean isFreeForm()
           
 boolean isHasReturnValue()
           
 boolean isOpdesc()
           
 boolean isSerializable()
           
 void setExportable(boolean exportable)
           
 void setFreeForm(boolean freeform)
           
 void setHasReturnValue(boolean hasRV)
           
 void setOpdesc(boolean opdesc)
           
 void setParmList(Vector pList)
           
 void setProcExternal(String exName)
           
 void setProcFile(IQSYSMember member)
           
 void setProcName(String name)
           
 void setProcPurpose(String purpose)
           
 void setProcType(int type)
           
 void setProtoFile(IQSYSMember member)
           
 void setReturnValue(ProcedureReturnAttribute rValue)
           
 void setSerializable(boolean serializable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

PGM_IDX

public static final int PGM_IDX
See Also:
Constant Field Values

MPROC_IDX

public static final int MPROC_IDX
See Also:
Constant Field Values

SPROC_IDX

public static final int SPROC_IDX
See Also:
Constant Field Values

SPROC_CL_IDX

public static final int SPROC_CL_IDX
See Also:
Constant Field Values

SPROC_CW_IDX

public static final int SPROC_CW_IDX
See Also:
Constant Field Values

SPROC_CN_IDX

public static final int SPROC_CN_IDX
See Also:
Constant Field Values
Constructor Detail

RPGProcedure

public RPGProcedure(String name)
Method Detail

isHasReturnValue

public boolean isHasReturnValue()
Returns:
whether this procedure has a return value

isExportable

public boolean isExportable()
Returns:
whether this procedure is exportable

isSerializable

public boolean isSerializable()
Returns:
whether this procedure is serializable added in V6R1

getParameterList

public Collection getParameterList()
Returns:
the list of parameters of this procedure

hasParameter

public boolean hasParameter()
Returns:
if this procedure has parameter

hasExternalName

public boolean hasExternalName()
Returns:
if this procedure has external name

getProcExternal

public String getProcExternal()
Returns:
the external name of this procedure

getProcName

public String getProcName()
Returns:
the name of this procedure

getProcPurpose

public String getProcPurpose()
Returns:
the purpose text of this procedure

getReturnValue

public ProcedureReturnAttribute getReturnValue()
Returns:
the return value of this procedure

setHasReturnValue

public void setHasReturnValue(boolean hasRV)
Parameters:
hasRV - if this procedure has a return value

setExportable

public void setExportable(boolean exportable)
Parameters:
exportable - if this procedure is exportable

setSerializable

public void setSerializable(boolean serializable)
Parameters:
exportable - if this procedure is serializable

setParmList

public void setParmList(Vector pList)
Parameters:
pList - the parameter list of this procedure

setProcExternal

public void setProcExternal(String exName)
Parameters:
exName - the external name of this procedure

setProcName

public void setProcName(String name)
Parameters:
name - the name of this procedure

setProcPurpose

public void setProcPurpose(String purpose)
Parameters:
purpose - the purpose of this procedure

setReturnValue

public void setReturnValue(ProcedureReturnAttribute rValue)
Parameters:
rValue - the return value of this procedure

getProcFile

public IQSYSMember getProcFile()
Returns:

getProtoFile

public IQSYSMember getProtoFile()
Returns:

setProcFile

public void setProcFile(IQSYSMember member)
Parameters:
member -

setProtoFile

public void setProtoFile(IQSYSMember member)
Parameters:
member -

isFreeForm

public boolean isFreeForm()
Returns:

isOpdesc

public boolean isOpdesc()
Returns:

getParmList

public Vector getParmList()
Returns:

getProcType

public int getProcType()
Returns:

setFreeForm

public void setFreeForm(boolean freeform)
Parameters:
b -

setOpdesc

public void setOpdesc(boolean opdesc)
Parameters:
b -

setProcType

public void setProcType(int type)
Parameters:
i -

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.