|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.editor.generator.model.RPGSimpleArray
com.ibm.etools.iseries.editor.generator.model.RPGArray
Field Summary | |
---|---|
protected boolean |
ALT
|
protected boolean |
ascending
|
protected boolean |
ctdata
|
protected boolean |
descending
|
protected boolean |
externalFormat
|
protected String |
externalFormatType
|
protected boolean |
fromFile
|
protected String |
fromFileName
|
protected String |
mainArrayName
|
protected int |
perrcd
|
protected boolean |
toFile
|
protected String |
toFileName
|
Fields inherited from class com.ibm.etools.iseries.editor.generator.model.RPGSimpleArray |
---|
dimensions |
Fields inherited from interface com.ibm.etools.iseries.editor.generator.model.IDSpec |
---|
DATEFMT_DMY, DATEFMT_EUR, DATEFMT_ISO, DATEFMT_JIS, DATEFMT_JUL, DATEFMT_MDY, DATEFMT_NONE, DATEFMT_USA, DATEFMT_YMD, DT_AMPERSAND, DT_COLON, DT_COMMA, DT_DASH, DT_NONE, DT_PERIOD, DT_SLASH, INFDS_DB, INFDS_DSPF_ATTR, INFDS_DSPF_DEV, INFDS_FILE, INFDS_ICF_ATTR, INFDS_ICF_DEV, INFDS_IO, INFDS_OPEN, INFDS_PRTF, MSG_ERR_REQ_FIELD, RPGARRAYKWD_B, RPGARRAYKWD_F, RPGARRAYKWD_I, RPGARRAYKWD_L, RPGARRAYKWD_P, RPGARRAYKWD_R, RPGARRAYKWD_S, RPGARRAYKWD_U, RPGTYPE_A, RPGTYPE_AV, RPGTYPE_B, RPGTYPE_C, RPGTYPE_CV, RPGTYPE_D, RPGTYPE_F, RPGTYPE_G, RPGTYPE_GV, RPGTYPE_I, RPGTYPE_I2, RPGTYPE_N, RPGTYPE_P, RPGTYPE_S, RPGTYPE_STAR, RPGTYPE_T, RPGTYPE_U, RPGTYPE_U2, RPGTYPE_Z, TIMEFMT_EUR, TIMEFMT_HMS, TIMEFMT_ISO, TIMEFMT_JIS, TIMEFMT_NONE, TIMEFMT_USA |
Constructor Summary | |
---|---|
RPGArray()
|
Method Summary | |
---|---|
String |
getExternalFormatType()
|
String |
getFromFileName()
|
String |
getMainArrayName()
|
int |
getPerrcd()
|
String |
getToFileName()
|
boolean |
isALT()
|
boolean |
isAscending()
|
boolean |
isCTData()
|
boolean |
isDescending()
|
boolean |
isExternalFormat()
|
boolean |
isFromFile()
|
boolean |
isToFile()
|
void |
setALT(boolean alt)
Sets whether this is an alternating array, whose contents is interspliced with another "main" array. |
void |
setAscending(boolean ascend)
Sets whether this array is in ascending order. |
void |
setCTData(boolean b)
Sets whether this is a compile time array, whose data is supplied at the bottom of the source after the **CTDATA specification. |
void |
setDescending(boolean descend)
Sets whether the array is in descending order. |
void |
setExternalFormat(boolean b)
Sets whether or not the data type of the array is the same as the type of data in the database file for pre-runtime arrays. |
void |
setExternalFormatType(String type)
Sets the type of data in the database file for pre-runtime arrays if the data type of the array is the same; has no effect otherwise. |
void |
setFromFile(boolean b)
For pre-runtime arrays, sets whether or not the array data is loaded automatically from the database file specified using setToFileName(String). |
void |
setFromFileName(String name)
For pre-runtime arrays where isFromFile() is true, sets the name of the database file from which the array data is loaded, otherwise has no effect. |
void |
setMainArrayName(String name)
For alternating arrays, sets the name of the main array whose contents are interspliced with this array, otherwise has no effect on other types of arrays. |
void |
setPerrcd(int i)
For compile-time or pre-runtime arrays, sets how many array entries are in each row of the **CTDATA or database file data. |
void |
setToFile(boolean b)
For pre-runtime arrays, sets whether or not the array data will be written automatically to the database file specified in setToFileName(String). |
void |
setToFileName(String name)
For pre-runtime arrays for which isToFile() is true, sets the name of the database file to which the array data will be written automatically, otherwise has no effect. |
Methods inherited from class com.ibm.etools.iseries.editor.generator.model.RPGSimpleArray |
---|
getDimensions, setDimensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean ALT
protected String mainArrayName
protected boolean ascending
protected boolean descending
protected boolean ctdata
protected int perrcd
protected boolean fromFile
protected boolean toFile
protected String fromFileName
protected String toFileName
protected boolean externalFormat
protected String externalFormatType
Constructor Detail |
public RPGArray()
Method Detail |
public boolean isALT()
#setAlt()
,
getMainArrayName()
,
setMainArrayName(String)
public boolean isAscending()
isDescending()
,
setAscending(boolean)
,
setDescending(boolean)
public boolean isCTData()
setCTData(boolean)
public boolean isDescending()
isAscending()
,
setDescending(boolean)
,
setAscending(boolean)
public boolean isExternalFormat()
setExternalFormat(boolean)
,
getExternalFormatType()
,
setExternalFormatType(String)
public String getExternalFormatType()
IDSpec
,
isExternalFormat()
,
setExternalFormat(boolean)
,
setExternalFormatType(String)
public boolean isFromFile()
setFromFile(boolean)
,
getFromFileName()
,
setFromFileName(String)
public String getFromFileName()
isFromFile()
,
setFromFile(boolean)
,
setFromFileName(String)
public String getMainArrayName()
isALT()
,
setALT(boolean)
,
setMainArrayName(String)
public int getPerrcd()
setPerrcd(int)
public boolean isToFile()
setToFile(boolean)
,
getToFileName()
,
setToFileName(String)
public String getToFileName()
isToFile()
,
setToFile(boolean)
,
setToFileName(String)
public void setALT(boolean alt)
alt
- is true if and only if this is an alternating
arrayisALT()
,
getMainArrayName()
,
setMainArrayName(String)
public void setAscending(boolean ascend)
ascend
- is true if and only if this array is
in ascending order.isDescending()
,
isAscending()
,
setDescending(boolean)
public void setCTData(boolean b)
b
- is true if and only if this is a compile time
array.isCTData()
public void setDescending(boolean descend)
descend
- is true if and only if this array
is to be in descending orderisAscending()
,
isDescending()
,
setAscending(boolean)
public void setExternalFormat(boolean b)
b
- is true if and only if this array has
an externally defined format.#getExternalFormat()
,
getExternalFormatType()
,
setExternalFormatType(String)
public void setExternalFormatType(String type)
type
- is one of the constant String types
defined in the IDSpec interface.IDSpec
,
isExternalFormat()
,
setExternalFormat(boolean)
,
setExternalFormatType(String)
public void setFromFile(boolean b)
b
- is true if and only if the array data is loaded
automatically from an external database file.isFromFile()
,
getFromFileName()
,
setFromFileName(String)
public void setFromFileName(String name)
name
- The name of the database file from which
the array data is to be loaded.isFromFile()
,
setFromFile(boolean)
,
getFromFileName()
public void setMainArrayName(String name)
name
- the name of the main arrayisALT()
,
setALT(boolean)
,
getMainArrayName()
public void setPerrcd(int i)
i
- the number of array entries per row of the **CTDATA
or database file datagetPerrcd()
public void setToFile(boolean b)
b
- is true if and only if the array data will be
written automatically to the database fileisToFile()
,
getToFileName()
,
setToFileName(String)
public void setToFileName(String name)
name
- the name of the database file to which
the array data willl be writtenisToFile()
,
setToFile(boolean)
,
getToFileName()
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |