Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm.interfaces
Class ISeriesHostFileDefinition

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostFileDefinition
All Implemented Interfaces:
IISeriesHostFileDefinition

public class ISeriesHostFileDefinition
extends Object
implements IISeriesHostFileDefinition

Class represents the information for an iSeries host file.


Field Summary
static String Copyright
           
 
Fields inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostFileDefinition
ARRIVAL_SEQ, ENCODED_VECTOR_SEQ, KEYED_FCFO_SEQ, KEYED_FIFO_SEQ, KEYED_LIFO_SEQ, KEYED_NO_ORDER_SEQ, KEYED_UNIQUE_SEQ
 
Constructor Summary
ISeriesHostFileDefinition()
           
 
Method Summary
 void addBasedOnFile(String library, String file, String record)
          Add a based on file to the list of based on files for this logical file.
 String getAccessPathType()
          Get the access path type.
 boolean getAlternateSequence()
          Check whether this record format uses an alternate collating sequence (ALTSEQ)
 int getBasedOnCount()
          Get the number of files this file is based on.
 List getBasedOnFiles()
          Return a list of the based on files
 boolean getDynamicSelect()
          Check whether this record format uses the dynamic selection indicator (DYNSLT).
 boolean getIGCField()
          Check whether this record format contains DBCS or Graphic data.
 boolean getIGCLiteral()
          Check whether this record format contains DBCS or Graphic literals.
 boolean getKeyedAccessPath()
          Check whether this record format has a keyed sequence access path.
 String getLangId()
          Get the language identifier
 boolean getSelectOmitLF()
          Check whether this file is a select/omit logical file.
 boolean isJoinLogicalFile()
          Check whether this record format is a join logical file
 boolean isSourceFile()
          Check whether this record format is source file.
 void setAccessPathType(String accessPathType)
          Set the access path type for this record format.
 void setAlternateSequence(boolean altSeq)
          Set whether this record format uses an alternate collating sequence (ALTSEQ)
 void setBasedOnCount(int count)
          Set the number of files this file is based on.
 void setDynamicSelect(boolean dynamicSelect)
          Set whether this record format uses the dynamic selection indicator (DYNSLT).
 void setIGCField(boolean igcField)
          Set whether this record format contains DBCS or Graphic data.
 void setIGCLiteral(boolean igcLiteral)
          Set whether this record format contains DBCS or Graphic literals.
 void setIsSourceFile(boolean sourceFile)
          Set whether this record format is source file or a data file.
 void setJoinLogicalFile(boolean jfile)
          Set whether this record format is a join logical file
 void setKeyedAccessPath(boolean keyed)
          Set whether this record format has a keyed sequence access path.
 void setLangId(String langId)
          Set the language identifier
 void setSelectOmitLF(boolean selectOmitLF)
          Set whether this file is a select/omit logical file.
 
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

ISeriesHostFileDefinition

public ISeriesHostFileDefinition()
Method Detail

getAccessPathType

public String getAccessPathType()
Description copied from interface: IISeriesHostFileDefinition
Get the access path type.

Specified by:
getAccessPathType in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getAccessPathType()

getLangId

public String getLangId()
Description copied from interface: IISeriesHostFileDefinition
Get the language identifier

Specified by:
getLangId in interface IISeriesHostFileDefinition

getAlternateSequence

public boolean getAlternateSequence()
Description copied from interface: IISeriesHostFileDefinition
Check whether this record format uses an alternate collating sequence (ALTSEQ)

Specified by:
getAlternateSequence in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getAlternateSequence()

getBasedOnCount

public int getBasedOnCount()
Description copied from interface: IISeriesHostFileDefinition
Get the number of files this file is based on.

Specified by:
getBasedOnCount in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getBasedOnCount()

getDynamicSelect

public boolean getDynamicSelect()
Description copied from interface: IISeriesHostFileDefinition
Check whether this record format uses the dynamic selection indicator (DYNSLT). If on, the selection and omission tests specified for the file are done when the file is read. If off, when the access path is updated.

Specified by:
getDynamicSelect in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getDynamicSelect()

getIGCLiteral

public boolean getIGCLiteral()
Description copied from interface: IISeriesHostFileDefinition
Check whether this record format contains DBCS or Graphic literals.

Specified by:
getIGCLiteral in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getIGCLiteral()

getKeyedAccessPath

public boolean getKeyedAccessPath()
Description copied from interface: IISeriesHostFileDefinition
Check whether this record format has a keyed sequence access path.

Specified by:
getKeyedAccessPath in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getKeyedAccessPath()

getSelectOmitLF

public boolean getSelectOmitLF()
Description copied from interface: IISeriesHostFileDefinition
Check whether this file is a select/omit logical file.

Specified by:
getSelectOmitLF in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getSelectOmitLF()

isJoinLogicalFile

public boolean isJoinLogicalFile()
Description copied from interface: IISeriesHostFileDefinition
Check whether this record format is a join logical file

Specified by:
isJoinLogicalFile in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.isJoinLogicalFile()

setAccessPathType

public void setAccessPathType(String accessPathType)
Description copied from interface: IISeriesHostFileDefinition
Set the access path type for this record format.

Specified by:
setAccessPathType in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setAccessPathType(String)

setAlternateSequence

public void setAlternateSequence(boolean altSeq)
Description copied from interface: IISeriesHostFileDefinition
Set whether this record format uses an alternate collating sequence (ALTSEQ)

Specified by:
setAlternateSequence in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setAlternateSequence(boolean)

setBasedOnCount

public void setBasedOnCount(int count)
Description copied from interface: IISeriesHostFileDefinition
Set the number of files this file is based on.

Specified by:
setBasedOnCount in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setBasedOnCount(int)

setDynamicSelect

public void setDynamicSelect(boolean dynamicSelect)
Description copied from interface: IISeriesHostFileDefinition
Set whether this record format uses the dynamic selection indicator (DYNSLT).

Specified by:
setDynamicSelect in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setDynamicSelect(boolean)

setIGCLiteral

public void setIGCLiteral(boolean igcLiteral)
Description copied from interface: IISeriesHostFileDefinition
Set whether this record format contains DBCS or Graphic literals.

Specified by:
setIGCLiteral in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setIGCLiteral(boolean)

setKeyedAccessPath

public void setKeyedAccessPath(boolean keyed)
Description copied from interface: IISeriesHostFileDefinition
Set whether this record format has a keyed sequence access path.

Specified by:
setKeyedAccessPath in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setKeyedAccessPath(boolean)

setSelectOmitLF

public void setSelectOmitLF(boolean selectOmitLF)
Description copied from interface: IISeriesHostFileDefinition
Set whether this file is a select/omit logical file.

Specified by:
setSelectOmitLF in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setSelectOmitLF(boolean)

setJoinLogicalFile

public void setJoinLogicalFile(boolean jfile)
Description copied from interface: IISeriesHostFileDefinition
Set whether this record format is a join logical file

Specified by:
setJoinLogicalFile in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setJoinLogicalFile(boolean)

getIGCField

public boolean getIGCField()
Description copied from interface: IISeriesHostFileDefinition
Check whether this record format contains DBCS or Graphic data.

Specified by:
getIGCField in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getIGCField()

setIGCField

public void setIGCField(boolean igcField)
Description copied from interface: IISeriesHostFileDefinition
Set whether this record format contains DBCS or Graphic data.

Specified by:
setIGCField in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setIGCField(boolean)

isSourceFile

public boolean isSourceFile()
Description copied from interface: IISeriesHostFileDefinition
Check whether this record format is source file. If the file is not a source file then it must be a data file.

Specified by:
isSourceFile in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.isSourceFile()

setIsSourceFile

public void setIsSourceFile(boolean sourceFile)
Description copied from interface: IISeriesHostFileDefinition
Set whether this record format is source file or a data file.

Specified by:
setIsSourceFile in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.setIsSourceFile(boolean)

getBasedOnFiles

public List getBasedOnFiles()
Description copied from interface: IISeriesHostFileDefinition
Return a list of the based on files

Specified by:
getBasedOnFiles in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.getBasedOnFiles()

addBasedOnFile

public void addBasedOnFile(String library,
                           String file,
                           String record)
Description copied from interface: IISeriesHostFileDefinition
Add a based on file to the list of based on files for this logical file.

Specified by:
addBasedOnFile in interface IISeriesHostFileDefinition
See Also:
IISeriesHostFileDefinition.addBasedOnFile(String, String, String)

setLangId

public void setLangId(String langId)
Description copied from interface: IISeriesHostFileDefinition
Set the language identifier

Specified by:
setLangId in interface IISeriesHostFileDefinition

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.