com.ibm.etools.iseries.edit.generator.model
Class RPGProcedure
java.lang.Object
com.ibm.etools.iseries.edit.generator.model.RPGProcedure
public class RPGProcedure
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
RPGProcedure
public RPGProcedure(String name)
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
-
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.