com.plumtree.server.condition
Interface IValue


public interface IValue

An IValue is a value set by a user for a specific condition instance. Example: conditional expression is "if community = 10"; the value is 10.

Author:
dustina

Method Summary
 int GetType()
          Gets the type of the value in order to know how to use it.
 java.lang.Object GetValue()
          Gets the value object stored as a generic object.
 void SetType(int nValueType)
          Sets the type fo the value object.
 void SetValue(java.lang.Object objValue)
          Sets the value object to be stored.
 

Method Detail

GetType

int GetType()
Gets the type of the value in order to know how to use it.

Returns:
the type of the value

SetType

void SetType(int nValueType)
Sets the type fo the value object.

Parameters:
nValueType - - the value type to be stored

GetValue

java.lang.Object GetValue()
Gets the value object stored as a generic object. Call GetType() to find out the type of the value.

Returns:
value as a generic object

SetValue

void SetValue(java.lang.Object objValue)
Sets the value object to be stored. It will be stored as a generic object.

Parameters:
objValue - - the value to be stored


Copyright © 2008 Plumtree Software Inc. All Rights Reserved.