jsky.util
Class NameValue

java.lang.Object
  extended by jsky.util.NameValue

public class NameValue
extends Object

A simple class containing a name and an associated value.

Version:
$Revision: 1.4 $
Author:
Allan Brighton

Constructor Summary
NameValue()
           
NameValue(String name, Object value)
           
 
Method Summary
 String getName()
           
 Object getValue()
           
 void setName(String name)
           
 void setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameValue

public NameValue()

NameValue

public NameValue(String name,
                 Object value)
Method Detail

setName

public void setName(String name)

getName

public String getName()

setValue

public void setValue(Object value)

getValue

public Object getValue()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.