net.mlw.vlh.adapter.jdbc.util
Class NamedPair

java.lang.Object
  extended bynet.mlw.vlh.adapter.jdbc.util.NamedPair

public class NamedPair
extends Object

A Simple class that contains a key and a value.

Version:
$Revision: 1.2 $ $Date: 2004/08/10 20:41:32 $
Author:
Matthew L. Wilson

Constructor Summary
NamedPair(String name, Object value)
          Default constructor.
 
Method Summary
 String getName()
          Gets the name of the property.
 Object getValue()
          Gets the value of the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedPair

public NamedPair(String name,
                 Object value)
Default constructor.

Parameters:
name - The name of the property.
value - The value of the property.
Method Detail

getName

public String getName()
Gets the name of the property.

Returns:
Returns the name.

getValue

public Object getValue()
Gets the value of the property.

Returns:
Returns the value.


Copyright © 2003-2006 mlavilson. All Rights Reserved.