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

public class FreightBookingItemSeal extends VdmEntity<FreightBookingItemSeal> implements VdmEntitySet
Freight Booking Item Seal

Original entity name from the Odata EDM: FreightBookingItemSeal_Type

  • Field Details

  • Constructor Details

    • FreightBookingItemSeal

      public FreightBookingItemSeal()
    • FreightBookingItemSeal

      public FreightBookingItemSeal(@Nullable UUID transpOrdItemSealUUID, @Nullable UUID transportationOrderItemUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpOrdItemSealNumber, @Nullable OffsetDateTime transpOrdItemSealingDateTime, @Nullable FreightBooking to_FreightBooking, @Nullable FreightBookingItem to_FreightBookingItem)
  • Method Details

    • getType

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

      public void setTranspOrdItemSealUUID(@Nullable UUID transpOrdItemSealUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TranspOrdItemSealUUID

      Parameters:
      transpOrdItemSealUUID - Transportation Order Item Seal UUID
    • setTransportationOrderItemUUID

      public void setTransportationOrderItemUUID(@Nullable UUID transportationOrderItemUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderItemUUID

      Parameters:
      transportationOrderItemUUID - UUID of Transportation Order Item with Conversion Exit
    • setTransportationOrderUUID

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

      Original property name from the Odata EDM: TransportationOrderUUID

      Parameters:
      transportationOrderUUID - Transportation Order UUID
    • setTranspOrdItemSealNumber

      public void setTranspOrdItemSealNumber(@Nullable String transpOrdItemSealNumber)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TranspOrdItemSealNumber

      Parameters:
      transpOrdItemSealNumber - Seal Number
    • setTranspOrdItemSealingDateTime

      public void setTranspOrdItemSealingDateTime(@Nullable OffsetDateTime transpOrdItemSealingDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdItemSealingDateTime

      Parameters:
      transpOrdItemSealingDateTime - Created on Timestamp
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<FreightBookingItemSeal>
    • 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 FreightBookingItemSeal 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.
    • getFreightBookingItemIfPresent

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

      If the navigation property for an entity FreightBookingItemSeal 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 _FreightBookingItem is already loaded, the result will contain the FreightBookingItem entity. If not, an Option with result state empty is returned.
    • setFreightBookingItem

      public void setFreightBookingItem(FreightBookingItem value)
      Overwrites the associated FreightBookingItem entity for the loaded navigation property _FreightBookingItem.
      Parameters:
      value - New FreightBookingItem entity.
    • builder

      @Nonnull public static FreightBookingItemSeal.FreightBookingItemSealBuilder builder()
    • getTranspOrdItemSealUUID

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

      Original property name from the Odata EDM: TranspOrdItemSealUUID

      Returns:
      Transportation Order Item Seal UUID
    • getTransportationOrderItemUUID

      @Nullable public UUID getTransportationOrderItemUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderItemUUID

      Returns:
      UUID of Transportation Order Item with Conversion Exit
    • getTransportationOrderUUID

      @Nullable public UUID getTransportationOrderUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      Transportation Order UUID
    • getTranspOrdItemSealNumber

      @Nullable public String getTranspOrdItemSealNumber()
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TranspOrdItemSealNumber

      Returns:
      Seal Number
    • getTranspOrdItemSealingDateTime

      @Nullable public OffsetDateTime getTranspOrdItemSealingDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdItemSealingDateTime

      Returns:
      Created on Timestamp
    • toString

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

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

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

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

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