public class InvProperty
extends java.lang.Object
Constructor and Description |
---|
InvProperty() |
InvProperty(java.lang.String name,
java.lang.String value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
public InvProperty()
public InvProperty(java.lang.String name, java.lang.String value)
name
- namevalue
- valuepublic 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