Serializable
, Cloneable
, Comparable<Entity>
, Entity
public class NameValuePair extends AbstractEntity
AbstractEntity.CreateDateComparator, AbstractEntity.IdComparator, AbstractEntity.LastModifiedDateComparator
Modifier and Type | Field | Description |
---|---|---|
static Comparator<NameValuePair> |
KEY_COMPARATOR |
|
static Comparator<NameValuePair> |
VALUE_COMPARATOR |
CREATE_DATE_COMPARATOR, ID_COMPARATOR, LAST_MODIFIED_DATE_COMPARATOR
Constructor | Description |
---|---|
NameValuePair(String name,
String value) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareKeyTo(NameValuePair other) |
|
int |
compareValueTo(NameValuePair other) |
|
String |
getName() |
Returns the name of the name/value pair.
|
String |
getValue() |
Returns the value of the name/value pair.
|
void |
setName(String name) |
Sets the name of the name/value pair.
|
void |
setValue(String value) |
Sets the value of the name/value pair.
|
String |
toString() |
clone, compareTo, equals, getCreateDate, getId, getLastModifiedDate, hashCode, isNew, setCreateDate, setId, setLastModifiedDate
public static final Comparator<NameValuePair> KEY_COMPARATOR
public static final Comparator<NameValuePair> VALUE_COMPARATOR
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public int compareKeyTo(NameValuePair other)
public int compareValueTo(NameValuePair other)
Copyright © 2002–2019 itracker. All rights reserved.