Class ChildA.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ParentClass.Builder
-
- com.anaptecs.jeaf.junit.openapi.base.ChildA.Builder
-
- Direct Known Subclasses:
ChildAA.Builder
- Enclosing class:
- ChildA
public abstract static class ChildA.Builder extends ParentClass.Builder
Class implements builder to create a new instance of classChildA.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()UseParentClass.builder()instead of private constructor to create new builder.protectedBuilder(ChildA pObject)UseChildA#builder(ChildA)instead of private constructor to create new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ChildA.BuildersetChildAAttribute(int pChildAAttribute)Method sets attributechildAAttribute.ChildA.BuildersetIbans(java.util.Set<IBAN> pIbans)Method sets associationParentClass.ibans.ChildA.BuildersetLegacyBankAccounts(java.util.List<BankAccount> pLegacyBankAccounts)Deprecated.ChildA.BuildersetParentAttribute(java.lang.String pParentAttribute)Method sets attributeParentClass.parentAttribute.ChildA.BuildersetTheBankAccount(BankAccount pTheBankAccount)Deprecated.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.ParentClass.Builder
build, buildValidated
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
UseParentClass.builder()instead of private constructor to create new builder.
-
Builder
protected Builder(ChildA pObject)
UseChildA#builder(ChildA)instead of private constructor to create new builder.
-
-
Method Detail
-
setParentAttribute
public ChildA.Builder setParentAttribute(java.lang.String pParentAttribute)
Method sets attributeParentClass.parentAttribute.- Overrides:
setParentAttributein classParentClass.Builder- Parameters:
pParentAttribute- Value to whichParentClass.parentAttributeshould be set.- Returns:
ChildA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setIbans
public ChildA.Builder setIbans(java.util.Set<IBAN> pIbans)
Method sets associationParentClass.ibans.- Overrides:
setIbansin classParentClass.Builder- Parameters:
pIbans- Collection to whichParentClass.ibansshould be set.- Returns:
ChildA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setTheBankAccount
@Deprecated public ChildA.Builder setTheBankAccount(BankAccount pTheBankAccount)
Deprecated.Method sets associationParentClass.theBankAccount.- Overrides:
setTheBankAccountin classParentClass.Builder- Parameters:
pTheBankAccount- Value to whichParentClass.theBankAccountshould be set.- Returns:
ChildA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setLegacyBankAccounts
@Deprecated public ChildA.Builder setLegacyBankAccounts(java.util.List<BankAccount> pLegacyBankAccounts)
Deprecated.Method sets associationParentClass.legacyBankAccounts.- Overrides:
setLegacyBankAccountsin classParentClass.Builder- Parameters:
pLegacyBankAccounts- Collection to whichParentClass.legacyBankAccountsshould be set.- Returns:
ChildA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
setChildAAttribute
public ChildA.Builder setChildAAttribute(int pChildAAttribute)
Method sets attributechildAAttribute.- Parameters:
pChildAAttribute- Value to whichchildAAttributeshould be set.- Returns:
ChildA.BuilderInstance of this builder to support chaining setters. Method never returns null.
-
-