|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bea.rfid.workflow.epcis.EventGenerator
com.bea.rfid.workflow.epcis.ObjectEventGenerator
public class ObjectEventGenerator
Plain java class to generate EPCIS Object Events for input tags. URIs from the input tags will be used as the EPCs on the generated Object Event. This uses the super class for populating the common EPCIS event fields. This contains action field in addition to the fields on its super class. This action value will be used on the generated event if the template event is not an object event or does not have action specified. EPCs, if any, on the template event will be ignored.
This implementation assumes single threaded operation and is not synchronized. If multiple threads access this concurrently, it must be synchronized externally.
| Constructor Summary | |
|---|---|
ObjectEventGenerator()
|
|
| Method Summary | |
|---|---|
com.connecterra.epcis.impl.AbstractEPCISEvent |
createSpecificEPCISEvent(List tags)
Creates Object Event with URIs corresponding to the input tags in its EPC list. |
String |
getAction()
Returns the action specified on this object event generator. |
void |
setAction(String action)
Specified the action that must be used on the generated event, if one cannot be obtained from the template event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectEventGenerator()
| Method Detail |
|---|
public com.connecterra.epcis.impl.AbstractEPCISEvent createSpecificEPCISEvent(List tags)
throws com.connecterra.epcis.api.EPCISException
ObjectEventGenerator object will be used.
createSpecificEPCISEvent in class EventGeneratortags - list of com.connecterra.ale.api.ECReportGroupListMember
for which Object Event must be generated
com.connecterra.epcis.api.EPCISException - if an error occurs trying to create the event
IllegalStateException - if action cannot be obtained from the template event
and none is set on thisEventGenerator.createEPCISDocument(List)public String getAction()
public void setAction(String action)
action - string with the action value
|
Documentation is available at ${DOCSWEBROOT} Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||