|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.sase.stream.ABCEvent
public class ABCEvent
This class represents a kind of event.
Constructor Summary | |
---|---|
ABCEvent(int i,
int ts,
java.lang.String et,
int p)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getAttributeByName(java.lang.String attributeName)
Returns the value of the attribute with the required name |
double |
getAttributeByNameDouble(java.lang.String attributeName)
Returns the value of the attribute with the required name |
java.lang.String |
getAttributeByNameString(java.lang.String attributeName)
Returns the value of the attribute with the required name |
int |
getAttributeValueType(java.lang.String attributeName)
Returns the value type of the attribute |
java.lang.String |
getEventType()
|
int |
getId()
|
int |
getPrice()
|
int |
getTimestamp()
|
void |
setEventType(java.lang.String eventType)
|
void |
setId(int id)
|
void |
setPrice(int price)
|
void |
setTimestamp(int timestamp)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ABCEvent(int i, int ts, java.lang.String et, int p)
Method Detail |
---|
public java.lang.Object clone()
clone
in interface Event
clone
in class java.lang.Object
public int getId()
getId
in interface Event
public void setId(int id)
setId
in interface Event
id
- the id to setpublic int getTimestamp()
getTimestamp
in interface Event
public void setTimestamp(int timestamp)
timestamp
- the timestamp to setpublic java.lang.String getEventType()
getEventType
in interface Event
public void setEventType(java.lang.String eventType)
eventType
- the eventType to setpublic int getPrice()
public void setPrice(int price)
price
- the price to setpublic java.lang.String toString()
toString
in interface Event
toString
in class java.lang.Object
public int getAttributeByName(java.lang.String attributeName)
Event
getAttributeByName
in interface Event
attributeName
- the required attribute name
public java.lang.String getAttributeByNameString(java.lang.String attributeName)
Event
getAttributeByNameString
in interface Event
attributeName
- the required attribute name
public int getAttributeValueType(java.lang.String attributeName)
Event
getAttributeValueType
in interface Event
attributeName
- the required attribute name
public double getAttributeByNameDouble(java.lang.String attributeName)
Event
getAttributeByNameDouble
in interface Event
attributeName
- the required attribute name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |