@Valid public abstract class ComplexBookingIDBase extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
ComplexBookingIDBase.BuilderBase
Class implements builder to create a new instance of class ComplexBookingID.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ComplexBookingIDBase()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
ComplexBookingIDBase(ComplexBookingIDBase.BuilderBase pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToBookingIDs(BookingID pBookingIDs)
Method adds the passed object to
bookingIDs. |
void |
addToBookingIDs(Collection<BookingID> pBookingIDs)
Method adds all passed objects to
bookingIDs. |
void |
clearBookingIDs()
Method removes all objects from
bookingIDs. |
Integer |
getAnotherID()
Method returns attribute
anotherID. |
List<BookingID> |
getBookingIDs()
Method returns association
bookingIDs. |
ComplexBookingType |
getComplexBookingType()
Method returns association
complexBookingType. |
long |
getInternalID()
Method returns attribute
internalID. |
String |
getReferenceID()
Method returns attribute
referenceID. |
void |
removeFromBookingIDs(BookingID pBookingIDs)
Method removes the passed object from
bookingIDs. |
void |
setAnotherID(Integer pAnotherID)
Method sets attribute
anotherID. |
void |
setComplexBookingType(ComplexBookingType pComplexBookingType)
Method sets association
complexBookingType. |
void |
setInternalID(long pInternalID)
Method sets attribute
internalID. |
void |
setReferenceID(String pReferenceID)
Method sets 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 |
unsetComplexBookingType()
Method unsets
complexBookingType. |
protected ComplexBookingIDBase()
protected ComplexBookingIDBase(ComplexBookingIDBase.BuilderBase pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public long getInternalID()
internalID is set.public void setInternalID(long pInternalID)
pInternalID - Value to which internalID should be set.public String getReferenceID()
referenceID.String Value to which referenceID is set.public void setReferenceID(String pReferenceID)
referenceID.pReferenceID - Value to which referenceID should be set.public List<BookingID> getBookingIDs()
bookingIDs.List Value to which bookingIDs is set. The method never returns null and the
returned collection is modifiable.public void addToBookingIDs(BookingID pBookingIDs)
bookingIDs.pBookingIDs - Object that should be added to bookingIDs. The parameter must not be null.public void addToBookingIDs(Collection<BookingID> pBookingIDs)
bookingIDs.pBookingIDs - Collection with all objects that should be added to bookingIDs. The parameter must not
be null.public void removeFromBookingIDs(BookingID pBookingIDs)
bookingIDs.pBookingIDs - Object that should be removed from bookingIDs. The parameter must not be null.public void clearBookingIDs()
bookingIDs.public ComplexBookingType getComplexBookingType()
complexBookingType.ComplexBookingType Value to which complexBookingType is set.public void setComplexBookingType(ComplexBookingType pComplexBookingType)
complexBookingType.pComplexBookingType - Value to which complexBookingType should be set.public final void unsetComplexBookingType()
complexBookingType.public void setAnotherID(Integer pAnotherID)
anotherID.pAnotherID - Value to which anotherID should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.