@API(type=EXTENDABLE,
src=PRIVATE)
public class NameValue
extends java.lang.Object
Constructor and Description |
---|
NameValue(java.lang.String name,
java.lang.String value)
Constructor.
|
NameValue(java.lang.String name,
java.lang.String value,
java.lang.String documentation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Verifies if two objects are equals
|
java.lang.String |
getDocumentation()
Gets the documentation.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getValue()
Gets the value.
|
int |
hashCode() |
void |
setDocumentation(java.lang.String documentation) |
java.lang.String |
toString()
Returns the name and value formated as n: name v: value
|
public NameValue(java.lang.String name, java.lang.String value)
name
- The name.value
- The value.public NameValue(java.lang.String name, java.lang.String value, java.lang.String documentation)
name
- The name.value
- The value.documentation
- The documentation.public java.lang.String getName()
public java.lang.String getValue()
public java.lang.String getDocumentation()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- The object to compare to.public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public void setDocumentation(java.lang.String documentation)
documentation
- The documentation to set.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.