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 attribute
anotherID. |
ComplexBookingIDBase.BuilderBase |
setBookingIDs(List<BookingID> pBookingIDs)
Method sets association
bookingIDs. |
ComplexBookingIDBase.BuilderBase |
setComplexBookingType(ComplexBookingType pComplexBookingType)
Method sets association
complexBookingType. |
ComplexBookingIDBase.BuilderBase |
setInternalID(long pInternalID)
Method sets attribute
internalID. |
ComplexBookingIDBase.BuilderBase |
setReferenceID(String pReferenceID)
Method sets 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)
internalID.pInternalID - Value to which internalID should be set.ComplexBookingIDBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.public ComplexBookingIDBase.BuilderBase setReferenceID(String pReferenceID)
referenceID.pReferenceID - Value to which referenceID should be set.ComplexBookingIDBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.public ComplexBookingIDBase.BuilderBase setBookingIDs(List<BookingID> pBookingIDs)
bookingIDs.pBookingIDs - Collection to which bookingIDs should be set.ComplexBookingIDBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.public ComplexBookingIDBase.BuilderBase setComplexBookingType(ComplexBookingType pComplexBookingType)
complexBookingType.pComplexBookingType - Value to which complexBookingType should be set.ComplexBookingIDBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.public ComplexBookingIDBase.BuilderBase setAnotherID(Integer pAnotherID)
anotherID.pAnotherID - Value to which anotherID should be set.ComplexBookingIDBase.BuilderBase Instance of this builder to support chaining setters. Method never returns null.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 © 2023. All rights reserved.