Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.verifiers.comm.bridge
Class EDCODEStruct

java.lang.Object
  extended by com.ibm.etools.iseries.edit.verifiers.comm.bridge.EDCODEStruct

public class EDCODEStruct
extends Object

This class corresponds to the CODE comm EDCODE struct defined in evfcsys.h typedef struct _EDCODE { CHAR codeId; // Code identifier CHAR leading[32]; // Leading static field CHAR integer[32]; // Integer part of edit word CHAR decimalSeparator; // Decimal pointer separator CHAR decimalWord[32]; // Decimal part of edit word CHAR zeroChar1; // Zero suppressed character CHAR positive[32]; // Positive right static field CHAR negative[32]; // Negative right static field CHAR trailing[32]; // Trailing static field CHAR zeroChar2; // Zero suppressed character CHAR floating[16]; // Floating string } EDCODE; // User defined edit code


Field Summary
static String copyright
           
 
Constructor Summary
EDCODEStruct(IISeriesEditDescription editd)
          Constructor for EDCODEStruct.
 
Method Summary
protected  char getCodeID()
          Returns the code identifier
protected  char getDecimalSeparator()
          Returns the decimal separator for the edit word
protected  String getDecimalWord()
          Returns the decimal part of the edit word
protected  String getFloating()
          Returns the floating point string
protected  String getInteger()
          Returns the integer part of the edit word
protected  String getLeading()
          Returns the leading static field
protected  String getNegative()
          Returns the negative right static field
protected  String getPositive()
          Retruns the positive right static field
protected  String getTrailing()
          Returns the trailing static field
protected  char getZeroChar1()
          Returns the zero suppressed character 1
protected  char getZeroChar2()
          Returns the zero suppressed character 2
protected  void write(JavaToCOutputStream out)
          Write this structure to the output stream.
protected static void writePlaceHolder(JavaToCOutputStream out)
          Helper class for writing blanks for structure
 
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

EDCODEStruct

public EDCODEStruct(IISeriesEditDescription editd)
Constructor for EDCODEStruct.

Method Detail

getCodeID

protected char getCodeID()
Returns the code identifier


getLeading

protected String getLeading()
Returns the leading static field


getInteger

protected String getInteger()
Returns the integer part of the edit word


getDecimalSeparator

protected char getDecimalSeparator()
Returns the decimal separator for the edit word


getDecimalWord

protected String getDecimalWord()
Returns the decimal part of the edit word


getZeroChar1

protected char getZeroChar1()
Returns the zero suppressed character 1


getPositive

protected String getPositive()
Retruns the positive right static field


getNegative

protected String getNegative()
Returns the negative right static field


getTrailing

protected String getTrailing()
Returns the trailing static field


getZeroChar2

protected char getZeroChar2()
Returns the zero suppressed character 2


getFloating

protected String getFloating()
Returns the floating point string


write

protected void write(JavaToCOutputStream out)
              throws IOException
Write this structure to the output stream.

Throws:
IOException

writePlaceHolder

protected static void writePlaceHolder(JavaToCOutputStream out)
                                throws IOException
Helper class for writing blanks for structure

Throws:
IOException

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.