|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.generator.model.RPGCommon com.ibm.etools.iseries.edit.generator.model.RPGProcedureParameter
public class RPGProcedureParameter
Field Summary | |
---|---|
static String |
Copyright
|
protected RPGFieldType |
fieldType
|
protected Vector |
keywords
|
protected boolean |
nullind
|
protected boolean |
nullTerminatedString
|
protected boolean |
optionalNoPass
|
protected boolean |
optionalOmit
|
protected boolean |
passByReference
|
protected boolean |
passByValue
|
protected boolean |
rightAdjustedString
|
protected boolean |
trim
|
protected boolean |
varSize
|
Fields inherited from class com.ibm.etools.iseries.edit.generator.model.RPGCommon |
---|
fieldName, purpose |
Constructor Summary | |
---|---|
RPGProcedureParameter()
|
Method Summary | |
---|---|
RPGFieldType |
getFieldType()
|
Vector |
getKeywords()
|
boolean |
isNullind()
|
boolean |
isNullTerminatedString()
|
boolean |
isOptionalNoPass()
|
boolean |
isOptionalOmit()
|
boolean |
isPassByReference()
|
boolean |
isPassByValue()
|
boolean |
isRightAdjustedString()
|
boolean |
isTrim()
|
boolean |
isVarSize()
|
void |
setFieldType(RPGFieldType type)
|
void |
setKeywords(Vector vector)
|
void |
setNullind(boolean b)
|
void |
setNullTerminatedString(boolean b)
Sets whether non-reference pointer parameters are null terminated (*STRING); useful when passing actual character literals. |
void |
setOptionalNoPass(boolean b)
Sets whether the caller can choose not to pass anything for optional parameters that are not needed (*NOPASS). |
void |
setOptionalOmit(boolean b)
Sets whether the caller must specify *OMIT for non-supplied parameter values. |
void |
setPassByReference()
Sets this parameter to pass by Reference. |
void |
setPassByReference(boolean b)
|
void |
setPassByValue()
Sets this parameter to pass by Value. |
void |
setPassByValue(boolean b)
|
void |
setRightAdjustedString(boolean b)
Sets whether character or graphic fields will be right adjusted when passed (*RIGHTADJ) |
void |
setTrim(boolean b)
|
void |
setVarSize(boolean b)
Sets whether arrays or character fields allow various actual lengths to be passed (*VARSIZE) |
Methods inherited from class com.ibm.etools.iseries.edit.generator.model.RPGCommon |
---|
getMessages, getName, getPurpose, isValid, setFieldName, setPurpose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
protected RPGFieldType fieldType
protected Vector keywords
protected boolean passByReference
protected boolean passByValue
protected boolean optionalNoPass
protected boolean optionalOmit
protected boolean varSize
protected boolean nullTerminatedString
protected boolean rightAdjustedString
protected boolean trim
protected boolean nullind
Constructor Detail |
---|
public RPGProcedureParameter()
Method Detail |
---|
public boolean isNullTerminatedString()
setNullTerminatedString(boolean)
public boolean isOptionalNoPass()
setOptionalNoPass(boolean)
public boolean isOptionalOmit()
setOptionalOmit(boolean)
public boolean isPassByReference()
setPassByReference()
public boolean isPassByValue()
setPassByValue()
public boolean isRightAdjustedString()
setRightAdjustedString(boolean)
public boolean isVarSize()
setVarSize(boolean)
public void setNullTerminatedString(boolean b)
b
- is true if and only if non-reference pointer
parameters are null-terminated.isNullTerminatedString()
public void setOptionalNoPass(boolean b)
b
- is true if and only if the caller can choose
not to pass anything for optional parametersisOptionalNoPass()
public void setOptionalOmit(boolean b)
b
- is true if and only if the caller must
specify *OMITisOptionalOmit()
public void setPassByReference()
isPassByReference()
public void setPassByValue()
isPassByValue()
public void setRightAdjustedString(boolean b)
b
- is true if and only if fields of the appropriate
type will be right adjusted when passedisRightAdjustedString()
public void setVarSize(boolean b)
b
- is true if and only if arrays and char fields allow
actual lengths to be passedisVarSize()
public RPGFieldType getFieldType()
public void setFieldType(RPGFieldType type)
type
- public Vector getKeywords()
public void setKeywords(Vector vector)
vector
- public void setPassByReference(boolean b)
b
- public void setPassByValue(boolean b)
b
- public boolean isTrim()
public void setTrim(boolean b)
b
- public void setNullind(boolean b)
b
- V5R4 additionpublic boolean isNullind()
b
- V5R4 addition
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |