Class ComplexBookingID
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ComplexBookingIDBase
-
- com.anaptecs.jeaf.junit.openapi.base.ComplexBookingID
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
@Valid public class ComplexBookingID extends ComplexBookingIDBase
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplexBookingID.BuilderClass implements builder to create a new instance of class ComplexBookingID.-
Nested classes/interfaces inherited from class com.anaptecs.jeaf.junit.openapi.base.ComplexBookingIDBase
ComplexBookingIDBase.BuilderBase
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedComplexBookingID()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedComplexBookingID(ComplexBookingIDBase.BuilderBase pBuilder)Initialize object.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComplexBookingID.Builderbuilder()Method returns a new builder.static ComplexBookingID.Builderbuilder(long pInternalID, java.lang.String pReferenceID, ComplexBookingType pComplexBookingType, java.lang.Integer pAnotherID)Method creates a new builder and initializes it with the passed attributes.static ComplexBookingID.Builderbuilder(ComplexBookingID pObject)Method creates a new builder and initialize it with the data from the passed object.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.ComplexBookingIDBase
addToBookingIDs, addToBookingIDs, clearBookingIDs, getAnotherID, getBookingIDs, getComplexBookingType, getInternalID, getReferenceID, removeFromBookingIDs, setAnotherID, setComplexBookingType, setInternalID, setReferenceID, toString, toStringBuilder, unsetComplexBookingType
-
-
-
-
Constructor Detail
-
ComplexBookingID
protected ComplexBookingID()
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.
-
ComplexBookingID
protected ComplexBookingID(ComplexBookingIDBase.BuilderBase pBuilder)
Initialize object. Nothing special to do.
-
-
Method Detail
-
builder
public static ComplexBookingID.Builder builder()
Method returns a new builder.- Returns:
ComplexBookingID.BuilderNew builder that can be used to create new ComplexBookingID objects.
-
builder
public static ComplexBookingID.Builder builder(ComplexBookingID pObject)
Method creates a new builder and initialize it with the data from the passed object.- Parameters:
pObject- Object that should be used to initialize the builder. The parameter may be null.- Returns:
ComplexBookingID.BuilderNew builder that can be used to create new ComplexBookingID objects. The method never returns null.
-
builder
public static ComplexBookingID.Builder builder(long pInternalID, java.lang.String pReferenceID, ComplexBookingType pComplexBookingType, java.lang.Integer pAnotherID)
Method creates a new builder and initializes it with the passed attributes.
-
-