Package thredds.catalog
Class InvProperty
- java.lang.Object
-
- thredds.catalog.InvProperty
-
- Direct Known Subclasses:
DataRootConfig
public class InvProperty extends Object
A Property is a name/value pair.
-
-
Constructor Summary
Constructors Constructor Description InvProperty()
InvProperty(String name, String value)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
InvProperty elements with same name are equal.String
getName()
Get the name of the property.String
getValue()
Get the value of the property.int
hashCode()
Override Object.hashCode() to be consistent with equals.void
setValue(String value)
Set the value of the property.String
toString()
string representation
-
-
-
Method Detail
-
getName
public String getName()
Get the name of the property.- Returns:
- the name of the property.
-
getValue
public String getValue()
Get the value of the property.- Returns:
- the value of the property.
-
setValue
public void setValue(String value)
Set the value of the property.- Parameters:
value
- set to this value
-
equals
public boolean equals(Object o)
InvProperty elements with same name are equal.
-
-