|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.util.BaseBusinessObject
org.jboss.soa.esb.common.bizclasses.BatchProcess
public class BatchProcess
Nested Class Summary | |
---|---|
static class |
BatchProcess.ATTRIB
|
static class |
BatchProcess.CHLD_LIST
|
Field Summary | |
---|---|
java.util.List<OneValue> |
m_olHeaders
|
java.util.List<OneValue> |
m_olItems
|
Constructor Summary | |
---|---|
BatchProcess(BobjStdDTO p_oDto)
|
|
BatchProcess(java.lang.String p_sElem,
long p_lUid)
|
Method Summary | |
---|---|
void |
addChildUid(long p_l)
Add a reference to a BusinessObject (it's UID) to the list of batch items BusinessObjects |
void |
addHeaderUid(long p_l)
Add a reference to a BusinessObject (it's UID) to the list of batch header BusinessObjects |
long |
getChildAt(int p_i)
Get an object from the item list |
int |
getChildCount()
Return the number of item objects in this batch |
java.lang.String |
getField(BatchProcess.ATTRIB pKey)
|
long |
getHeaderAt(int p_i)
Get an object from the header list |
int |
getHeaderCount()
Return the number of header objects in this batch |
java.lang.String[] |
locator()
Obtain a String[] of 'human readable' attributes that will help identify the BatchProcess object. |
long |
rmvChildAt(int p_i)
Remove an object from the item list |
long |
rmvHeaderAt(int p_i)
Remove an object from the header list |
java.lang.String |
setField(BatchProcess.ATTRIB pKey,
java.lang.String pVal)
|
protected java.lang.String |
showStamp(BatchProcess.ATTRIB pFld)
|
BobjStdDTO |
toDTO()
|
Methods inherited from class org.jboss.soa.esb.util.BaseBusinessObject |
---|
allLocators, getBatchNum, getDtoList, getElemNm, getFromDTO, getRole, getRoleFromList, getSnap, getSnapDate, getStamp, getUid, hasUid, setBatchNum, setElemNm, setPackage, setRole, setSnap, setSnapDate, setStamp, setUid, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.util.List<OneValue> m_olHeaders
public java.util.List<OneValue> m_olItems
Constructor Detail |
---|
public BatchProcess(java.lang.String p_sElem, long p_lUid)
p_sElem
- Stringp_lUid
- longBaseBusinessObject.BaseBusinessObject(String,long)
public BatchProcess(BobjStdDTO p_oDto) throws java.lang.Exception
p_oDto
- BobjStdDTO
java.lang.Exception
BaseBusinessObject.BaseBusinessObject(BobjStdDTO)
Method Detail |
---|
public BobjStdDTO toDTO() throws java.lang.Exception
toDTO
in class BaseBusinessObject
java.lang.Exception
BusinessObject#toDTO()
public void addHeaderUid(long p_l)
p_l
- long - The UID of the BusinessObject to add to the header listm_olHeaders
public long rmvHeaderAt(int p_i)
p_i
- int - index of header to remove
addHeaderUid(long)
public void addChildUid(long p_l)
p_l
- long - The UID of the BusinessObject to add to the item listm_olItems
public long rmvChildAt(int p_i)
p_i
- int - index of item to remove
addChildUid(long)
public int getHeaderCount()
m_olHeaders
public long getHeaderAt(int p_i)
p_i
- int - index of header object to get
m_olHeaders
public int getChildCount()
m_olItems
public long getChildAt(int p_i)
p_i
- int - index of item object to get
m_olItems
protected final java.lang.String showStamp(BatchProcess.ATTRIB pFld)
public java.lang.String[] locator()
These attributes will be stored in the batch_index table in the Object store to allow for standard SQL queries. Once the desired object is identified, we can access the Object table using the Object's that are referenced in the batch_index table UID
locator
in class BaseBusinessObject
public java.lang.String setField(BatchProcess.ATTRIB pKey, java.lang.String pVal)
public java.lang.String getField(BatchProcess.ATTRIB pKey)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |