|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.sase.engine.ValueVectorElementMax
public class ValueVectorElementMax
This class represents the MAX aggregation.
Constructor Summary | |
---|---|
ValueVectorElementMax()
|
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 neededByState)
|
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 ValueVectorElementMax()
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 initializeValue(Event e)
ValueVectorElement
initializeValue
in interface ValueVectorElement
public void setAttribute(java.lang.String a)
setAttribute
in interface ValueVectorElement
a
- the attribute name to setpublic int getNeededByState()
getNeededByState
in interface ValueVectorElement
public void setNeededByState(int neededByState)
setNeededByState
in interface ValueVectorElement
neededByState
- the neededByState to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |