public class DocumentFilter extends Object implements Serializable, Cloneable
Describes a filter.
Constructor and Description |
---|
DocumentFilter() |
Modifier and Type | Method and Description |
---|---|
DocumentFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
String |
getValue()
The value of the filter.
|
int |
hashCode() |
void |
setKey(DocumentFilterKey key)
The name of the filter.
|
void |
setKey(String key)
The name of the filter.
|
void |
setValue(String value)
The value of the filter.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentFilter |
withKey(DocumentFilterKey key)
The name of the filter.
|
DocumentFilter |
withKey(String key)
The name of the filter.
|
DocumentFilter |
withValue(String value)
The value of the filter.
|
public void setKey(String key)
The name of the filter.
key
- The name of the filter.DocumentFilterKey
public String getKey()
The name of the filter.
DocumentFilterKey
public DocumentFilter withKey(String key)
The name of the filter.
key
- The name of the filter.DocumentFilterKey
public void setKey(DocumentFilterKey key)
The name of the filter.
key
- The name of the filter.DocumentFilterKey
public DocumentFilter withKey(DocumentFilterKey key)
The name of the filter.
key
- The name of the filter.DocumentFilterKey
public void setValue(String value)
The value of the filter.
value
- The value of the filter.public String getValue()
The value of the filter.
public DocumentFilter withValue(String value)
The value of the filter.
value
- The value of the filter.public String toString()
toString
in class Object
Object.toString()
public DocumentFilter clone()
Copyright © 2018. All rights reserved.