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

public class FreightOrderItemDocRef extends VdmEntity<FreightOrderItemDocRef> implements VdmEntitySet
Freight Order Item Document Reference

Original entity name from the Odata EDM: FreightOrderItemDocRef_Type

  • Field Details

  • Constructor Details

    • FreightOrderItemDocRef

      public FreightOrderItemDocRef()
    • FreightOrderItemDocRef

      public FreightOrderItemDocRef(@Nullable UUID transpOrdItemDocReferenceUUID, @Nullable UUID transportationOrderItemUUID, @Nullable UUID transportationOrderUUID, @Nullable String transpOrdItemDocReferenceID, @Nullable String transpOrdItemDocReferenceType, @Nullable String transpOrdItmDocReferenceItemID, @Nullable String transpOrdItmDocRefItemType, @Nullable LocalDate transpOrdItmDocRefDate, @Nullable String transpOrdItemDocRefIssuerName, @Nullable FreightOrder to_FreightOrder, @Nullable FreightOrderItem to_FreightOrderItem)
  • Method Details

    • getType

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

      public void setTranspOrdItemDocReferenceUUID(@Nullable UUID transpOrdItemDocReferenceUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TranspOrdItemDocReferenceUUID

      Parameters:
      transpOrdItemDocReferenceUUID - Transportation Order Item Document Reference
    • 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
    • setTranspOrdItemDocReferenceID

      public void setTranspOrdItemDocReferenceID(@Nullable String transpOrdItemDocReferenceID)
      Constraints: Not nullable, Maximum length: 35

      Original property name from the Odata EDM: TranspOrdItemDocReferenceID

      Parameters:
      transpOrdItemDocReferenceID - Bus. Trans. Document ID
    • setTranspOrdItemDocReferenceType

      public void setTranspOrdItemDocReferenceType(@Nullable String transpOrdItemDocReferenceType)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TranspOrdItemDocReferenceType

      Parameters:
      transpOrdItemDocReferenceType - Document Type for Business Transaction
    • setTranspOrdItmDocReferenceItemID

      public void setTranspOrdItmDocReferenceItemID(@Nullable String transpOrdItmDocReferenceItemID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TranspOrdItmDocReferenceItemID

      Parameters:
      transpOrdItmDocReferenceItemID - Item
    • setTranspOrdItmDocRefItemType

      public void setTranspOrdItmDocRefItemType(@Nullable String transpOrdItmDocRefItemType)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: TranspOrdItmDocRefItemType

      Parameters:
      transpOrdItmDocRefItemType - Business Transaction Document Item Type Code
    • setTranspOrdItmDocRefDate

      public void setTranspOrdItmDocRefDate(@Nullable LocalDate transpOrdItmDocRefDate)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdItmDocRefDate

      Parameters:
      transpOrdItmDocRefDate - Business Transaction Document Date
    • setTranspOrdItemDocRefIssuerName

      public void setTranspOrdItemDocRefIssuerName(@Nullable String transpOrdItemDocRefIssuerName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TranspOrdItemDocRefIssuerName

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

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

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

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

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

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

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

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

      If the navigation property for an entity FreightOrderItemDocRef 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 _FreightOrder is already loaded, the result will contain the FreightOrder entity. If not, an Option with result state empty is returned.
    • setFreightOrder

      public void setFreightOrder(FreightOrder value)
      Overwrites the associated FreightOrder entity for the loaded navigation property _FreightOrder.
      Parameters:
      value - New FreightOrder entity.
    • getFreightOrderItemIfPresent

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

      If the navigation property for an entity FreightOrderItemDocRef 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 _FreightOrderItem is already loaded, the result will contain the FreightOrderItem entity. If not, an Option with result state empty is returned.
    • setFreightOrderItem

      public void setFreightOrderItem(FreightOrderItem value)
      Overwrites the associated FreightOrderItem entity for the loaded navigation property _FreightOrderItem.
      Parameters:
      value - New FreightOrderItem entity.
    • builder

      @Nonnull public static FreightOrderItemDocRef.FreightOrderItemDocRefBuilder builder()
    • getTranspOrdItemDocReferenceUUID

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

      Original property name from the Odata EDM: TranspOrdItemDocReferenceUUID

      Returns:
      Transportation Order Item Document Reference
    • 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
    • getTranspOrdItemDocReferenceID

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

      Original property name from the Odata EDM: TranspOrdItemDocReferenceID

      Returns:
      Bus. Trans. Document ID
    • getTranspOrdItemDocReferenceType

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

      Original property name from the Odata EDM: TranspOrdItemDocReferenceType

      Returns:
      Document Type for Business Transaction
    • getTranspOrdItmDocReferenceItemID

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

      Original property name from the Odata EDM: TranspOrdItmDocReferenceItemID

      Returns:
      Item
    • getTranspOrdItmDocRefItemType

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

      Original property name from the Odata EDM: TranspOrdItmDocRefItemType

      Returns:
      Business Transaction Document Item Type Code
    • getTranspOrdItmDocRefDate

      @Nullable public LocalDate getTranspOrdItmDocRefDate()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdItmDocRefDate

      Returns:
      Business Transaction Document Date
    • getTranspOrdItemDocRefIssuerName

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

      Original property name from the Odata EDM: TranspOrdItemDocRefIssuerName

      Returns:
      Issuing Party of Business Transaction Document
    • toString

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

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

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

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

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