com.espertech.esper.client
Class ConfigurationVariable

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationVariable
All Implemented Interfaces:
Serializable

public class ConfigurationVariable
extends Object
implements Serializable

Provides variable configuration.

See Also:
Serialized Form

Constructor Summary
ConfigurationVariable()
           
 
Method Summary
 Object getInitializationValue()
          Returns the initialization value, or null if none was supplied.
 Class getType()
          Returns the variable type.
 void setInitializationValue(Object initializationValue)
          Sets the variable type.
 void setType(Class type)
          Sets the variable type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationVariable

public ConfigurationVariable()
Method Detail

getType

public Class getType()
Returns the variable type.

Variables are scalar values and primitive or boxed Java builtin types are accepted.

Returns:
variable type

setType

public void setType(Class type)
Sets the variable type.

Variables are scalar values and primitive or boxed Java builtin types are accepted.

Parameters:
type - variable type

getInitializationValue

public Object getInitializationValue()
Returns the initialization value, or null if none was supplied.

String-type initialization values for numeric or boolean types are allowed and are parsed.

Returns:
default value

setInitializationValue

public void setInitializationValue(Object initializationValue)
Sets the variable type.

Variables are scalar values and primitive or boxed Java builtin types are accepted.

Parameters:
initializationValue - the default value or null if the default value is null

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com