|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAndBuilder<P>
public class AndBuilder<P>
FitlerBuilder acting as a simple wrapper around an Expression.
Field Summary | |
---|---|
protected FilterFactory |
ff
|
protected List<FilterBuilder> |
list
|
protected P |
parent
|
Constructor Summary | |
---|---|
AndBuilder()
|
|
AndBuilder(P parent)
|
Method Summary | |
---|---|
AndBuilder<P> |
and(Filter filter)
|
And |
build()
Build an And filter |
P |
end()
|
AndBuilder<P> |
fid(List<String> fids)
|
AndBuilder<P> |
fid(String fid)
|
AndBuilder<P> |
reset()
Configure the Builder to produce a default result. |
AndBuilder<P> |
reset(And filter)
Configure the Builder to produce a copy of the provided original. |
AndBuilder<P> |
unset()
Configure the Builder to produce null . |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FilterFactory ff
protected P parent
protected List<FilterBuilder> list
Constructor Detail |
---|
public AndBuilder()
public AndBuilder(P parent)
Method Detail |
---|
public And build()
build
in interface Builder<And>
public AndBuilder<P> fid(String fid)
public AndBuilder<P> and(Filter filter)
public AndBuilder<P> fid(List<String> fids)
public P end()
public AndBuilder<P> reset()
Builder
reset
in interface Builder<And>
public AndBuilder<P> reset(And filter)
Builder
reset
in interface Builder<And>
public AndBuilder<P> unset()
Builder
null
.
This method allows a Builder to be used as a placeholder; in its
unset state the build() method will produce null
. If
any of the builder methods are used the builder will produce a
result.
unset
in interface Builder<And>
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |