public class Restriction<T>
extends java.lang.Object
NameServiceImplTest.testFindByTitle()
for usage examples.Modifier and Type | Class and Description |
---|---|
static class |
Restriction.Operator |
Constructor and Description |
---|
Restriction() |
Restriction(java.lang.String propertyName,
MatchMode matchMode,
T... values) |
Restriction(java.lang.String propertyName,
Restriction.Operator operator,
MatchMode matchMode,
T... values) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(T value) |
MatchMode |
getMatchMode() |
Restriction.Operator |
getOperator() |
java.lang.String |
getPropertyName() |
java.util.List<T> |
getValues() |
boolean |
isNot() |
void |
setMatchMode(MatchMode matchMode) |
void |
setOperator(Restriction.Operator operator) |
void |
setPropertyName(java.lang.String propertyName) |
void |
setValues(java.util.List<T> values) |
public Restriction()
public Restriction(java.lang.String propertyName, MatchMode matchMode, T... values)
propertyName
- matchMode
- is only applied if the value
is a String
objectpublic Restriction(java.lang.String propertyName, Restriction.Operator operator, MatchMode matchMode, T... values)
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String propertyName)
public MatchMode getMatchMode()
public void setMatchMode(MatchMode matchMode)
public java.util.List<T> getValues()
null
public void setValues(java.util.List<T> values)
public void addValue(T value)
public Restriction.Operator getOperator()
public void setOperator(Restriction.Operator operator)
public boolean isNot()
Copyright © 2007-2020 EDIT. All Rights Reserved.