public class AssociationFilter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a filter.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key
The name of the filter.
|
private java.lang.String |
value
The filter value.
|
Constructor and Description |
---|
AssociationFilter() |
Modifier and Type | Method and Description |
---|---|
AssociationFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey()
The name of the filter.
|
java.lang.String |
getValue()
The filter value.
|
int |
hashCode() |
void |
setKey(AssociationFilterKey key)
The name of the filter.
|
void |
setKey(java.lang.String key)
The name of the filter.
|
void |
setValue(java.lang.String value)
The filter value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociationFilter |
withKey(AssociationFilterKey key)
The name of the filter.
|
AssociationFilter |
withKey(java.lang.String key)
The name of the filter.
|
AssociationFilter |
withValue(java.lang.String value)
The filter value.
|
private java.lang.String key
The name of the filter.
private java.lang.String value
The filter value.
public void setKey(java.lang.String key)
The name of the filter.
key
- The name of the filter.AssociationFilterKey
public java.lang.String getKey()
The name of the filter.
AssociationFilterKey
public AssociationFilter withKey(java.lang.String key)
The name of the filter.
key
- The name of the filter.AssociationFilterKey
public void setKey(AssociationFilterKey key)
The name of the filter.
key
- The name of the filter.AssociationFilterKey
public AssociationFilter withKey(AssociationFilterKey key)
The name of the filter.
key
- The name of the filter.AssociationFilterKey
public void setValue(java.lang.String value)
The filter value.
value
- The filter value.public java.lang.String getValue()
The filter value.
public AssociationFilter withValue(java.lang.String value)
The filter value.
value
- The filter value.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 AssociationFilter clone()
clone
in class java.lang.Object