@Valid public class WeirdParent extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
WeirdParent.Builder
Class implements builder to create a new instance of class
WeirdParent. |
| Modifier | Constructor and Description |
|---|---|
protected |
WeirdParent()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
WeirdParent(WeirdParent.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToComplexBookings(Collection<ComplexBookingID> pComplexBookings)
Method adds all passed objects to
complexBookings. |
void |
addToComplexBookings(ComplexBookingID pComplexBookings)
Method adds the passed object to
complexBookings. |
static WeirdParent.Builder |
builder()
Method returns a new builder.
|
static WeirdParent.Builder |
builder(String pSomeProperty,
ComplexBookingID pComplexBooking)
Method creates a new builder and initializes it with the passed attributes.
|
static WeirdParent.Builder |
builder(WeirdParent pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
void |
clearComplexBookings()
Method removes all objects from
complexBookings. |
ComplexBookingID |
getComplexBooking()
Method returns association
complexBooking. |
Set<ComplexBookingID> |
getComplexBookings()
Method returns association
complexBookings. |
String |
getSomeProperty()
Method returns attribute
someProperty. |
void |
removeFromComplexBookings(ComplexBookingID pComplexBookings)
Method removes the passed object from
complexBookings. |
void |
setComplexBooking(ComplexBookingID pComplexBooking)
Method sets association
complexBooking. |
void |
setSomeProperty(String pSomeProperty)
Method sets attribute
someProperty. |
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 |
unsetComplexBooking()
Method unsets
complexBooking. |
protected WeirdParent()
protected WeirdParent(WeirdParent.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static WeirdParent.Builder builder()
WeirdParent.Builder New builder that can be used to create new WeirdParent objects.public static WeirdParent.Builder builder(WeirdParent pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.WeirdParent.Builder New builder that can be used to create new WeirdParent objects. The method never returns
null.public static WeirdParent.Builder builder(String pSomeProperty, ComplexBookingID pComplexBooking)
public String getSomeProperty()
someProperty.String Value to which someProperty is set.public void setSomeProperty(String pSomeProperty)
someProperty.pSomeProperty - Value to which someProperty should be set.public ComplexBookingID getComplexBooking()
complexBooking.ComplexBookingID Value to which complexBooking is set.public void setComplexBooking(ComplexBookingID pComplexBooking)
complexBooking.pComplexBooking - Value to which complexBooking should be set.public final void unsetComplexBooking()
complexBooking.public Set<ComplexBookingID> getComplexBookings()
complexBookings.Set Value to which complexBookings is set. The method never returns null
and the returned collection is modifiable.public void addToComplexBookings(ComplexBookingID pComplexBookings)
complexBookings.pComplexBookings - Object that should be added to complexBookings. The parameter must not be null.public void addToComplexBookings(Collection<ComplexBookingID> pComplexBookings)
complexBookings.pComplexBookings - Collection with all objects that should be added to complexBookings. The parameter
must not be null.public void removeFromComplexBookings(ComplexBookingID pComplexBookings)
complexBookings.pComplexBookings - Object that should be removed from complexBookings. The parameter must not be
null.public void clearComplexBookings()
complexBookings.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.