net.esper.type
Class ByteValue

java.lang.Object
  extended by net.esper.type.PrimitiveValueBase
      extended by net.esper.type.ByteValue
All Implemented Interfaces:
PrimitiveValue

public final class ByteValue
extends PrimitiveValueBase

Placeholder for a byte value in an event expression.


Constructor Summary
ByteValue()
           
 
Method Summary
 PrimitiveValueType getType()
          Returns the type of primitive value this instance represents.
 Object getValueObject()
          Returns a value object.
 void parse(String value)
          Parse the string literal value into the specific data type.
 void setByte(byte x)
          Set a byte value.
 String toString()
           
 
Methods inherited from class net.esper.type.PrimitiveValueBase
parse, setBoolean, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteValue

public ByteValue()
Method Detail

getType

public PrimitiveValueType getType()
Description copied from interface: PrimitiveValue
Returns the type of primitive value this instance represents.

Returns:
enum type of primitive

parse

public final void parse(String value)
Description copied from interface: PrimitiveValue
Parse the string literal value into the specific data type.

Parameters:
value - is the textual value to parse

getValueObject

public final Object getValueObject()
Description copied from interface: PrimitiveValue
Returns a value object.

Returns:
value object

setByte

public final void setByte(byte x)
Description copied from interface: PrimitiveValue
Set a byte value.

Specified by:
setByte in interface PrimitiveValue
Overrides:
setByte in class PrimitiveValueBase
Parameters:
x - is the value to set

toString

public final String toString()
Overrides:
toString in class Object