Class MultivaluedQueryParamsBean.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.MultivaluedQueryParamsBean.Builder
-
- Enclosing class:
- MultivaluedQueryParamsBean
public static class MultivaluedQueryParamsBean.Builder extends java.lang.ObjectClass implements builder to create a new instance of classMultivaluedQueryParamsBean.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()UseMultivaluedQueryParamsBean.builder()instead of private constructor to create new builder.protectedBuilder(MultivaluedQueryParamsBean pObject)UseMultivaluedQueryParamsBean.builder(MultivaluedQueryParamsBean)instead of private constructor to create new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultivaluedQueryParamsBeanbuild()Method creates a new instance of class MultivaluedQueryParamsBean.MultivaluedQueryParamsBeanbuildValidated()Method creates a new validated instance of class MultivaluedQueryParamsBean.MultivaluedQueryParamsBean.BuildersetIntArray(int[] pIntArray)Method sets attributeintArray.MultivaluedQueryParamsBean.BuildersetIntegers(java.lang.Integer[] pIntegers)Method sets attributeintegers.MultivaluedQueryParamsBean.BuildersetStrings(java.lang.String[] pStrings)Method sets attributestrings.
-
-
-
Constructor Detail
-
Builder
protected Builder()
UseMultivaluedQueryParamsBean.builder()instead of private constructor to create new builder.
-
Builder
protected Builder(MultivaluedQueryParamsBean pObject)
UseMultivaluedQueryParamsBean.builder(MultivaluedQueryParamsBean)instead of private constructor to create new builder.
-
-
Method Detail
-
setIntArray
public MultivaluedQueryParamsBean.Builder setIntArray(int[] pIntArray)
Method sets attributeintArray.- Parameters:
pIntArray- Value to whichintArrayshould be set.- Returns:
MultivaluedQueryParamsBean.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setStrings
public MultivaluedQueryParamsBean.Builder setStrings(java.lang.String[] pStrings)
Method sets attributestrings.- Parameters:
pStrings- Collection to whichstringsshould be set.- Returns:
MultivaluedQueryParamsBean.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setIntegers
public MultivaluedQueryParamsBean.Builder setIntegers(java.lang.Integer[] pIntegers)
Method sets attributeintegers.- Parameters:
pIntegers- Collection to whichintegersshould be set.- Returns:
MultivaluedQueryParamsBean.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
build
public MultivaluedQueryParamsBean build()
Method creates a new instance of class MultivaluedQueryParamsBean. The object will be initialized with the values of the builder.- Returns:
- MultivaluedQueryParamsBean Created object. The method never returns null.
-
buildValidated
public MultivaluedQueryParamsBean buildValidated() throws javax.validation.ConstraintViolationException
Method creates a new validated instance of class MultivaluedQueryParamsBean. The object will be initialized with the values of the builder and validated afterwards.- Returns:
- MultivaluedQueryParamsBean Created and validated object. The method never returns null.
- Throws:
javax.validation.ConstraintViolationException- in case that one or more validations for the created object failed.
-
-