public class QField<R extends QField<R,?>,T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected QCriteria<T> |
m_criteria |
protected QBrace |
m_qBrace |
protected R |
m_root |
| Constructor and Description |
|---|
QField(R root,
QField<R,?> parent,
String propertyNameInParent) |
| Modifier and Type | Method and Description |
|---|---|
R |
_$()
Brace close, can be places anywhere natural.
|
R |
$_()
Brace open, can be places anywhere natural.
|
QCriteria<?> |
criteria() |
R |
eq(T... t)
equals
|
protected void |
eqOrOr(IRestrictor<T> irestrictor,
T... v)
One value will have it's natural way.
|
R |
gt(T... t)
greater then
|
R |
ne(T... t)
not equals
|
R |
or()
or's the next restriction to this one as opposed to the original api where
you call or before any thing that has to be or-ed.
|
List<T> |
query(QDataContext dc)
Call this on the root query, any other attempt will give a runtime exception.
|
T |
queryOne(QDataContext dc)
Call this on the root query, any other attempt will give a runtime exception.
|
String |
toString() |
protected void |
validateGetCriteria() |
protected QBrace m_qBrace
@Nonnull public final R or()
protected final void eqOrOr(@Nonnull IRestrictor<T> irestrictor, @Nonnull T... v)
irestrictor - v - @Nonnull public final R $_()
@Nonnull public final R _$() throws Exception
Exception@Nonnull public final List<T> query(@Nonnull QDataContext dc) throws Exception
dc - Exception@Nullable public final T queryOne(@Nonnull QDataContext dc) throws Exception
dc - ExceptionCopyright © 2017 etc.to. All rights reserved.