@Valid public class BookingID extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
BookingID.Builder
Class implements builder to create a new instance of class BookingID.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BookingID()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
BookingID(BookingID.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static BookingID.Builder |
builder()
Method returns a new builder.
|
static BookingID.Builder |
builder(BookingID pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
BookingCode |
getBookingCode()
Method returns the association "bookingCode".
|
String |
getExternalRefID()
Method returns the attribute "externalRefID".
|
InventoryType |
getInventory()
Method returns the association "inventory".
|
String |
getReferenceID()
Method returns the attribute "referenceID".
|
void |
setBookingCode(BookingCode pBookingCode)
Method sets the association "bookingCode".
|
void |
setExternalRefID(String pExternalRefID)
Method sets the attribute "externalRefID".
|
void |
setInventory(InventoryType pInventory)
Method sets the association "inventory".
|
void |
setReferenceID(String pReferenceID)
Method sets the attribute "referenceID".
|
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 |
unsetBookingCode()
Method unsets the association "bookingCode".
|
void |
unsetInventory()
Method unsets the association "inventory".
|
protected BookingID()
protected BookingID(BookingID.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static BookingID.Builder builder()
BookingID.Builder New builder that can be used to create new BookingID objects.public static BookingID.Builder builder(BookingID pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.BookingID.Builder New builder that can be used to create new BookingID objects. The method never returns
null.public String getReferenceID()
public void setReferenceID(String pReferenceID)
pReferenceID - Value to which the attribute "referenceID" should be set.public String getExternalRefID()
public void setExternalRefID(String pExternalRefID)
pExternalRefID - Value to which the attribute "externalRefID" should be set.public InventoryType getInventory()
public void setInventory(InventoryType pInventory)
pInventory - InventoryType to which the association "inventory" should be set.public final void unsetInventory()
public BookingCode getBookingCode()
public void setBookingCode(BookingCode pBookingCode)
pBookingCode - BookingCode to which the association "bookingCode" should be set.public final void unsetBookingCode()
public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.