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 String getKey()
Constraints:
Allowed Values: Name
DocumentFilterKeypublic void setKey(String key)
Constraints:
Allowed Values: Name
key - The name of the filter.DocumentFilterKeypublic DocumentFilter withKey(String key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Name
key - The name of the filter.DocumentFilterKeypublic void setKey(DocumentFilterKey key)
Constraints:
Allowed Values: Name
key - The name of the filter.DocumentFilterKeypublic DocumentFilter withKey(DocumentFilterKey key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Name
key - The name of the filter.DocumentFilterKeypublic String getValue()
Constraints:
Length: 1 -
public void setValue(String value)
Constraints:
Length: 1 -
value - The value of the filter.public DocumentFilter withValue(String value)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
value - The value of the filter.public String toString()
toString in class ObjectObject.toString()public DocumentFilter clone()
Copyright © 2015. All rights reserved.