public class WithBuilder extends Object
| Constructor and Description |
|---|
WithBuilder(int id)
Create the first ID in the string
|
WithBuilder(String id)
Create the first ID in the string
|
| Modifier and Type | Method and Description |
|---|---|
WithBuilder |
and(int id)
Add an "AND ID"
|
WithBuilder |
and(String id)
Add an "AND ID"
|
String |
build()
Generate the string to pass to the method
|
WithBuilder |
or(int id)
Add an "OR ID"
|
WithBuilder |
or(String id)
Add an "OR ID"
|
String |
toString()
Generate the string to pass to the method
|
public WithBuilder(int id)
id - public WithBuilder(String id)
id - public String build()
public String toString()
public WithBuilder and(int id)
id - public WithBuilder and(String id)
id - public WithBuilder or(int id)
id - public WithBuilder or(String id)
id - Copyright © 2012–2017. All rights reserved.