Class ChildAA.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ParentClass.Builder
-
- com.anaptecs.jeaf.junit.openapi.base.ChildA.Builder
-
- com.anaptecs.jeaf.junit.openapi.base.ChildAA.Builder
-
- Enclosing class:
- ChildAA
@Deprecated public static class ChildAA.Builder extends ChildA.Builder
Deprecated.Class implements builder to create a new instance of classChildAA.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()Deprecated.UseChildAA.builder()instead of private constructor to create new builder.protectedBuilder(ChildAA pObject)Deprecated.UseChildAA.builder(ChildAA)instead of private constructor to create new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChildAAbuild()Deprecated.Method creates a new instance of class ChildAA.ChildAAbuildValidated()Deprecated.Method creates a new validated instance of class ChildAA.ChildAA.BuildersetBigIntegerCode(BigIntegerCode pBigIntegerCode)Deprecated.Method sets attributebigIntegerCode.ChildAA.BuildersetChildAAAttribute(byte pChildAAAttribute)Deprecated.Method sets attributechildAAAttribute.ChildAA.BuildersetChildAAttribute(int pChildAAttribute)Deprecated.Method sets attributeChildA.childAAttribute.ChildAA.BuildersetCodes(IntegerCode[] pCodes)Deprecated.Method sets attributecodes.ChildAA.BuildersetIbans(java.util.Set<IBAN> pIbans)Deprecated.Method sets associationParentClass.ibans.ChildAA.BuildersetIntegerCode(IntegerCodeType pIntegerCode)Deprecated.Method sets associationintegerCode.ChildAA.BuildersetLegacyBankAccounts(java.util.List<BankAccount> pLegacyBankAccounts)Deprecated.ChildAA.BuildersetParentAttribute(java.lang.String pParentAttribute)Deprecated.Method sets attributeParentClass.parentAttribute.ChildAA.BuildersetRequiredArray(java.lang.String[] pRequiredArray)Deprecated.Method sets attributerequiredArray.ChildAA.BuildersetSizedArray(int[] pSizedArray)Deprecated.Method sets attributesizedArray.ChildAA.BuildersetTheBankAccount(BankAccount pTheBankAccount)Deprecated.
-
-
-
Constructor Detail
-
Builder
protected Builder()
Deprecated.UseChildAA.builder()instead of private constructor to create new builder.
-
Builder
protected Builder(ChildAA pObject)
Deprecated.UseChildAA.builder(ChildAA)instead of private constructor to create new builder.
-
-
Method Detail
-
setParentAttribute
public ChildAA.Builder setParentAttribute(java.lang.String pParentAttribute)
Deprecated.Method sets attributeParentClass.parentAttribute.- Overrides:
setParentAttributein classChildA.Builder- Parameters:
pParentAttribute- Value to whichParentClass.parentAttributeshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setIbans
public ChildAA.Builder setIbans(java.util.Set<IBAN> pIbans)
Deprecated.Method sets associationParentClass.ibans.- Overrides:
setIbansin classChildA.Builder- Parameters:
pIbans- Collection to whichParentClass.ibansshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setTheBankAccount
@Deprecated public ChildAA.Builder setTheBankAccount(BankAccount pTheBankAccount)
Deprecated.Method sets associationParentClass.theBankAccount.- Overrides:
setTheBankAccountin classChildA.Builder- Parameters:
pTheBankAccount- Value to whichParentClass.theBankAccountshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setLegacyBankAccounts
@Deprecated public ChildAA.Builder setLegacyBankAccounts(java.util.List<BankAccount> pLegacyBankAccounts)
Deprecated.Method sets associationParentClass.legacyBankAccounts.- Overrides:
setLegacyBankAccountsin classChildA.Builder- Parameters:
pLegacyBankAccounts- Collection to whichParentClass.legacyBankAccountsshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setChildAAttribute
public ChildAA.Builder setChildAAttribute(int pChildAAttribute)
Deprecated.Method sets attributeChildA.childAAttribute.- Overrides:
setChildAAttributein classChildA.Builder- Parameters:
pChildAAttribute- Value to whichChildA.childAAttributeshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setChildAAAttribute
public ChildAA.Builder setChildAAAttribute(byte pChildAAAttribute)
Deprecated.Method sets attributechildAAAttribute.- Parameters:
pChildAAAttribute- Value to whichchildAAAttributeshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setSizedArray
public ChildAA.Builder setSizedArray(int[] pSizedArray)
Deprecated.Method sets attributesizedArray.- Parameters:
pSizedArray- Value to whichsizedArrayshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setRequiredArray
public ChildAA.Builder setRequiredArray(java.lang.String[] pRequiredArray)
Deprecated.Method sets attributerequiredArray.- Parameters:
pRequiredArray- Collection to whichrequiredArrayshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setBigIntegerCode
public ChildAA.Builder setBigIntegerCode(BigIntegerCode pBigIntegerCode)
Deprecated.Method sets attributebigIntegerCode.- Parameters:
pBigIntegerCode- Value to whichbigIntegerCodeshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setIntegerCode
public ChildAA.Builder setIntegerCode(IntegerCodeType pIntegerCode)
Deprecated.Method sets associationintegerCode.- Parameters:
pIntegerCode- Value to whichintegerCodeshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setCodes
public ChildAA.Builder setCodes(IntegerCode[] pCodes)
Deprecated.Method sets attributecodes.- Parameters:
pCodes- Collection to whichcodesshould be set.- Returns:
ChildAA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
build
public ChildAA build()
Deprecated.Method creates a new instance of class ChildAA. The object will be initialized with the values of the builder.- Overrides:
buildin classParentClass.Builder- Returns:
- ChildAA Created object. The method never returns null.
-
buildValidated
public ChildAA buildValidated() throws javax.validation.ConstraintViolationException
Deprecated.Method creates a new validated instance of class ChildAA. The object will be initialized with the values of the builder and validated afterwards.- Overrides:
buildValidatedin classParentClass.Builder- Returns:
- ChildAA 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.
-
-