|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.uadetector.internal.data.domain.BrowserType.Builder
@NotThreadSafe public static final class BrowserType.Builder
| Constructor Summary | |
|---|---|
BrowserType.Builder()
|
|
| Method Summary | |
|---|---|
BrowserType |
build()
Builds a new instance of BrowserType and returns it. |
BrowserType.Builder |
setId(int id)
Sets the identification number (ID). |
BrowserType.Builder |
setId(java.lang.String id)
Sets the identification number via a string. |
BrowserType.Builder |
setName(java.lang.String name)
Sets the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrowserType.Builder()
| Method Detail |
|---|
@Nonnull public BrowserType build()
BrowserType and returns it.
BrowserType
net.sf.qualitycheck.exception.IllegalNegativeArgumentException - if one of the needed arguments to build an instance of BrowserType is invalid
net.sf.qualitycheck.exception.IllegalNullArgumentException - if one of the needed arguments to build an instance of BrowserType is invalid
@Nonnull
public BrowserType.Builder setId(@Nonnegative
int id)
id - ID of browser type
@Nonnull
public BrowserType.Builder setId(@Nonnull
java.lang.String id)
NumberFormatException will be thrown.
id - ID of browser type
@Nonnull
public BrowserType.Builder setName(@Nonnull
java.lang.String name)
name - name of the browser type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||