Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.generator.model.RPGCommon
Direct Known Subclasses:
RPGDSpec, RPGFieldType, RPGProcedureParameter

public class RPGCommon
extends Object


Field Summary
protected  String fieldName
           
protected  String purpose
           
 
Constructor Summary
RPGCommon()
           
RPGCommon(String name)
           
 
Method Summary
 Vector getMessages()
           
 String getName()
           
 String getPurpose()
           
 boolean isValid()
           
 void setFieldName(String name)
          Sets the name of the field.
 void setPurpose(String string)
          Sets the purpose of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldName

protected String fieldName

purpose

protected String purpose
Constructor Detail

RPGCommon

public RPGCommon()

RPGCommon

public RPGCommon(String name)
Method Detail

getName

public String getName()
Returns:
The name of the field.
See Also:
setFieldName(String)

getPurpose

public String getPurpose()
Returns:
The purpose of the field.
See Also:
setPurpose(String)

setFieldName

public void setFieldName(String name)
Sets the name of the field.

Parameters:
name - the name of the field
See Also:
#getFieldName()

setPurpose

public void setPurpose(String string)
Sets the purpose of the field.

Parameters:
string - the purpose of the field
See Also:
getPurpose()

isValid

public boolean isValid()
Returns:
Whether or not the object contains required fields

getMessages

public Vector getMessages()
Returns:
Any validation messages, if the object is invalid.

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.