java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<FreightBookingDocRef>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.freightbookingintegration.FreightBookingDocRef
All Implemented Interfaces:
VdmEntitySet

public class FreightBookingDocRef extends VdmEntity<FreightBookingDocRef> implements VdmEntitySet
Freight Booking Document Reference

Original entity name from the Odata EDM: FreightBookingDocRef_Type

  • Field Details

  • Constructor Details

    • FreightBookingDocRef

      public FreightBookingDocRef()
    • FreightBookingDocRef

      public FreightBookingDocRef(@Nullable UUID transportationOrderDocRefUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpOrdDocReferenceID, @Nullable String transpOrdDocReferenceType, @Nullable String transpOrdDocReferenceItmID, @Nullable String transpOrdDocReferenceItmType, @Nullable LocalDate transpOrdDocumentReferenceDate, @Nullable String transpOrdDocRefIssuerName, @Nullable FreightBooking to_FreightBooking)
  • Method Details

    • getType

      @Nonnull public Class<FreightBookingDocRef> getType()
      Specified by:
      getType in class VdmObject<FreightBookingDocRef>
    • setTransportationOrderDocRefUUID

      public void setTransportationOrderDocRefUUID(@Nullable UUID transportationOrderDocRefUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderDocRefUUID

      Parameters:
      transportationOrderDocRefUUID - NodeID
    • setTransportationOrderUUID

      public void setTransportationOrderUUID(@Nullable UUID transportationOrderUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Parameters:
      transportationOrderUUID - Transportation Order UUID
    • setTranspOrdDocReferenceID

      public void setTranspOrdDocReferenceID(@Nullable String transpOrdDocReferenceID)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: TranspOrdDocReferenceID

      Parameters:
      transpOrdDocReferenceID - Bus. Trans. Document ID
    • setTranspOrdDocReferenceType

      public void setTranspOrdDocReferenceType(@Nullable String transpOrdDocReferenceType)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TranspOrdDocReferenceType

      Parameters:
      transpOrdDocReferenceType - Document Type for Business Transaction
    • setTranspOrdDocReferenceItmID

      public void setTranspOrdDocReferenceItmID(@Nullable String transpOrdDocReferenceItmID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TranspOrdDocReferenceItmID

      Parameters:
      transpOrdDocReferenceItmID - Item
    • setTranspOrdDocReferenceItmType

      public void setTranspOrdDocReferenceItmType(@Nullable String transpOrdDocReferenceItmType)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TranspOrdDocReferenceItmType

      Parameters:
      transpOrdDocReferenceItmType - Business Transaction Document Item Type Code
    • setTranspOrdDocumentReferenceDate

      public void setTranspOrdDocumentReferenceDate(@Nullable LocalDate transpOrdDocumentReferenceDate)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdDocumentReferenceDate

      Parameters:
      transpOrdDocumentReferenceDate - Business Transaction Document Date
    • setTranspOrdDocRefIssuerName

      public void setTranspOrdDocRefIssuerName(@Nullable String transpOrdDocRefIssuerName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TranspOrdDocRefIssuerName

      Parameters:
      transpOrdDocRefIssuerName - Issuing Party of Business Transaction Document
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<FreightBookingDocRef>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<FreightBookingDocRef>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<FreightBookingDocRef>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<FreightBookingDocRef>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<FreightBookingDocRef>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<FreightBookingDocRef>
    • getFreightBookingIfPresent

      @Nonnull public io.vavr.control.Option<FreightBooking> getFreightBookingIfPresent()
      Retrieval of associated FreightBooking entity (one to one). This corresponds to the OData navigation property _FreightBooking.

      If the navigation property for an entity FreightBookingDocRef has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _FreightBooking is already loaded, the result will contain the FreightBooking entity. If not, an Option with result state empty is returned.
    • setFreightBooking

      public void setFreightBooking(FreightBooking value)
      Overwrites the associated FreightBooking entity for the loaded navigation property _FreightBooking.
      Parameters:
      value - New FreightBooking entity.
    • builder

      @Nonnull public static FreightBookingDocRef.FreightBookingDocRefBuilder builder()
    • getTransportationOrderDocRefUUID

      @Nullable public UUID getTransportationOrderDocRefUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderDocRefUUID

      Returns:
      NodeID
    • getTransportationOrderUUID

      @Nullable public UUID getTransportationOrderUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      Transportation Order UUID
    • getTranspOrdDocReferenceID

      @Nullable public String getTranspOrdDocReferenceID()
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: TranspOrdDocReferenceID

      Returns:
      Bus. Trans. Document ID
    • getTranspOrdDocReferenceType

      @Nullable public String getTranspOrdDocReferenceType()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TranspOrdDocReferenceType

      Returns:
      Document Type for Business Transaction
    • getTranspOrdDocReferenceItmID

      @Nullable public String getTranspOrdDocReferenceItmID()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TranspOrdDocReferenceItmID

      Returns:
      Item
    • getTranspOrdDocReferenceItmType

      @Nullable public String getTranspOrdDocReferenceItmType()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TranspOrdDocReferenceItmType

      Returns:
      Business Transaction Document Item Type Code
    • getTranspOrdDocumentReferenceDate

      @Nullable public LocalDate getTranspOrdDocumentReferenceDate()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdDocumentReferenceDate

      Returns:
      Business Transaction Document Date
    • getTranspOrdDocRefIssuerName

      @Nullable public String getTranspOrdDocRefIssuerName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TranspOrdDocRefIssuerName

      Returns:
      Issuing Party of Business Transaction Document
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<FreightBookingDocRef>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<FreightBookingDocRef>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<FreightBookingDocRef>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<FreightBookingDocRef>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<FreightBookingDocRef>