com.parabon.common
Interface ParameterValue

All Superinterfaces:
java.io.Externalizable, com.parabon.util.ObjectPool.Destroyable, com.parabon.util.ObjectPool.Reclaimable, java.io.Serializable
All Known Implementing Classes:
ArrayParameterValue, BinaryParameterValue, BooleanParameterValue, DataReferenceParameterValue, DateParameterValue, IntegerParameterValue, NamedParameterMap, ScalarParameterValue, StringParameterValue

public interface ParameterValue
extends com.parabon.util.ObjectPool.Reclaimable, com.parabon.util.ObjectPool.Destroyable, java.io.Externalizable

Interface to group the set of value types which may be represented in the parameter value abstraction scheme -- that is, those which may be passed around as task/checkpoint state, results, attributes, etc, and encoded in a canonical manner to be passed between clients, servers, and providers. To be implemented only by classes within com.parabon, not by client code.


Method Summary
 ParameterValue cloneParameterValue(com.parabon.util.ObjectPool pool)
           Creates a functional copy of the ParameterValue, using the specified ObjectPool for instantiation.
 byte[] getBinaryValue()
           
 boolean getBooleanValue()
           
 java.util.Date getDateValue()
           
 double getDoubleValue()
           
 float getFloatValue()
           
 int getIntValue()
           
 long getLongValue()
           
 java.lang.String getStringValue()
           
 
Methods inherited from interface com.parabon.util.ObjectPool.Reclaimable
reclaim
 
Methods inherited from interface com.parabon.util.ObjectPool.Destroyable
destroy
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

cloneParameterValue

ParameterValue cloneParameterValue(com.parabon.util.ObjectPool pool)

Creates a functional copy of the ParameterValue, using the specified ObjectPool for instantiation. A null value for the pool is acceptable.


getBooleanValue

boolean getBooleanValue()

getLongValue

long getLongValue()

getIntValue

int getIntValue()

getDoubleValue

double getDoubleValue()

getFloatValue

float getFloatValue()

getStringValue

java.lang.String getStringValue()

getDateValue

java.util.Date getDateValue()

getBinaryValue

byte[] getBinaryValue()