|
||||||||||
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(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. |
void |
setValue(java.lang.String value)
Set the value of the property. |
java.lang.String |
toString()
string representation |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvProperty()
public InvProperty(java.lang.String name, java.lang.String value)
name
- namevalue
- valueMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- set to this valuepublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |