public abstract static class ComplexBookingIDBase.BuilderBase extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderBase()
Use
ComplexBookingID.builder() instead of protected constructor to create new builder. |
protected |
BuilderBase(ComplexBookingIDBase pObject)
Use
ComplexBookingID.builder(ComplexBookingID) instead of protected constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
ComplexBookingID |
build()
Method creates a new instance of class ComplexBookingID.
|
ComplexBookingID |
buildValidated()
Method creates a new validated instance of class ComplexBookingID.
|
ComplexBookingIDBase.BuilderBase |
setAnotherID(Integer pAnotherID)
Method sets the attribute "anotherID".
|
ComplexBookingIDBase.BuilderBase |
setBookingIDs(List<BookingID> pBookingIDs)
Method sets the association "bookingIDs".
|
ComplexBookingIDBase.BuilderBase |
setComplexBookingType(ComplexBookingType pComplexBookingType)
Method sets the association "complexBookingType".
|
ComplexBookingIDBase.BuilderBase |
setInternalID(long pInternalID)
Method sets the attribute "internalID".
|
ComplexBookingIDBase.BuilderBase |
setReferenceID(String pReferenceID)
Method sets the attribute "referenceID".
|
protected BuilderBase()
ComplexBookingID.builder() instead of protected constructor to create new builder.protected BuilderBase(ComplexBookingIDBase pObject)
ComplexBookingID.builder(ComplexBookingID) instead of protected constructor to create new builder.public ComplexBookingIDBase.BuilderBase setInternalID(long pInternalID)
pInternalID - Value to which the attribute "internalID" should be set.public ComplexBookingIDBase.BuilderBase setReferenceID(String pReferenceID)
pReferenceID - Value to which the attribute "referenceID" should be set.public ComplexBookingIDBase.BuilderBase setBookingIDs(List<BookingID> pBookingIDs)
pBookingIDs - Collection with objects to which the association should be set.public ComplexBookingIDBase.BuilderBase setComplexBookingType(ComplexBookingType pComplexBookingType)
pComplexBookingType - ComplexBookingType to which the association "complexBookingType" should be set.public ComplexBookingIDBase.BuilderBase setAnotherID(Integer pAnotherID)
pAnotherID - Value to which the attribute "anotherID" should be set.public ComplexBookingID build()
public ComplexBookingID buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.