Overview  Package   Class  Tree  Index 

be.lassi.base
Class StringHolder

java.lang.Object
  extended by be.lassi.base.AbstractHolder
      extended by be.lassi.base.Holder<java.lang.String>
          extended by be.lassi.base.StringHolder
All Implemented Interfaces:
NamedValue, java.io.Serializable

public class StringHolder
extends Holder<java.lang.String>

A value holder for String values.

See Also:
Serialized Form

Constructor Summary
StringHolder()
          Constructs a new instance.
StringHolder(java.lang.String name, java.lang.String value)
          Constructs a new instance.
 
Method Summary
 boolean equals(java.lang.Object object)
          
 int hashCode()
          
 void setStringValue(java.lang.String value)
          Sets the value in string format.
 
Methods inherited from class be.lassi.base.Holder
add, getStringValue, getValue, printListeners, remove, setValue, setValue
 
Methods inherited from class be.lassi.base.AbstractHolder
getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringHolder

public StringHolder()
Constructs a new instance.


StringHolder

public StringHolder(java.lang.String name,
                    java.lang.String value)
Constructs a new instance.

Parameters:
name - the value holder name
value - the initial string value
Method Detail

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class Holder<java.lang.String>

hashCode

public int hashCode()

Overrides:
hashCode in class Holder<java.lang.String>

setStringValue

public void setStringValue(java.lang.String value)
Sets the value in string format.

Specified by:
setStringValue in interface NamedValue
Overrides:
setStringValue in class Holder<java.lang.String>
Parameters:
value - the value to be set in string format

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2