@Valid public class Booking extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Booking.Builder
Class implements builder to create a new instance of class Booking.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Booking()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
Booking(Booking.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static Booking.Builder |
builder()
Method returns a new builder.
|
static Booking.Builder |
builder(Booking pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
BookingID |
getBookingID()
Method returns the association "bookingID".
|
void |
setBookingID(BookingID pBookingID)
Method sets the association "bookingID".
|
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
void |
unsetBookingID()
Method unsets the association "bookingID".
|
protected Booking()
protected Booking(Booking.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static Booking.Builder builder()
Booking.Builder New builder that can be used to create new Booking objects.public static Booking.Builder builder(Booking pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.Booking.Builder New builder that can be used to create new Booking objects. The method never returns null.public BookingID getBookingID()
public void setBookingID(BookingID pBookingID)
pBookingID - BookingID to which the association "bookingID" should be set.public final void unsetBookingID()
public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.