@Valid public class WeirdBooking extends WeirdParent
| Modifier and Type | Class and Description |
|---|---|
static class |
WeirdBooking.Builder
Class implements builder to create a new instance of class WeirdBooking.
|
| Modifier | Constructor and Description |
|---|---|
protected |
WeirdBooking()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
WeirdBooking(WeirdBooking.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToAdditionalBookings(Collection<ComplexBookingID> pAdditionalBookings)
Method adds all passed objects to the association "additionalBookings". additional bookings
|
void |
addToAdditionalBookings(ComplexBookingID pAdditionalBookings)
Method adds the passed ComplexBookingID object to the association "additionalBookings". additional bookings
|
void |
addToInventories(Collection<InventoryType> pInventories)
Method adds all passed objects to the association "inventories".
|
void |
addToInventories(InventoryType pInventories)
Method adds the passed InventoryType object to the association "inventories".
|
static WeirdBooking.Builder |
builder()
Method returns a new builder.
|
static WeirdBooking.Builder |
builder(String pSomeProperty,
int pChildProperty)
Method creates a new builder and initializes it with the passed attributes.
|
static WeirdBooking.Builder |
builder(WeirdBooking pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
void |
clearAdditionalBookings()
Method removes all objects from the association "additionalBookings". additional bookings
|
void |
clearInventories()
Method removes all objects from the association "inventories".
|
List<ComplexBookingID> |
getAdditionalBookings()
Method returns the association "additionalBookings". additional bookings
|
ComplexBookingID |
getBooking()
Method returns the association "booking".
|
int |
getChildProperty()
Method returns the attribute "childProperty".
|
Set<InventoryType> |
getInventories()
Method returns the association "inventories".
|
Booking |
getRealBooking()
Method returns the association "realBooking". the real booking
|
VersionedObjectSoftLink |
getVersionedObjectSoftLink()
Method returns the association "versionedObjectSoftLink". soft link 2nd line 3rd line
|
void |
removeFromAdditionalBookings(ComplexBookingID pAdditionalBookings)
Method removes the passed ComplexBookingID object from the association "additionalBookings". additional bookings
|
void |
removeFromInventories(InventoryType pInventories)
Method removes the passed InventoryType object from the association "inventories".
|
void |
setBooking(ComplexBookingID pBooking)
Method sets the association "booking".
|
void |
setChildProperty(int pChildProperty)
Method sets the attribute "childProperty".
|
void |
setRealBooking(Booking pRealBooking)
Method sets the association "realBooking". the real booking
|
void |
setVersionedObjectSoftLink(VersionedObjectSoftLink pVersionedObjectSoftLink)
Method sets the association "versionedObjectSoftLink". soft link 2nd line 3rd line
|
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 |
unsetBooking()
Method unsets the association "booking".
|
void |
unsetRealBooking()
Method unsets the association "realBooking". the real booking
|
void |
unsetVersionedObjectSoftLink()
Method unsets the association "versionedObjectSoftLink". soft link 2nd line 3rd line
|
addToComplexBookings, addToComplexBookings, builder, builder, clearComplexBookings, getComplexBooking, getComplexBookings, getSomeProperty, removeFromComplexBookings, setComplexBooking, setSomeProperty, unsetComplexBookingprotected WeirdBooking()
protected WeirdBooking(WeirdBooking.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static WeirdBooking.Builder builder()
WeirdBooking.Builder New builder that can be used to create new WeirdBooking objects.public static WeirdBooking.Builder builder(WeirdBooking pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.WeirdBooking.Builder New builder that can be used to create new WeirdBooking objects. The method never returns
null.public static WeirdBooking.Builder builder(String pSomeProperty, int pChildProperty)
public ComplexBookingID getBooking()
public void setBooking(ComplexBookingID pBooking)
pBooking - ComplexBookingID to which the association "booking" should be set.public final void unsetBooking()
public List<ComplexBookingID> getAdditionalBookings()
public void addToAdditionalBookings(ComplexBookingID pAdditionalBookings)
pAdditionalBookings - Object that should be added to the association "additionalBookings". The parameter must
not be null.public void addToAdditionalBookings(Collection<ComplexBookingID> pAdditionalBookings)
pAdditionalBookings - Collection with all objects that should be added to the association
"additionalBookings". The parameter must not be null.public void removeFromAdditionalBookings(ComplexBookingID pAdditionalBookings)
pAdditionalBookings - Object that should be removed from the association "additionalBookings". The parameter
must not be null.public void clearAdditionalBookings()
public VersionedObjectSoftLink getVersionedObjectSoftLink()
public void setVersionedObjectSoftLink(VersionedObjectSoftLink pVersionedObjectSoftLink)
pVersionedObjectSoftLink - VersionedObjectSoftLink to which the association "versionedObjectSoftLink" should
be set.public final void unsetVersionedObjectSoftLink()
public int getChildProperty()
public void setChildProperty(int pChildProperty)
pChildProperty - Value to which the attribute "childProperty" should be set.public Booking getRealBooking()
public void setRealBooking(Booking pRealBooking)
pRealBooking - Booking to which the association "realBooking" should be set.public final void unsetRealBooking()
public Set<InventoryType> getInventories()
public void addToInventories(InventoryType pInventories)
pInventories - Object that should be added to the association "inventories". The parameter must not be null.public void addToInventories(Collection<InventoryType> pInventories)
pInventories - Collection with all objects that should be added to the association "inventories". The
parameter must not be null.public void removeFromInventories(InventoryType pInventories)
pInventories - Object that should be removed from the association "inventories". The parameter must not be
null.public void clearInventories()
public StringBuilder toStringBuilder(String pIndent)
toStringBuilder in class WeirdParentStringBuilder StringBuilder representing this object. The method never returns null.public String toString()
toString in class WeirdParentString String representation of this object. The method never returns null.Copyright © 2022. All rights reserved.