Class AndBuilder<P>
- Object
-
- AndBuilder<P>
-
-
Field Summary
Fields Modifier and Type Field Description protected FilterFactory
ff
protected List<FilterBuilder>
list
protected P
parent
-
Constructor Summary
Constructors Constructor Description AndBuilder()
AndBuilder(P parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AndBuilder<P>
and(Filter filter)
And
build()
Build an And filterP
end()
AndBuilder<P>
fid(String fid)
AndBuilder<P>
fid(List<String> fids)
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 producenull
.
-
-
-
Field Detail
-
ff
protected FilterFactory ff
-
parent
protected P parent
-
list
protected List<FilterBuilder> list
-
-
Constructor Detail
-
AndBuilder
public AndBuilder()
-
AndBuilder
public AndBuilder(P parent)
-
-
Method Detail
-
build
public And build()
Build an And filter
-
fid
public AndBuilder<P> fid(String fid)
-
and
public AndBuilder<P> and(Filter filter)
-
fid
public AndBuilder<P> fid(List<String> fids)
-
end
public P end()
-
reset
public AndBuilder<P> reset()
Description copied from interface:Builder
Configure the Builder to produce a default result.
-
reset
public AndBuilder<P> reset(And filter)
Description copied from interface:Builder
Configure the Builder to produce a copy of the provided original.
-
unset
public AndBuilder<P> unset()
Description copied from interface:Builder
Configure the Builder to producenull
.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.
-
-