|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.editor.generator.model.RPGCommon
com.ibm.etools.iseries.editor.generator.model.RPGFieldType
com.ibm.etools.iseries.editor.generator.model.Parameter
Field Summary | |
---|---|
protected boolean |
nullTerminatedString
|
protected boolean |
optionalNoPass
|
protected boolean |
optionalOmit
|
protected boolean |
passByConstantReference
|
protected boolean |
passByReference
|
protected boolean |
passByValue
|
protected boolean |
rightAdjustedString
|
protected boolean |
varSize
|
Fields inherited from class com.ibm.etools.iseries.editor.generator.model.RPGFieldType |
---|
array, arrayField, arraySize, ccsidNbr, className, Copyright, dataType, dateFormat, decimals, fmtString, from, isDecimalAllowed, isLengthAllowed, keywords, length, likeAnother, likeKeyword, otherField, packeven, procPointer, sample, separator, timeFormat, to, typeChar, typeIndex |
Fields inherited from class com.ibm.etools.iseries.editor.generator.model.RPGCommon |
---|
fieldName, purpose |
Fields inherited from interface com.ibm.etools.iseries.editor.generator.model.IDSpec |
---|
DATEFMT_DMY, DATEFMT_EUR, DATEFMT_ISO, DATEFMT_JIS, DATEFMT_JUL, DATEFMT_MDY, DATEFMT_NONE, DATEFMT_USA, DATEFMT_YMD, DT_AMPERSAND, DT_COLON, DT_COMMA, DT_DASH, DT_NONE, DT_PERIOD, DT_SLASH, INFDS_DB, INFDS_DSPF_ATTR, INFDS_DSPF_DEV, INFDS_FILE, INFDS_ICF_ATTR, INFDS_ICF_DEV, INFDS_IO, INFDS_OPEN, INFDS_PRTF, MSG_ERR_REQ_FIELD, RPGARRAYKWD_B, RPGARRAYKWD_F, RPGARRAYKWD_I, RPGARRAYKWD_L, RPGARRAYKWD_P, RPGARRAYKWD_R, RPGARRAYKWD_S, RPGARRAYKWD_U, RPGTYPE_A, RPGTYPE_AV, RPGTYPE_B, RPGTYPE_C, RPGTYPE_CV, RPGTYPE_D, RPGTYPE_F, RPGTYPE_G, RPGTYPE_GV, RPGTYPE_I, RPGTYPE_I2, RPGTYPE_N, RPGTYPE_P, RPGTYPE_S, RPGTYPE_STAR, RPGTYPE_T, RPGTYPE_U, RPGTYPE_U2, RPGTYPE_Z, TIMEFMT_EUR, TIMEFMT_HMS, TIMEFMT_ISO, TIMEFMT_JIS, TIMEFMT_NONE, TIMEFMT_USA |
Constructor Summary | |
---|---|
Parameter()
|
Method Summary | |
---|---|
boolean |
isNullTerminatedString()
|
boolean |
isOptionalNoPass()
|
boolean |
isOptionalOmit()
|
boolean |
isPassByConstantReference()
|
boolean |
isPassByReference()
|
boolean |
isPassByValue()
|
boolean |
isRightAdjustedString()
|
boolean |
isVarSize()
|
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 |
setPassByConstantReference()
Sets this parameter to pass by Constant Reference. |
void |
setPassByReference()
Sets this parameter to pass by Reference. |
void |
setPassByValue()
Sets this parameter to pass by Value. |
void |
setRightAdjustedString(boolean b)
Sets whether character or graphic fields will be right adjusted when passed (*RIGHTADJ) |
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.editor.generator.model.RPGFieldType |
---|
createNewArray, getArray, getArraySize, getCcsidNbr, getClassName, getDataType, getDateFormat, getDecimals, getFieldTypeKeywords, getFmtString, getFrom, getKeywords, getLength, getLikeKeyword, getOtherField, getSample, getSeparator, getTimeFormat, getTo, getTypeChar, getTypeIndex, isArray, isDecimalAllowed, isLengthAllowed, isLikeAnother, isPackeven, isProcPointer, setArray, setArraySize, setCcsidNbr, setClassName, setDataType, setDateFormat, setDecimalAllowed, setDecimals, setFmtString, setFrom, setKeywords, setLength, setLengthAllowed, setLikeAnother, setLikeKeyword, setOtherField, setPackeven, setProcPointer, setSample, setSeparator, setTimeFormat, setTo, setTypeChar, setTypeIndex |
Methods inherited from class com.ibm.etools.iseries.editor.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 |
protected boolean passByReference
protected boolean passByValue
protected boolean passByConstantReference
protected boolean optionalNoPass
protected boolean optionalOmit
protected boolean varSize
protected boolean nullTerminatedString
protected boolean rightAdjustedString
Constructor Detail |
public Parameter()
Method Detail |
public boolean isNullTerminatedString()
setNullTerminatedString(boolean)
public boolean isOptionalNoPass()
setOptionalNoPass(boolean)
public boolean isOptionalOmit()
setOptionalOmit(boolean)
public boolean isPassByConstantReference()
setPassByConstantReference()
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 setPassByConstantReference()
isPassByConstantReference()
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()
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |