Package ro.sync.contentcompletion.xml
Class NameValue
java.lang.Object
ro.sync.contentcompletion.xml.NameValue
- Direct Known Subclasses:
ExternalEntityNameValue
A pair class with name and value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NameValue
Constructor.- Parameters:
name
- The name.value
- The value.
-
NameValue
Constructor.- Parameters:
name
- The name.value
- The value.documentation
- The documentation.
-
-
Method Details
-
getName
Gets the name.- Returns:
- The name.
-
getValue
Gets the value.- Returns:
- The value.
-
getDocumentation
Gets the documentation.- Returns:
- The documentation.
-
toString
Returns the name and value formated as n: name v: value -
equals
Verifies if two objects are equals -
hashCode
public int hashCode() -
setDocumentation
- Parameters:
documentation
- The documentation to set.
-