org.palo.api.subsets.filter.settings
Class StringParameter

java.lang.Object
  extended by org.palo.api.subsets.filter.settings.StringParameter
All Implemented Interfaces:
Parameter

public class StringParameter
extends java.lang.Object

StringParameter

An implementation of the Parameter interface for String values.

Version:
$Id: StringParameter.html,v 1.4 2009/07/09 11:01:46 ArndHouben Exp $

Constructor Summary
StringParameter()
          Creates a new unnamed StringParemeter instance
StringParameter(java.lang.String name)
          Creates a new StringParemeter instance with the required name.
 
Method Summary
 void bind(Subset2 subset)
          Binds this parameter to the given Subset2 NOTE: PLEASE DON'T USE!
 java.lang.String getName()
          Returns the parameter name.
 java.lang.String getValue()
          Returns the parameter value
 void setValue(java.lang.String value)
          Sets the parameter value.
 void unbind()
          Releases this parameter from a previously binded Subset2 NOTE: PLEASE DON'T USE!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringParameter

public StringParameter()
Creates a new unnamed StringParemeter instance


StringParameter

public StringParameter(java.lang.String name)
Creates a new StringParemeter instance with the required name.

Parameters:
name - the parameter name. Passing null is valid.
Method Detail

getName

public final java.lang.String getName()
Description copied from interface: Parameter
Returns the parameter name. Note that the name can be null

Returns:
parameter name or null if none was set

getValue

public final java.lang.String getValue()
Description copied from interface: Parameter
Returns the parameter value

Returns:
parameter value or null if none was set

setValue

public final void setValue(java.lang.String value)
Sets the parameter value. Specifying null is allowed.

Parameters:
value - new parameter value

bind

public final void bind(Subset2 subset)
Description copied from interface: Parameter

Binds this parameter to the given Subset2

NOTE: PLEASE DON'T USE! INTERNAL METHOD

Specified by:
bind in interface Parameter

unbind

public final void unbind()
Description copied from interface: Parameter

Releases this parameter from a previously binded Subset2

NOTE: PLEASE DON'T USE! INTERNAL METHOD

Specified by:
unbind in interface Parameter