Rational Developer for Power Systems Software
V7.6

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

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

public class RPGDSpecKeywords
extends Object


Field Summary
static String copyright
           
 
Constructor Summary
RPGDSpecKeywords()
           
RPGDSpecKeywords(RPGDSpecArrayKeywords array, RPGDSpecDSOtherKeywords other, RPGDSpecSubfieldKeywords subfield)
           
 
Method Summary
protected  SystemMessage doAdditionCheck()
           
 RPGDSpecArrayKeywords getArrayKeywords()
           
 RPGDSpecDSOtherKeywords getDsOtherKeywords()
           
 RPGFieldType getField()
           
 Vector getKeywords()
           
 RPGDSpecOtherKeywords getOtherKeywords()
           
 RPGDSpecSubfieldKeywords getSubfieldKeywords()
           
 boolean isBased()
           
 boolean isDads()
           
 boolean isExternal()
           
 boolean isExtFld()
           
 boolean isPsds()
           
 void setArrayKeywords(RPGDSpecArrayKeywords keywords)
           
 void setBased(boolean b)
           
 void setDads(boolean b)
           
 void setDsOtherKeywords(RPGDSpecDSOtherKeywords keywords)
           
 void setDSOtherKeywords(RPGDSpecDSOtherKeywords keywords)
           
 void setExternal(boolean b)
           
 void setExtFld(boolean b)
           
 void setField(RPGFieldType type)
           
 void setKeywords(Vector vector)
           
 void setOtherKeywords(RPGDSpecOtherKeywords keywords)
           
 void setPsds(boolean b)
           
 void setSpecialChars(String specialChars)
           
 void setSubfieldKeywords(RPGDSpecSubfieldKeywords keywords)
           
 SystemMessage validateKeyword()
          Validate the keyword according to the field type of subfield and the type of the data structure.
 SystemMessage validateNullField()
           
 SystemMessage validateWithField()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

RPGDSpecKeywords

public RPGDSpecKeywords()

RPGDSpecKeywords

public RPGDSpecKeywords(RPGDSpecArrayKeywords array,
                        RPGDSpecDSOtherKeywords other,
                        RPGDSpecSubfieldKeywords subfield)
Method Detail

getArrayKeywords

public RPGDSpecArrayKeywords getArrayKeywords()
Returns:

getOtherKeywords

public RPGDSpecOtherKeywords getOtherKeywords()
Returns:

getSubfieldKeywords

public RPGDSpecSubfieldKeywords getSubfieldKeywords()
Returns:

setArrayKeywords

public void setArrayKeywords(RPGDSpecArrayKeywords keywords)
Parameters:
keywords -

setDSOtherKeywords

public void setDSOtherKeywords(RPGDSpecDSOtherKeywords keywords)
Parameters:
keywords -

setSubfieldKeywords

public void setSubfieldKeywords(RPGDSpecSubfieldKeywords keywords)
Parameters:
keywords -

getKeywords

public Vector getKeywords()
Returns:

setKeywords

public void setKeywords(Vector vector)
Parameters:
vector -

getDsOtherKeywords

public RPGDSpecDSOtherKeywords getDsOtherKeywords()
Returns:

setDsOtherKeywords

public void setDsOtherKeywords(RPGDSpecDSOtherKeywords keywords)
Parameters:
keywords -

setOtherKeywords

public void setOtherKeywords(RPGDSpecOtherKeywords keywords)
Parameters:
keywords -

isBased

public boolean isBased()
Returns:

isDads

public boolean isDads()
Returns:

getField

public RPGFieldType getField()
Returns:

isPsds

public boolean isPsds()
Returns:

setBased

public void setBased(boolean b)
Parameters:
b -

setDads

public void setDads(boolean b)
Parameters:
b -

setField

public void setField(RPGFieldType type)
Parameters:
type -

setPsds

public void setPsds(boolean b)
Parameters:
b -

validateKeyword

public SystemMessage validateKeyword()
Validate the keyword according to the field type of subfield and the type of the data structure. No additional validation if the field type is not defined.

Returns:
the error message generated by the validation, null if no error.

validateNullField

public SystemMessage validateNullField()

validateWithField

public SystemMessage validateWithField()

doAdditionCheck

protected SystemMessage doAdditionCheck()

isExternal

public boolean isExternal()
Returns:

isExtFld

public boolean isExtFld()
Returns:

setExternal

public void setExternal(boolean b)
Parameters:
b -

setExtFld

public void setExtFld(boolean b)
Parameters:
b -

setSpecialChars

public void setSpecialChars(String specialChars)

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.