|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jzos.CatalogSearch.Entry
public class CatalogSearch.Entry
A static inner class of CatalogSearch which holds a catalog search entry. Entry types are either Catalog or Dataset. Catalog entries only contain a Catalog name, while Dataset entries contain the dataset name and the requested field data.
isCatalogEntry()
,
isDatasetEntry()
Method Summary | |
---|---|
java.lang.String |
getCatalogName()
Return the name of the current Catalog (the entry name of the last Catalog entry read). |
int |
getEntryLength()
Return the total length, in bytes, that this entry comprises in the work area. |
CatalogSearchField |
getField(java.lang.String fieldName)
Return the field data associated with a fieldName. |
java.lang.String |
getModuleId()
Return the entry reason area module id. |
java.lang.String |
getName()
Return a String containing the 1-44 character name (blanks trimmed) |
int |
getRc()
Return the entry reason area return code. |
int |
getReason()
Return the entry reason area reason code. |
boolean |
hasError()
Return true if the entry has an error. |
boolean |
hasReasonArea()
|
boolean |
isCatalogEntry()
Return true if this entry is a Catalog entry. |
boolean |
isDatasetEntry()
Return true if this entry is a Dataset entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isCatalogEntry()
public boolean isDatasetEntry()
public boolean hasError()
getRc()
and getReason()
can be
used to determine what the error is.
public int getRc()
hasError()
is false.
public int getReason()
hasError()
is false.
public java.lang.String getModuleId()
hasError()
is false.
public boolean hasReasonArea()
public int getEntryLength()
Each entry has the following common information:
public java.lang.String getCatalogName()
public java.lang.String getName()
public CatalogSearchField getField(java.lang.String fieldName)
fieldName
- one of the names added via CatalogSearch.addFieldName(String)
.
java.lang.UnsupportedOperationException
- if this method is called on a Catalog EntryisCatalogEntry()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |