public class CommandFilter extends Object implements Serializable, Cloneable
Describes a command filter.
| Constructor and Description |
|---|
CommandFilter() |
| Modifier and Type | Method and Description |
|---|---|
CommandFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
String |
getValue()
The filter value.
|
int |
hashCode() |
void |
setKey(CommandFilterKey key)
The name of the filter.
|
void |
setKey(String key)
The name of the filter.
|
void |
setValue(String value)
The filter value.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CommandFilter |
withKey(CommandFilterKey key)
The name of the filter.
|
CommandFilter |
withKey(String key)
The name of the filter.
|
CommandFilter |
withValue(String value)
The filter value.
|
public void setKey(String key)
The name of the filter. For example, requested date and time.
key - The name of the filter. For example, requested date and time.CommandFilterKeypublic String getKey()
The name of the filter. For example, requested date and time.
CommandFilterKeypublic CommandFilter withKey(String key)
The name of the filter. For example, requested date and time.
key - The name of the filter. For example, requested date and time.CommandFilterKeypublic void setKey(CommandFilterKey key)
The name of the filter. For example, requested date and time.
key - The name of the filter. For example, requested date and time.CommandFilterKeypublic CommandFilter withKey(CommandFilterKey key)
The name of the filter. For example, requested date and time.
key - The name of the filter. For example, requested date and time.CommandFilterKeypublic void setValue(String value)
The filter value. For example: June 30, 2015.
value - The filter value. For example: June 30, 2015.public String getValue()
The filter value. For example: June 30, 2015.
public CommandFilter withValue(String value)
The filter value. For example: June 30, 2015.
value - The filter value. For example: June 30, 2015.public String toString()
toString in class ObjectObject.toString()public CommandFilter clone()
Copyright © 2016. All rights reserved.