com.ibm.etools.iseries.edit.generator.model
Class JMCRPGParameter
java.lang.Object
com.ibm.etools.iseries.edit.generator.model.JMCRPGParameter
public class JMCRPGParameter
- extends Object
An entry in the a table of parameters
DEFAULT_GENERATE
public static final boolean DEFAULT_GENERATE
- See Also:
- Constant Field Values
JMCRPGParameter
public JMCRPGParameter(Class javaClass,
String name)
getJavaType
public Class getJavaType()
getRPGFieldName
public String getRPGFieldName()
getRPGType
public int getRPGType()
getJMCRPGType
public JMCRPGType getJMCRPGType()
genRPGTypeCode
public String genRPGTypeCode()
- shorthand for calling JMCRPGType.getRpgCode()
- Returns:
genKeywords
public Collection genKeywords()
getLength
public int getLength()
setRPGFieldName
public void setRPGFieldName(String string)
setRPGType
public void setRPGType(int i)
setLength
public void setLength(int i)
isValue
public boolean isValue()
isConst
public boolean isConst()
setConst
public void setConst(boolean b)
isGenerate
public boolean isGenerate()
- Returns:
setGenerate
public void setGenerate(boolean b)
- Parameters:
b
-
canAddOPTIONSVARSIZEKeyword
public boolean canAddOPTIONSVARSIZEKeyword()
- Is the OPTIONS(*VARSIZE) keyword allowed with this parm
- Parameters:
type
- 66109A
toString
public String toString()
- Overrides:
toString
in class Object
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.