|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthredds.catalog.InvProperty
public class InvProperty
A Property is a name/value pair.
Constructor Summary | |
---|---|
InvProperty()
|
|
InvProperty(String name,
String value)
Constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvProperty()
public InvProperty(String name, String value)
name
- namevalue
- valueMethod Detail |
---|
public String getName()
public String getValue()
public void setValue(String value)
value
- set to this valuepublic String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |