public class CacheNodeTypeSpecificValue extends Object implements Serializable, Cloneable
A value that applies only to a certain cache node type.
Constructor and Description |
---|
CacheNodeTypeSpecificValue()
Default constructor for a new CacheNodeTypeSpecificValue object.
|
Modifier and Type | Method and Description |
---|---|
CacheNodeTypeSpecificValue |
clone() |
boolean |
equals(Object obj) |
String |
getCacheNodeType()
The cache node type for which this value applies.
|
String |
getValue()
The value for the cache node type.
|
int |
hashCode() |
void |
setCacheNodeType(String cacheNodeType)
The cache node type for which this value applies.
|
void |
setValue(String value)
The value for the cache node type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CacheNodeTypeSpecificValue |
withCacheNodeType(String cacheNodeType)
The cache node type for which this value applies.
|
CacheNodeTypeSpecificValue |
withValue(String value)
The value for the cache node type.
|
public CacheNodeTypeSpecificValue()
public String getCacheNodeType()
public void setCacheNodeType(String cacheNodeType)
cacheNodeType
- The cache node type for which this value applies.public CacheNodeTypeSpecificValue withCacheNodeType(String cacheNodeType)
Returns a reference to this object so that method calls can be chained together.
cacheNodeType
- The cache node type for which this value applies.public String getValue()
public void setValue(String value)
value
- The value for the cache node type.public CacheNodeTypeSpecificValue withValue(String value)
Returns a reference to this object so that method calls can be chained together.
value
- The value for the cache node type.public String toString()
toString
in class Object
Object.toString()
public CacheNodeTypeSpecificValue clone()
Copyright © 2016. All rights reserved.