com.sybase.uep.bobclient.actions
Class PersistElement

java.lang.Object
  extended by com.sybase.uep.bobclient.actions.PersistElement

public class PersistElement
extends java.lang.Object

This is the persist element class

This class will contain information about the variable and control to persist it's value

Author:
tdang

Constructor Summary
PersistElement(java.lang.String variableKey, java.lang.String variableType, java.lang.String type, java.lang.Object value, java.lang.String schemaType)
          Constructor to create the persist element object
 
Method Summary
 java.lang.String getSchemaType()
          Retrieve the schema type for this persist element
 java.lang.String getType()
          Retrieve the type for this persist element
 java.lang.Object getValue()
          Retrieve the value for this persist element
 java.lang.String getVariableKey()
          Retrieve the variable key for this persist element
 java.lang.String getVariableType()
          Retrieve the variable type for this persist element
 void setValue(java.lang.Object value)
          Set the value for this persist element
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistElement

public PersistElement(java.lang.String variableKey,
                      java.lang.String variableType,
                      java.lang.String type,
                      java.lang.Object value,
                      java.lang.String schemaType)
Constructor to create the persist element object

Parameters:
variableKey - String value for the variable key to persist
variableType - String value for the variable type. Can be VariableProperties.VARIABLE_TYPE_USER, VariableProperties.VARIABLE_TYPE_SYSTEM, or VariableProperties.VARIABLE_TYPE_TABLE
type - String value for the type of persist element. Can be VariableProperties.PERSIST_USER_TYPE, and VariableProperties.PERSIST_CONTROL_TYPE
value - Object value of the persist element, can be null
schemaType - String value for the schema type
Method Detail

getVariableKey

public java.lang.String getVariableKey()
Retrieve the variable key for this persist element

Returns:
String value for the variable key

getVariableType

public java.lang.String getVariableType()
Retrieve the variable type for this persist element

Returns:
String value for the variable type

getSchemaType

public java.lang.String getSchemaType()
Retrieve the schema type for this persist element

Returns:
String value for the schema type

getType

public java.lang.String getType()
Retrieve the type for this persist element

Returns:
int value for the type

getValue

public java.lang.Object getValue()
Retrieve the value for this persist element

Returns:
String value for the persist element

setValue

public void setValue(java.lang.Object value)
Set the value for this persist element

Parameters:
value - String value to set