public class CacheNodeTypeSpecificValue
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A value that applies only to a certain cache node type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheNodeType
The cache node type for which this value applies.
|
private java.lang.String |
value
The value for the cache node type.
|
Constructor and Description |
---|
CacheNodeTypeSpecificValue() |
Modifier and Type | Method and Description |
---|---|
CacheNodeTypeSpecificValue |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCacheNodeType()
The cache node type for which this value applies.
|
java.lang.String |
getValue()
The value for the cache node type.
|
int |
hashCode() |
void |
setCacheNodeType(java.lang.String cacheNodeType)
The cache node type for which this value applies.
|
void |
setValue(java.lang.String value)
The value for the cache node type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CacheNodeTypeSpecificValue |
withCacheNodeType(java.lang.String cacheNodeType)
The cache node type for which this value applies.
|
CacheNodeTypeSpecificValue |
withValue(java.lang.String value)
The value for the cache node type.
|
private java.lang.String cacheNodeType
The cache node type for which this value applies.
private java.lang.String value
The value for the cache node type.
public void setCacheNodeType(java.lang.String cacheNodeType)
The cache node type for which this value applies.
cacheNodeType
- The cache node type for which this value applies.public java.lang.String getCacheNodeType()
The cache node type for which this value applies.
public CacheNodeTypeSpecificValue withCacheNodeType(java.lang.String cacheNodeType)
The cache node type for which this value applies.
cacheNodeType
- The cache node type for which this value applies.public void setValue(java.lang.String value)
The value for the cache node type.
value
- The value for the cache node type.public java.lang.String getValue()
The value for the cache node type.
public CacheNodeTypeSpecificValue withValue(java.lang.String value)
The value for the cache node type.
value
- The value for the cache node type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CacheNodeTypeSpecificValue clone()
clone
in class java.lang.Object