D
- type of the attribute to apply the condition to.public class SetCondition<D> extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SetCondition.Mode
Condition mode.
|
Constructor and Description |
---|
SetCondition(Set<D> values,
SetCondition.Mode mode)
Creates a new set condition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SetCondition.Mode |
getMode()
Gets the mode related to this condition.
|
Set<D> |
getValues()
Gets the values associated with this condition.
|
int |
hashCode() |
String |
toString() |
public SetCondition(Set<D> values, SetCondition.Mode mode)
values
- values to apply the condition against.mode
- the mode to use the condition in.public Set<D> getValues()
public SetCondition.Mode getMode()
Copyright © 2016. All Rights Reserved.