public interface SaveArea extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addObject(Object obj)
Stores an object in the
SaveArea instance. |
void |
clear()
Resets the SaveArea instance by removing all application objects.
|
String[] |
getInvalidPCBs()
Returns the list of PCBs that were not reset correctly after a symbolic restart call was issued.
|
Object |
getObject(int index)
Retrieves objects stored inside the
SaveArea instance. |
boolean |
isEmpty()
Checks for any objects saved in the
SaveArea instance. |
Iterator |
retrieveObjects()
Retrieves all objects stored inside the
SaveArea instance. |
void |
setInvalidPCBs(String pcbName)
Stores the name of a PCB that was not reset after a symbolic restart call.
|
int |
size()
Returns the number of objects stored in the
SaveArea instance. |
boolean |
verifyPCBPosition(String pcbName)
Verifies correct repositioning of a PCB after a restart call.
|
boolean |
verifyPCBPosition(String[] pcbArray)
Use this method to confirm correct repositioning of a PCB after a restart (XRST) call.
|
Iterator retrieveObjects()
SaveArea
instance.Iterator
containing the saved objects.Object getObject(int index) throws com.ibm.ims.dli.tm.TMException
SaveArea
instance. The objects will
be retrieved according to the order that they were stored.index
- a 1-based index indicating the order of saved objects.SaveArea
instance.com.ibm.ims.dli.tm.TMException
void addObject(Object obj)
SaveArea
instance.obj
- the object to save.boolean isEmpty()
SaveArea
instance.true
if no objects are stored in the SaveArea
instance
and false
otherwiseint size()
SaveArea
instance.SaveArea
instance.boolean verifyPCBPosition(String[] pcbArray) throws DLIException
pcbArray
- a String
array of PCB reference or alias names as
defined in the Java metadata class that provides the database view.true
if the PCB was correctly repositioned, false
otherwise.
If false
, the PCB may not be correctly repositioned, and the application must take
whatever action is required to ensure valid results before resuming processing.DLIException
boolean verifyPCBPosition(String pcbName) throws DLIException
true
if the PCB was correctly repositioned, false
otherwise.
If false
, the PCB may not be correctly repositioned, and the application must take whatever
action is required to ensure valid results before resuming processing.DLIException
String[] getInvalidPCBs()
void setInvalidPCBs(String pcbName)
pcbName
- the name of the PCBvoid clear()
(c) Copyright IBM Corporation 2008, 2017.