Class 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
    • 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()
        Method returns attribute internalID.
        Internal ID
        2nd line
        3rd line
        Returns:
        long Value to which internalID is set.
      • setInternalID

        public void setInternalID​(long pInternalID)
        Method sets attribute internalID.
        Internal ID
        2nd line
        3rd line
        Parameters:
        pInternalID - Value to which internalID should be set.
      • getReferenceID

        public java.lang.String getReferenceID()
        Method returns attribute referenceID.
        Returns:
        String Value to which referenceID is set.
      • setReferenceID

        public void setReferenceID​(java.lang.String pReferenceID)
        Method sets attribute referenceID.
        Parameters:
        pReferenceID - Value to which referenceID should be set.
      • getBookingIDs

        public java.util.List<BookingID> getBookingIDs()
        Method returns association bookingIDs.
        Returns:
        List Value to which bookingIDs is set. The method never returns null and the returned collection is modifiable.
      • addToBookingIDs

        public void addToBookingIDs​(BookingID pBookingIDs)
        Method adds the passed object to bookingIDs.
        Parameters:
        pBookingIDs - Object that should be added to bookingIDs. The parameter must not be null.
      • addToBookingIDs

        public void addToBookingIDs​(java.util.Collection<BookingID> pBookingIDs)
        Method adds all passed objects to bookingIDs.
        Parameters:
        pBookingIDs - Collection with all objects that should be added to bookingIDs. The parameter must not be null.
      • removeFromBookingIDs

        public void removeFromBookingIDs​(BookingID pBookingIDs)
        Method removes the passed object from bookingIDs.
        Parameters:
        pBookingIDs - Object that should be removed from bookingIDs. The parameter must not be null.
      • clearBookingIDs

        public void clearBookingIDs()
        Method removes all objects from bookingIDs.
      • unsetComplexBookingType

        public final void unsetComplexBookingType()
        Method unsets complexBookingType.
      • getAnotherID

        public java.lang.Integer getAnotherID()
        Method returns attribute anotherID.
        Returns:
        Integer Value to which anotherID is set.
      • setAnotherID

        public void setAnotherID​(java.lang.Integer pAnotherID)
        Method sets attribute anotherID.
        Parameters:
        pAnotherID - Value to which anotherID should 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:
        StringBuilder StringBuilder 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:
        toString in class java.lang.Object
        Returns:
        String String representation of this object. The method never returns null.