public static class PrimitiveObjectWithRestrictions.Builder extends Object
PrimitiveObjectWithRestrictions.| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
PrimitiveObjectWithRestrictions.builder() instead of private constructor to create new builder. |
protected |
Builder(PrimitiveObjectWithRestrictions pObject)
Use
PrimitiveObjectWithRestrictions.builder(PrimitiveObjectWithRestrictions) instead of private
constructor to create new builder. |
protected Builder()
PrimitiveObjectWithRestrictions.builder() instead of private constructor to create new builder.protected Builder(PrimitiveObjectWithRestrictions pObject)
PrimitiveObjectWithRestrictions.builder(PrimitiveObjectWithRestrictions) instead of private
constructor to create new builder.public PrimitiveObjectWithRestrictions.Builder setABoolean(boolean pABoolean)
aBoolean.pABoolean - Value to which aBoolean should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBBoolean(Boolean pBBoolean)
bBoolean.pBBoolean - Value to which bBoolean should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setCBoolean(boolean pCBoolean)
cBoolean.pCBoolean - Value to which cBoolean should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setAByte(byte pAByte)
aByte.pAByte - Value to which aByte should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBByte(Byte pBByte)
bByte.pBByte - Value to which bByte should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setAShort(short pAShort)
aShort.pAShort - Value to which aShort should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBShort(Short pBShort)
bShort.pBShort - Value to which bShort should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setAInteger(int pAInteger)
aInteger.pAInteger - Value to which aInteger should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBInteger(Integer pBInteger)
bInteger.pBInteger - Value to which bInteger should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setCInteger(Integer pCInteger)
cInteger.pCInteger - Value to which cInteger should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setALong(long pALong)
aLong.pALong - Value to which aLong should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBLong(Long pBLong)
bLong.pBLong - Value to which bLong should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setABigInteger(BigInteger pABigInteger)
aBigInteger.pABigInteger - Value to which aBigInteger should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setACharacter(char pACharacter)
aCharacter.pACharacter - Value to which aCharacter should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBCharacter(Character pBCharacter)
bCharacter.pBCharacter - Value to which bCharacter should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setAFloat(float pAFloat)
aFloat.pAFloat - Value to which aFloat should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBFloat(Float pBFloat)
bFloat.pBFloat - Value to which bFloat should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setADouble(double pADouble)
aDouble.pADouble - Value to which aDouble should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBDouble(Double pBDouble)
bDouble.pBDouble - Value to which bDouble should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setABigDecimal(BigDecimal pABigDecimal)
aBigDecimal.pABigDecimal - Value to which aBigDecimal should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setAString(String pAString)
aString.pAString - Value to which aString should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions.Builder setBString(String pBString)
bString.pBString - Value to which bString should be set.PrimitiveObjectWithRestrictions.Builder Instance of this builder to support chaining setters. Method never returns null.public PrimitiveObjectWithRestrictions build()
public PrimitiveObjectWithRestrictions buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2023. All rights reserved.