Class PrimitiveArraysObjectWithRestrictions.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.PrimitiveArraysObjectWithRestrictions.Builder
-
- Enclosing class:
- PrimitiveArraysObjectWithRestrictions
public static class PrimitiveArraysObjectWithRestrictions.Builder extends java.lang.ObjectClass implements builder to create a new instance of classPrimitiveArraysObjectWithRestrictions.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()UsePrimitiveArraysObjectWithRestrictions.builder()instead of private constructor to create new builder.protectedBuilder(PrimitiveArraysObjectWithRestrictions pObject)UsePrimitiveArraysObjectWithRestrictions.builder(PrimitiveArraysObjectWithRestrictions)instead of private constructor to create new builder.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
protected Builder()
UsePrimitiveArraysObjectWithRestrictions.builder()instead of private constructor to create new builder.
-
Builder
protected Builder(PrimitiveArraysObjectWithRestrictions pObject)
UsePrimitiveArraysObjectWithRestrictions.builder(PrimitiveArraysObjectWithRestrictions)instead of private constructor to create new builder.
-
-
Method Detail
-
setABooleanArray
public PrimitiveArraysObjectWithRestrictions.Builder setABooleanArray(boolean[] pABooleanArray)
Method sets attributeaBooleanArray.- Parameters:
pABooleanArray- Value to whichaBooleanArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBBooleanArray
public PrimitiveArraysObjectWithRestrictions.Builder setBBooleanArray(java.lang.Boolean[] pBBooleanArray)
Method sets attributebBooleanArray.- Parameters:
pBBooleanArray- Collection to whichbBooleanArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setCBooleanArray
public PrimitiveArraysObjectWithRestrictions.Builder setCBooleanArray(boolean[] pCBooleanArray)
Method sets attributecBooleanArray.- Parameters:
pCBooleanArray- Value to whichcBooleanArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setAByteArray
public PrimitiveArraysObjectWithRestrictions.Builder setAByteArray(byte[] pAByteArray)
Method sets attributeaByteArray.- Parameters:
pAByteArray- Value to whichaByteArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBByteArray
public PrimitiveArraysObjectWithRestrictions.Builder setBByteArray(java.lang.Byte[] pBByteArray)
Method sets attributebByteArray.- Parameters:
pBByteArray- Collection to whichbByteArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setAShortArray
public PrimitiveArraysObjectWithRestrictions.Builder setAShortArray(short[] pAShortArray)
Method sets attributeaShortArray.- Parameters:
pAShortArray- Value to whichaShortArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBShortArray
public PrimitiveArraysObjectWithRestrictions.Builder setBShortArray(java.lang.Short[] pBShortArray)
Method sets attributebShortArray.- Parameters:
pBShortArray- Collection to whichbShortArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setAIntegerArray
public PrimitiveArraysObjectWithRestrictions.Builder setAIntegerArray(int[] pAIntegerArray)
Method sets attributeaIntegerArray.- Parameters:
pAIntegerArray- Value to whichaIntegerArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBIntegerArray
public PrimitiveArraysObjectWithRestrictions.Builder setBIntegerArray(java.lang.Integer[] pBIntegerArray)
Method sets attributebIntegerArray.- Parameters:
pBIntegerArray- Collection to whichbIntegerArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setCIntegerArray
public PrimitiveArraysObjectWithRestrictions.Builder setCIntegerArray(java.lang.Integer[] pCIntegerArray)
Method sets attributecIntegerArray.- Parameters:
pCIntegerArray- Collection to whichcIntegerArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setALongArray
public PrimitiveArraysObjectWithRestrictions.Builder setALongArray(long[] pALongArray)
Method sets attributeaLongArray.- Parameters:
pALongArray- Value to whichaLongArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBLongArray
public PrimitiveArraysObjectWithRestrictions.Builder setBLongArray(java.lang.Long[] pBLongArray)
Method sets attributebLongArray.- Parameters:
pBLongArray- Collection to whichbLongArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setABigIntegerArray
public PrimitiveArraysObjectWithRestrictions.Builder setABigIntegerArray(java.math.BigInteger[] pABigIntegerArray)
Method sets attributeaBigIntegerArray.- Parameters:
pABigIntegerArray- Collection to whichaBigIntegerArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setACharacterArray
public PrimitiveArraysObjectWithRestrictions.Builder setACharacterArray(char[] pACharacterArray)
Method sets attributeaCharacterArray.- Parameters:
pACharacterArray- Value to whichaCharacterArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBCharacterArray
public PrimitiveArraysObjectWithRestrictions.Builder setBCharacterArray(java.lang.Character[] pBCharacterArray)
Method sets attributebCharacterArray.- Parameters:
pBCharacterArray- Collection to whichbCharacterArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setAFloatArray
public PrimitiveArraysObjectWithRestrictions.Builder setAFloatArray(float[] pAFloatArray)
Method sets attributeaFloatArray.- Parameters:
pAFloatArray- Value to whichaFloatArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBFloatArray
public PrimitiveArraysObjectWithRestrictions.Builder setBFloatArray(java.lang.Float[] pBFloatArray)
Method sets attributebFloatArray.- Parameters:
pBFloatArray- Collection to whichbFloatArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setADoubleArray
public PrimitiveArraysObjectWithRestrictions.Builder setADoubleArray(double[] pADoubleArray)
Method sets attributeaDoubleArray.- Parameters:
pADoubleArray- Value to whichaDoubleArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBDoubleArray
public PrimitiveArraysObjectWithRestrictions.Builder setBDoubleArray(java.lang.Double[] pBDoubleArray)
Method sets attributebDoubleArray.- Parameters:
pBDoubleArray- Collection to whichbDoubleArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setABigDecimalArray
public PrimitiveArraysObjectWithRestrictions.Builder setABigDecimalArray(java.math.BigDecimal[] pABigDecimalArray)
Method sets attributeaBigDecimalArray.- Parameters:
pABigDecimalArray- Collection to whichaBigDecimalArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setAStringArray
public PrimitiveArraysObjectWithRestrictions.Builder setAStringArray(java.lang.String[] pAStringArray)
Method sets attributeaStringArray.- Parameters:
pAStringArray- Collection to whichaStringArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBStringArray
public PrimitiveArraysObjectWithRestrictions.Builder setBStringArray(java.lang.String[] pBStringArray)
Method sets attributebStringArray.- Parameters:
pBStringArray- Collection to whichbStringArrayshould be set.- Returns:
PrimitiveArraysObjectWithRestrictions.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
build
public PrimitiveArraysObjectWithRestrictions build()
Method creates a new instance of class PrimitiveArraysObjectWithRestrictions. The object will be initialized with the values of the builder.- Returns:
- PrimitiveArraysObjectWithRestrictions Created object. The method never returns null.
-
buildValidated
public PrimitiveArraysObjectWithRestrictions buildValidated() throws javax.validation.ConstraintViolationException
Method creates a new validated instance of class PrimitiveArraysObjectWithRestrictions. The object will be initialized with the values of the builder and validated afterwards.- Returns:
- PrimitiveArraysObjectWithRestrictions 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.
-
-