public class AssociationValue extends Object implements Serializable
Constructor and Description |
---|
AssociationValue(String key,
String value)
Creates a Association Value instance with the given
key and value . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getKey()
Returns the key of this association value.
|
String |
getValue()
Returns the value of this association.
|
int |
hashCode() |
public AssociationValue(String key, String value)
key
and value
.key
- The key of the Association Value. Usually indicates where the value comes from.value
- The value corresponding to the key of the association. It is highly recommended to only use
serializable values.public String getKey()
public String getValue()
null
.Copyright © 2010–2019. All rights reserved.