@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 as many frameworks required that.
|
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 the association "complexBookings".
|
void |
addToComplexBookings(ComplexBookingID pComplexBookings)
Method adds the passed ComplexBookingID object to the association "complexBookings".
|
static WeirdParent.Builder |
builder()
Method returns a new builder.
|
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 the association "complexBookings".
|
ComplexBookingID |
getComplexBooking()
Method returns the association "complexBooking".
|
Set<ComplexBookingID> |
getComplexBookings()
Method returns the association "complexBookings".
|
String |
getSomeProperty()
Method returns the attribute "someProperty".
|
void |
removeFromComplexBookings(ComplexBookingID pComplexBookings)
Method removes the passed ComplexBookingID object from the association "complexBookings".
|
void |
setComplexBooking(ComplexBookingID pComplexBooking)
Method sets the association "complexBooking".
|
void |
setSomeProperty(String pSomeProperty)
Method sets the 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 the association "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 String getSomeProperty()
public void setSomeProperty(String pSomeProperty)
pSomeProperty - Value to which the attribute "someProperty" should be set.public ComplexBookingID getComplexBooking()
public void setComplexBooking(ComplexBookingID pComplexBooking)
pComplexBooking - ComplexBookingID to which the association "complexBooking" should be set.public final void unsetComplexBooking()
public Set<ComplexBookingID> getComplexBookings()
public void addToComplexBookings(ComplexBookingID pComplexBookings)
pComplexBookings - Object that should be added to the association "complexBookings". The parameter must not be
null.public void addToComplexBookings(Collection<ComplexBookingID> pComplexBookings)
pComplexBookings - Collection with all objects that should be added to the association "complexBookings". The
parameter must not be null.public void removeFromComplexBookings(ComplexBookingID pComplexBookings)
pComplexBookings - Object that should be removed from the association "complexBookings". The parameter must
not be null.public void clearComplexBookings()
public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.