|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.sase.engine.ValueVectorElementSum
public class ValueVectorElementSum
This class represents the SUM aggregation.
Constructor Summary | |
---|---|
ValueVectorElementSum()
|
Method Summary | |
---|---|
java.lang.String |
getAttribute()
|
int |
getNeededByState()
|
int |
getStateNumber()
|
java.lang.String |
getType()
|
int |
getValue()
Gets the current value |
void |
initializeValue(Event e)
initializes the value by an eventg |
void |
setAttribute(java.lang.String a)
|
void |
setNeededByState(int n)
|
void |
updateValue(Event e)
Updates the value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValueVectorElementSum()
Method Detail |
---|
public int getValue()
ValueVectorElement
getValue
in interface ValueVectorElement
public void updateValue(Event e)
ValueVectorElement
updateValue
in interface ValueVectorElement
e
- the newly selected eventpublic int getStateNumber()
getStateNumber
in interface ValueVectorElement
public java.lang.String getType()
getType
in interface ValueVectorElement
public java.lang.String getAttribute()
getAttribute
in interface ValueVectorElement
public void setAttribute(java.lang.String a)
setAttribute
in interface ValueVectorElement
a
- the attribute name to setpublic void initializeValue(Event e)
ValueVectorElement
initializeValue
in interface ValueVectorElement
public int getNeededByState()
getNeededByState
in interface ValueVectorElement
public void setNeededByState(int n)
setNeededByState
in interface ValueVectorElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |