Rational Developer for Power Systems Software
V7.6

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

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

public class DBOUTStruct
extends Object

This class encapsulates the CODE comm DBOUT structure. DBOUT is defined in evfcsys.h: typedef struct { SHORT fileNum; // number of based-on files // only for REFACCPATH SHORT concatNum; // number of concat/rename fields // only for LF and format SHORT sstNum; // number of sst pair // only for LF and format SHORT reserved; // Filler for boundary alignment ULONG flags; // big flags CHAR library[11]; // actual library name CHAR type; // File type // 'D' = DDM // 'P' = physical // 'S' = source physical // 'L' = logical // 'J' = join logical CHAR record[11]; // Record name of first record // returned when check = 1 } DBOUT;


Field Summary
static String copyright
           
static long DB_ALTSEQ
           
static long DB_DYNSELECT
           
static long DB_FCFO
           
static long DB_FIFO
           
static long DB_IGCFIELD
           
static long DB_IGCLITERAL
           
static long DB_IGCTEXT
           
static long DB_KEYS
           
static long DB_LIFO
           
static long DB_SELECTOMIT
           
static long DB_UNIQUE
           
 
Constructor Summary
protected DBOUTStruct()
          Constructor
 
Method Summary
protected  void setAccessPathFlag(String accessPathType)
          Set access path flag
protected  void setAltSeq()
          Set ALTSEQ flag
protected  void setBasedOnCount(short basedOnCount)
          Set the number of files this database file is based on
protected  void setConcatNumber(short concatNum)
          Set the number of concatenated fields for this file
protected  void setDynamicSelect()
          Set DYNSELECT flag
protected  void setIGCField()
          Set IGC Field flag
protected  void setIGCLiteral()
          Set IGC literal flag
protected  void setIGCText()
          Set IGC text flag
protected  void setKeys()
          Set KEYS flag
protected  void setLibraryName(String libraryName)
          Sets the libraryName.
protected  void setRecordName(String recordName)
          Sets the recordName.
protected  void setSelectOmit()
          Set SELECTOMIT flag
protected  void setSSTNumber(short sstNum)
          Set the number of substring fields for this file
protected  void setType(char type)
          Sets the type.
protected  void write(JavaToCOutputStream out)
           
 
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

DB_IGCFIELD

public static final long DB_IGCFIELD
See Also:
Constant Field Values

DB_IGCLITERAL

public static final long DB_IGCLITERAL
See Also:
Constant Field Values

DB_IGCTEXT

public static final long DB_IGCTEXT
See Also:
Constant Field Values

DB_ALTSEQ

public static final long DB_ALTSEQ
See Also:
Constant Field Values

DB_KEYS

public static final long DB_KEYS
See Also:
Constant Field Values

DB_SELECTOMIT

public static final long DB_SELECTOMIT
See Also:
Constant Field Values

DB_DYNSELECT

public static final long DB_DYNSELECT
See Also:
Constant Field Values

DB_FCFO

public static final long DB_FCFO
See Also:
Constant Field Values

DB_FIFO

public static final long DB_FIFO
See Also:
Constant Field Values

DB_LIFO

public static final long DB_LIFO
See Also:
Constant Field Values

DB_UNIQUE

public static final long DB_UNIQUE
See Also:
Constant Field Values
Constructor Detail

DBOUTStruct

protected DBOUTStruct()
Constructor

Method Detail

setBasedOnCount

protected void setBasedOnCount(short basedOnCount)
Set the number of files this database file is based on


setConcatNumber

protected void setConcatNumber(short concatNum)
Set the number of concatenated fields for this file


setSSTNumber

protected void setSSTNumber(short sstNum)
Set the number of substring fields for this file


setLibraryName

protected void setLibraryName(String libraryName)
Sets the libraryName.

Parameters:
libraryName - The libraryName to set

setRecordName

protected void setRecordName(String recordName)
Sets the recordName.

Parameters:
recordName - The recordName to set

setType

protected void setType(char type)
Sets the type.

Parameters:
type - The type to set

setIGCField

protected void setIGCField()
Set IGC Field flag


setIGCLiteral

protected void setIGCLiteral()
Set IGC literal flag


setIGCText

protected void setIGCText()
Set IGC text flag


setAltSeq

protected void setAltSeq()
Set ALTSEQ flag


setKeys

protected void setKeys()
Set KEYS flag


setSelectOmit

protected void setSelectOmit()
Set SELECTOMIT flag


setDynamicSelect

protected void setDynamicSelect()
Set DYNSELECT flag


setAccessPathFlag

protected void setAccessPathFlag(String accessPathType)
Set access path flag


write

protected void write(JavaToCOutputStream out)
              throws IOException
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.