org.xulux.dataprovider.bean
Class BeanParameter

java.lang.Object
  extended by org.xulux.dataprovider.bean.BeanParameter

public class BeanParameter
extends java.lang.Object

Place holder and utility class for the parameter list that a method may need to get or set appropiate data.

Version:
$Id: BeanParameter.java,v 1.1 2005/12/18 12:58:23 mvdb Exp $
Author:
Martin van den Bemt

Constructor Summary
BeanParameter()
           
BeanParameter(java.lang.String type, java.lang.String value)
          Convenient constructor
 
Method Summary
 java.lang.Object getObject()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 void setType(java.lang.String type)
          Set the type.
 void setValue(java.lang.String value)
          Set the value of the type eg "M" or eg StaticClass.M
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanParameter

public BeanParameter()

BeanParameter

public BeanParameter(java.lang.String type,
                     java.lang.String value)
Convenient constructor

Parameters:
type - the type of parameter
value - the value of the type
Method Detail

getType

public java.lang.String getType()
Returns:
the type of parameter

getValue

public java.lang.String getValue()
Returns:
the value of the type (eg string, className or className+field)

setType

public void setType(java.lang.String type)
Set the type. String or static

Parameters:
type - the type of parameter

setValue

public void setValue(java.lang.String value)
Set the value of the type eg "M" or eg StaticClass.M

Parameters:
value - the value of the type

getObject

public java.lang.Object getObject()
Returns:
the object that contains the value we need to pass as the parameter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2006-2007 Martin van den Bemt. All Rights Reserved.