|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.edge.common.EdgeEvent
This is java wrapper for the ADT event type in the database. To send a ADT payload to streams in the edge schema, create an EdgeEvent object, and then set the ADT payload in the JMS messsage.
| Constructor Summary | |
EdgeEvent(boolean init)Constructor with specified error code. |
|
| Method Summary | |
java.lang.String |
getCorrelationId()Returns the correlation id field of this event |
java.lang.String |
getData()Returns the data field of this event |
java.sql.Timestamp |
getDate()Returns the date field of this event |
java.lang.String |
getDeviceName()Returns the device name field of this event |
java.lang.String |
getId()Returns the id field of this event |
static EdgeEvent |
getInstance(javax.jms.Message msg)Required method from the ORAData interface. |
java.lang.String |
getSitename()Returns the sitename field of this event |
java.lang.String |
getSourceName()Returns the source name field of this event |
int |
getSubType()Returns the subtype field of this event |
int |
getType()Returns the type field of this event |
void |
setCorrelationId(java.lang.String corr_id)Sets the correlation id field of this event |
void |
setData(java.lang.String data)Sets the data field of this event |
void |
setDate(java.sql.Timestamp date)Sets the date field of this event |
void |
setDeviceName(java.lang.String devicename)Sets the devicename field of this event |
void |
setId(java.lang.String id)Sets the id field of this event |
void |
setSitename(java.lang.String sitename)Sets the sitename field of this event |
void |
setSourceName(java.lang.String source)Sets the source field of this event |
void |
setSubType(int subtype)Sets the subtype field of this event |
void |
setType(int type)Sets the type field of this event |
oracle.sql.Datum |
toDatum(java.sql.Connection oracleConnection)Required method from the ORAData interface. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EdgeEvent(boolean init)
init - If true, will create the underlying MutableStruct object. If constructing and sending msgs should set this to true. If false, will not create underlying MutableStruct object, all accessor methods will throw a NullPointerException| Method Detail |
public java.lang.String getCorrelationId()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the correlation id name.
public java.lang.String getData()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the data.
public java.sql.Timestamp getDate()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the date.
public java.lang.String getDeviceName()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the device name .
public java.lang.String getId()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the id.
public static EdgeEvent getInstance(javax.jms.Message msg)
throws javax.jms.JMSException
msg - The JMS Message containing the Adt payload.javax.jms.JMSException
public java.lang.String getSitename()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the sitename.
public java.lang.String getSourceName()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the source name.
public int getSubType()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the subtype.
public int getType()
throws java.sql.SQLException
java.sql.SQLException - Thrown if there is a underlying error when retrieving the type.
public void setCorrelationId(java.lang.String corr_id)
throws java.sql.SQLException
corr_id - The value the correlation id field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the correlation id.
public void setData(java.lang.String data)
throws java.sql.SQLException
data - The value the data field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the data.
public void setDate(java.sql.Timestamp date)
throws java.sql.SQLException
date - The value the date field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the date.
public void setDeviceName(java.lang.String devicename)
throws java.sql.SQLException
devicename - The value the devicename field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the devicename.
public void setId(java.lang.String id)
throws java.sql.SQLException
id - The value the id field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the id.
public void setSitename(java.lang.String sitename)
throws java.sql.SQLException
sitename - The value the sitename field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the sitename.
public void setSourceName(java.lang.String source)
throws java.sql.SQLException
source - The value the source field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the source.
public void setSubType(int subtype)
throws java.sql.SQLException
subtype - The value the subtype field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the subtype.
public void setType(int type)
throws java.sql.SQLException
type - The value the type field of this event should be set tojava.sql.SQLException - Thrown if there is a underlying error when setting the type.
public oracle.sql.Datum toDatum(java.sql.Connection oracleConnection)
throws java.sql.SQLException
toDatum in interface oracle.sql.ORADataoracleConnection - The Oracle JDBC Connection that will be used to serialize this object.java.sql.SQLException
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||