|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.uadetector.internal.data.domain.BrowserOperatingSystemMapping.Builder
@NotThreadSafe public static final class BrowserOperatingSystemMapping.Builder
| Constructor Summary | |
|---|---|
BrowserOperatingSystemMapping.Builder()
|
|
| Method Summary | |
|---|---|
BrowserOperatingSystemMapping |
build()
Build an instance of BrowserOperatingSystemMapping. |
int |
getBrowserId()
Gets the identification number of a browser entry. |
int |
getOperatingSystemId()
Gets the identification number of an operating system entry. |
BrowserOperatingSystemMapping.Builder |
setBrowserId(int browserId)
Sets the identification number of a browser entry. |
BrowserOperatingSystemMapping.Builder |
setBrowserId(java.lang.String browserId)
Sets the identification number of a browser entry via a string. |
BrowserOperatingSystemMapping.Builder |
setOperatingSystemId(int operatingSystemId)
Sets the identification number of an operating system entry. |
BrowserOperatingSystemMapping.Builder |
setOperatingSystemId(java.lang.String operatingSystemId)
Sets the identification number of an operating system entry via a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BrowserOperatingSystemMapping.Builder()
| Method Detail |
|---|
@Nonnull public BrowserOperatingSystemMapping build()
BrowserOperatingSystemMapping.
BrowserOperatingSystemMapping
net.sf.qualitycheck.exception.IllegalNegativeArgumentException - if one of the needed arguments to build an instance of BrowserOperatingSystemMapping is
invalid
net.sf.qualitycheck.exception.IllegalNullArgumentException - if one of the needed arguments to build an instance of BrowserOperatingSystemMapping is
invalidpublic int getBrowserId()
public int getOperatingSystemId()
@Nonnull
public BrowserOperatingSystemMapping.Builder setBrowserId(@Nonnegative
int browserId)
browserId - identification number
net.sf.qualitycheck.exception.IllegalNegativeArgumentException - if the given number is smaller than 0
@Nonnull
public BrowserOperatingSystemMapping.Builder setBrowserId(@Nonnull
java.lang.String browserId)
browserId - identification number (as a String)
net.sf.qualitycheck.exception.IllegalNullArgumentException - if the given argument is null
java.lang.NumberFormatException - if the string can not be interpreted as a number
net.sf.qualitycheck.exception.IllegalNegativeArgumentException - if the interpreted number is smaller than 0
@Nonnull
public BrowserOperatingSystemMapping.Builder setOperatingSystemId(@Nonnegative
int operatingSystemId)
operatingSystemId - identification number
net.sf.qualitycheck.exception.IllegalNegativeArgumentException - if the given number is smaller than 0
@Nonnull
public BrowserOperatingSystemMapping.Builder setOperatingSystemId(@Nonnull
java.lang.String operatingSystemId)
operatingSystemId - identification number (as a String)
net.sf.qualitycheck.exception.IllegalNullArgumentException - if the given argument is null
java.lang.NumberFormatException - if the string can not be interpreted as a number
net.sf.qualitycheck.exception.IllegalNegativeArgumentException - if the interpreted number is smaller than 0
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||