thredds.catalog
Class InvProperty

java.lang.Object
  extended by thredds.catalog.InvProperty

public class InvProperty
extends java.lang.Object

A Property is a name/value pair.

Version:
$Revision: 48 $ $Date: 2006-07-12 16:15:40Z $
Author:
john caron

Constructor Summary
InvProperty()
           
InvProperty(java.lang.String name, java.lang.String value)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          InvProperty elements with same name are equal.
 java.lang.String getName()
          Get the name of the property.
 java.lang.String getValue()
          Get the value of the property.
 int hashCode()
          Override Object.hashCode() to be consistent with equals.
 java.lang.String toString()
          string representation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvProperty

public InvProperty()

InvProperty

public InvProperty(java.lang.String name,
                   java.lang.String value)
Constructor

Method Detail

getName

public java.lang.String getName()
Get the name of the property.


getValue

public java.lang.String getValue()
Get the value of the property.


toString

public java.lang.String toString()
string representation

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
InvProperty elements with same name are equal.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Override Object.hashCode() to be consistent with equals.

Overrides:
hashCode in class java.lang.Object