public static class ChildBB.Builder extends ChildB.Builder
| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
ChildBB.builder() instead of private constructor to create new builder. |
protected |
Builder(ChildBB pObject)
Use
ChildBB.builder(ChildBB) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
ChildBB |
build()
Method creates a new instance of class ChildBB.
|
ChildBB |
buildValidated()
Method creates a new validated instance of class ChildBB.
|
ChildBB.Builder |
setChildBAttribute(boolean[] pChildBAttribute)
Method sets the attribute "childBAttribute".
|
ChildBB.Builder |
setChildBBAttribute(Long pChildBBAttribute)
Method sets the attribute "childBBAttribute".
|
ChildBB.Builder |
setComposition(Set<ParentClass> pComposition)
Method sets the association "composition". the composition
|
ChildBB.Builder |
setDeprecatedArray(byte[] pDeprecatedArray)
Deprecated.
|
ChildBB.Builder |
setDeprecatedAttribute(int pDeprecatedAttribute)
Deprecated.
|
ChildBB.Builder |
setDeprecatedBs(Set<ChildB> pDeprecatedBs)
Deprecated.
|
ChildBB.Builder |
setDeprecatedParent(ParentClass pDeprecatedParent)
Method sets the association "deprecatedParent".
|
setIbans, setParentAttributeprotected Builder()
ChildBB.builder() instead of private constructor to create new builder.protected Builder(ChildBB pObject)
ChildBB.builder(ChildBB) instead of private constructor to create new builder.public ChildBB.Builder setChildBAttribute(boolean[] pChildBAttribute)
setChildBAttribute in class ChildB.BuilderpChildBAttribute - Value to which the attribute "childBAttribute" should be set.public ChildBB.Builder setComposition(Set<ParentClass> pComposition)
setComposition in class ChildB.BuilderpComposition - Collection with objects to which the association should be set.public ChildBB.Builder setChildBBAttribute(Long pChildBBAttribute)
pChildBBAttribute - Value to which the attribute "childBBAttribute" should be set.@Deprecated public ChildBB.Builder setDeprecatedAttribute(int pDeprecatedAttribute)
pDeprecatedAttribute - Value to which the attribute "deprecatedAttribute" should be set.@Deprecated public ChildBB.Builder setDeprecatedBs(Set<ChildB> pDeprecatedBs)
pDeprecatedBs - Collection with objects to which the association should be set.public ChildBB.Builder setDeprecatedParent(ParentClass pDeprecatedParent)
pDeprecatedParent - ParentClass to which the association "deprecatedParent" should be set.@Deprecated public ChildBB.Builder setDeprecatedArray(byte[] pDeprecatedArray)
pDeprecatedArray - Value to which the attribute "deprecatedArray" should be set.public ChildBB build()
build in class ChildB.Builderpublic ChildBB buildValidated() throws javax.validation.ConstraintViolationException
buildValidated in class ChildB.Builderjavax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.