Rational Developer for Power Systems Software
V7.6

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

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

public class JMCRPGParameter
extends Object

An entry in the a table of parameters


Field Summary
static boolean DEFAULT_GENERATE
           
 
Constructor Summary
JMCRPGParameter(Class javaClass, String name)
           
 
Method Summary
 boolean canAddOPTIONSVARSIZEKeyword()
          Is the OPTIONS(*VARSIZE) keyword allowed with this parm
 Collection genKeywords()
           
 String genRPGTypeCode()
          shorthand for calling JMCRPGType.getRpgCode()
 Class getJavaType()
           
 JMCRPGType getJMCRPGType()
           
 int getLength()
           
 String getRPGFieldName()
           
 int getRPGType()
           
 boolean isConst()
           
 boolean isGenerate()
           
 boolean isValue()
           
 void setConst(boolean b)
           
 void setGenerate(boolean b)
           
 void setLength(int i)
           
 void setRPGFieldName(String string)
           
 void setRPGType(int i)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_GENERATE

public static final boolean DEFAULT_GENERATE
See Also:
Constant Field Values
Constructor Detail

JMCRPGParameter

public JMCRPGParameter(Class javaClass,
                       String name)
Method Detail

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

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.