Class ComplexBookingIDBase
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ComplexBookingIDBase
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
- Direct Known Subclasses:
ComplexBookingID
@Valid public abstract class ComplexBookingIDBase extends java.lang.Object implements com.anaptecs.jeaf.core.api.ServiceObject- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplexBookingIDBase.BuilderBaseClass implements builder to create a new instance of class ComplexBookingID.
-
Constructor Summary
Constructors Modifier Constructor Description protectedComplexBookingIDBase()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedComplexBookingIDBase(ComplexBookingIDBase.BuilderBase pBuilder)Initialize object using the passed builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToBookingIDs(BookingID pBookingIDs)Method adds the passed object tobookingIDs.voidaddToBookingIDs(java.util.Collection<BookingID> pBookingIDs)Method adds all passed objects tobookingIDs.voidclearBookingIDs()Method removes all objects frombookingIDs.java.lang.IntegergetAnotherID()Method returns attributeanotherID.java.util.List<BookingID>getBookingIDs()Method returns associationbookingIDs.ComplexBookingTypegetComplexBookingType()Method returns associationcomplexBookingType.longgetInternalID()java.lang.StringgetReferenceID()Method returns attributereferenceID.voidremoveFromBookingIDs(BookingID pBookingIDs)Method removes the passed object frombookingIDs.voidsetAnotherID(java.lang.Integer pAnotherID)Method sets attributeanotherID.voidsetComplexBookingType(ComplexBookingType pComplexBookingType)Method sets associationcomplexBookingType.voidsetInternalID(long pInternalID)voidsetReferenceID(java.lang.String pReferenceID)Method sets attributereferenceID.java.lang.StringtoString()Method creates a new String with the values of all attributes of this class.java.lang.StringBuildertoStringBuilder(java.lang.String pIndent)Method returns a StringBuilder that can be used to create a String representation of this object.voidunsetComplexBookingType()Method unsetscomplexBookingType.
-
-
-
Constructor Detail
-
ComplexBookingIDBase
protected ComplexBookingIDBase()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
-
ComplexBookingIDBase
protected ComplexBookingIDBase(ComplexBookingIDBase.BuilderBase pBuilder)
Initialize object using the passed builder.- Parameters:
pBuilder- Builder that should be used to initialize this object. The parameter must not be null.
-
-
Method Detail
-
getInternalID
public long getInternalID()
- Returns:
- long Value to which
internalIDis set.
-
setInternalID
public void setInternalID(long pInternalID)
- Parameters:
pInternalID- Value to whichinternalIDshould be set.
-
getReferenceID
public java.lang.String getReferenceID()
Method returns attributereferenceID.- Returns:
StringValue to whichreferenceIDis set.
-
setReferenceID
public void setReferenceID(java.lang.String pReferenceID)
Method sets attributereferenceID.- Parameters:
pReferenceID- Value to whichreferenceIDshould be set.
-
getBookingIDs
public java.util.List<BookingID> getBookingIDs()
Method returns associationbookingIDs.- Returns:
ListValue to whichbookingIDsis set. The method never returns null and the returned collection is modifiable.
-
addToBookingIDs
public void addToBookingIDs(BookingID pBookingIDs)
Method adds the passed object tobookingIDs.- Parameters:
pBookingIDs- Object that should be added tobookingIDs. The parameter must not be null.
-
addToBookingIDs
public void addToBookingIDs(java.util.Collection<BookingID> pBookingIDs)
Method adds all passed objects tobookingIDs.- Parameters:
pBookingIDs- Collection with all objects that should be added tobookingIDs. The parameter must not be null.
-
removeFromBookingIDs
public void removeFromBookingIDs(BookingID pBookingIDs)
Method removes the passed object frombookingIDs.- Parameters:
pBookingIDs- Object that should be removed frombookingIDs. The parameter must not be null.
-
clearBookingIDs
public void clearBookingIDs()
Method removes all objects frombookingIDs.
-
getComplexBookingType
public ComplexBookingType getComplexBookingType()
Method returns associationcomplexBookingType.- Returns:
ComplexBookingTypeValue to whichcomplexBookingTypeis set.
-
setComplexBookingType
public void setComplexBookingType(ComplexBookingType pComplexBookingType)
Method sets associationcomplexBookingType.- Parameters:
pComplexBookingType- Value to whichcomplexBookingTypeshould be set.
-
unsetComplexBookingType
public final void unsetComplexBookingType()
Method unsetscomplexBookingType.
-
getAnotherID
public java.lang.Integer getAnotherID()
Method returns attributeanotherID.- Returns:
IntegerValue to whichanotherIDis set.
-
setAnotherID
public void setAnotherID(java.lang.Integer pAnotherID)
Method sets attributeanotherID.- Parameters:
pAnotherID- Value to whichanotherIDshould be set.
-
toStringBuilder
public java.lang.StringBuilder toStringBuilder(java.lang.String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.- Returns:
StringBuilderStringBuilder representing this object. The method never returns null.
-
toString
public java.lang.String toString()
Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.- Overrides:
toStringin classjava.lang.Object- Returns:
StringString representation of this object. The method never returns null.
-
-