|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.verifiers.comm.bridge.ADEControlBlock
public class ADEControlBlock
This class corresponds to the CODE comm ADE_CB structure. Currently this is just used as a unique id
Field Summary | |
---|---|
static String |
copyright
|
static int |
OPENDBF_STATE
|
static int |
OPENFIELD_STATE
|
static int |
OPENGET_STATE
|
static int |
OPENGETIFS_STATE
|
static int |
OPENLIST_FIELDS_STATE
|
static int |
OPENLIST_RECORDS_STATE
|
Constructor Summary | |
---|---|
protected |
ADEControlBlock(int state)
Constructor for ADEControlBlock. |
Method Summary | |
---|---|
protected void |
free()
Release all resources associated with this control block |
protected static void |
free(int id)
Release all resources associated with the ADEControlBlock with id. |
protected int |
getID()
Return the id for this "control block" |
protected IQSYSDatabaseField |
getISeriesField()
Retursn the ISeriesField currently associated with this control block. |
protected IQSYSDatabaseFile |
getISeriesFile()
Return the ISeriesFile currently associated with this control block. |
protected FDKWDStruct |
getNextFieldKeyword()
Retrieve the next keyword |
protected static ADEControlBlock |
lookup(CToJavaInputStream in)
Lookup the control block. |
protected static ADEControlBlock |
lookup(int id)
Given an ADEControlBlock id, find the corresponding instance |
protected void |
setFileContents(String[] fileContents)
Sets the fileContents. |
protected void |
setIncludeSequenceArea(boolean include)
Include sequence area when writing records from the rseRead after an rseOpenGet |
protected void |
setISeriesField(IQSYSDatabaseField field)
Sets the ISeriesField associated with this control block. |
protected void |
setISeriesFile(IQSYSDatabaseFile file)
Sets the ISeriesFile associated with this control block. |
protected void |
setLSFIELDStruct(LSFIELDStruct lsfield)
Sets the LSFIELDStruct for subsuquent writing |
protected void |
setLSRECStruct(LSRECStruct[] records)
Sets the LSRECStruct for subsequent writing |
protected void |
write(JavaToCOutputStream out)
Write the id to the output stream |
protected void |
writeInfo(JavaToCOutputStream out)
Method writeInfo. |
protected void |
writeInfo(JavaToCOutputStream out,
boolean resolveConcatFields)
Method writeInfo. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
public static final int OPENGET_STATE
public static final int OPENFIELD_STATE
public static final int OPENLIST_FIELDS_STATE
public static final int OPENDBF_STATE
public static final int OPENLIST_RECORDS_STATE
public static final int OPENGETIFS_STATE
Constructor Detail |
---|
protected ADEControlBlock(int state)
state
- The state of the control block, use one of the predefined state constants.Method Detail |
---|
protected int getID()
protected void write(JavaToCOutputStream out) throws IOException
IOException
protected static ADEControlBlock lookup(int id)
protected static ADEControlBlock lookup(CToJavaInputStream in) throws IOException
IOException
protected void free()
protected static void free(int id)
protected void setISeriesField(IQSYSDatabaseField field)
protected IQSYSDatabaseFile getISeriesFile()
ADEControlBlock.setISeriesFile
protected void setISeriesFile(IQSYSDatabaseFile file)
protected IQSYSDatabaseField getISeriesField()
ADEControlBlock.setISeriesField
protected FDKWDStruct getNextFieldKeyword()
protected void setFileContents(String[] fileContents)
fileContents
- The fileContents to setprotected void setIncludeSequenceArea(boolean include)
protected void setLSFIELDStruct(LSFIELDStruct lsfield)
protected void setLSRECStruct(LSRECStruct[] records)
protected void writeInfo(JavaToCOutputStream out) throws IOException
out
-
IOException
protected void writeInfo(JavaToCOutputStream out, boolean resolveConcatFields) throws IOException
out
- OutputStream to write resultsresolveConcatFields
- Whether concatenated fields should be resolved (this is only used
by list fields.
IOException
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |