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

public class FreightOrderStage extends VdmEntity<FreightOrderStage> implements VdmEntitySet
Freight Order Stage

Original entity name from the Odata EDM: FreightOrderStage_Type

  • Field Details

  • Constructor Details

    • FreightOrderStage

      public FreightOrderStage()
    • FreightOrderStage

      public FreightOrderStage(@Nullable UUID transportationOrderStageUUID, @Nullable UUID transportationOrderUUID, @Nullable String transportationOrderStage, @Nullable String transpOrdStageType, @Nullable String transpOrdStageCategory, @Nullable String transportationMode, @Nullable String transportationModeCategory, @Nullable UUID carrierUUID, @Nullable String carrier, @Nullable String transpOrdStgeInvcgCarrLvl, @Nullable String transpOrdStageInvoicingCarrier, @Nullable BigDecimal transpOrdStageDistance, @Nullable String transpOrdStageDistanceUnit, @Nullable BigDecimal transpOrdStageNetDuration, @Nullable UUID transpOrdStageSrceStopUUID, @Nullable UUID transpOrdStageDestStopUUID, @Nullable FreightOrder to_FreightOrder, @Nullable FreightOrderStop to_FreightOrderStop)
  • Method Details

    • getType

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

      public void setTransportationOrderStageUUID(@Nullable UUID transportationOrderStageUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderStageUUID

      Parameters:
      transportationOrderStageUUID - NodeID
    • setTransportationOrderUUID

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

      Original property name from the Odata EDM: TransportationOrderUUID

      Parameters:
      transportationOrderUUID - Transportation Order UUID
    • setTransportationOrderStage

      public void setTransportationOrderStage(@Nullable String transportationOrderStage)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TransportationOrderStage

      Parameters:
      transportationOrderStage - Successor
    • setTranspOrdStageType

      public void setTranspOrdStageType(@Nullable String transpOrdStageType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspOrdStageType

      Parameters:
      transpOrdStageType - Stage Type
    • setTranspOrdStageCategory

      public void setTranspOrdStageCategory(@Nullable String transpOrdStageCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdStageCategory

      Parameters:
      transpOrdStageCategory - Stage Category
    • setTransportationMode

      public void setTransportationMode(@Nullable String transportationMode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TransportationMode

      Parameters:
      transportationMode - Transportation Mode
    • setTransportationModeCategory

      public void setTransportationModeCategory(@Nullable String transportationModeCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TransportationModeCategory

      Parameters:
      transportationModeCategory - Transportation Mode Category
    • setCarrierUUID

      public void setCarrierUUID(@Nullable UUID carrierUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: CarrierUUID

      Parameters:
      carrierUUID - Business Partner GUID
    • setCarrier

      public void setCarrier(@Nullable String carrier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Carrier

      Parameters:
      carrier - Carrier
    • setTranspOrdStgeInvcgCarrLvl

      public void setTranspOrdStgeInvcgCarrLvl(@Nullable String transpOrdStgeInvcgCarrLvl)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspOrdStgeInvcgCarrLvl

      Parameters:
      transpOrdStgeInvcgCarrLvl - Stage Invoicing Carrier Level
    • setTranspOrdStageInvoicingCarrier

      public void setTranspOrdStageInvoicingCarrier(@Nullable String transpOrdStageInvoicingCarrier)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TranspOrdStageInvoicingCarrier

      Parameters:
      transpOrdStageInvoicingCarrier - Invoicing Carrier
    • setTranspOrdStageDistance

      public void setTranspOrdStageDistance(@Nullable BigDecimal transpOrdStageDistance)
      Constraints: Not nullable, Precision: 28, Scale: 6

      Original property name from the Odata EDM: TranspOrdStageDistance

      Parameters:
      transpOrdStageDistance - Transportation Order Stage Distance
    • setTranspOrdStageDistanceUnit

      public void setTranspOrdStageDistanceUnit(@Nullable String transpOrdStageDistanceUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspOrdStageDistanceUnit

      Parameters:
      transpOrdStageDistanceUnit - Transportation Order Stage Distance Unit
    • setTranspOrdStageNetDuration

      public void setTranspOrdStageNetDuration(@Nullable BigDecimal transpOrdStageNetDuration)
      Constraints: Not nullable, Precision: 11

      Original property name from the Odata EDM: TranspOrdStageNetDuration

      Parameters:
      transpOrdStageNetDuration - Transportation Time of a Transportation Lane (in hhmmss)
    • setTranspOrdStageSrceStopUUID

      public void setTranspOrdStageSrceStopUUID(@Nullable UUID transpOrdStageSrceStopUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspOrdStageSrceStopUUID

      Parameters:
      transpOrdStageSrceStopUUID - NodeID
    • setTranspOrdStageDestStopUUID

      public void setTranspOrdStageDestStopUUID(@Nullable UUID transpOrdStageDestStopUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStageDestStopUUID

      Parameters:
      transpOrdStageDestStopUUID - Key of a Stop of a Transportation Order
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity FreightOrderStage 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 _FreightOrderStop is already loaded, the result will contain the FreightOrderStop entity. If not, an Option with result state empty is returned.
    • setFreightOrderStop

      public void setFreightOrderStop(FreightOrderStop value)
      Overwrites the associated FreightOrderStop entity for the loaded navigation property _FreightOrderStop.
      Parameters:
      value - New FreightOrderStop entity.
    • builder

      @Nonnull public static FreightOrderStage.FreightOrderStageBuilder builder()
    • getTransportationOrderStageUUID

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

      Original property name from the Odata EDM: TransportationOrderStageUUID

      Returns:
      NodeID
    • getTransportationOrderUUID

      @Nullable public UUID getTransportationOrderUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      Transportation Order UUID
    • getTransportationOrderStage

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

      Original property name from the Odata EDM: TransportationOrderStage

      Returns:
      Successor
    • getTranspOrdStageType

      @Nullable public String getTranspOrdStageType()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspOrdStageType

      Returns:
      Stage Type
    • getTranspOrdStageCategory

      @Nullable public String getTranspOrdStageCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdStageCategory

      Returns:
      Stage Category
    • getTransportationMode

      @Nullable public String getTransportationMode()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TransportationMode

      Returns:
      Transportation Mode
    • getTransportationModeCategory

      @Nullable public String getTransportationModeCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TransportationModeCategory

      Returns:
      Transportation Mode Category
    • getCarrierUUID

      @Nullable public UUID getCarrierUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: CarrierUUID

      Returns:
      Business Partner GUID
    • getCarrier

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

      Original property name from the Odata EDM: Carrier

      Returns:
      Carrier
    • getTranspOrdStgeInvcgCarrLvl

      @Nullable public String getTranspOrdStgeInvcgCarrLvl()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspOrdStgeInvcgCarrLvl

      Returns:
      Stage Invoicing Carrier Level
    • getTranspOrdStageInvoicingCarrier

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

      Original property name from the Odata EDM: TranspOrdStageInvoicingCarrier

      Returns:
      Invoicing Carrier
    • getTranspOrdStageDistance

      @Nullable public BigDecimal getTranspOrdStageDistance()
      Constraints: Not nullable, Precision: 28, Scale: 6

      Original property name from the Odata EDM: TranspOrdStageDistance

      Returns:
      Transportation Order Stage Distance
    • getTranspOrdStageDistanceUnit

      @Nullable public String getTranspOrdStageDistanceUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspOrdStageDistanceUnit

      Returns:
      Transportation Order Stage Distance Unit
    • getTranspOrdStageNetDuration

      @Nullable public BigDecimal getTranspOrdStageNetDuration()
      Constraints: Not nullable, Precision: 11

      Original property name from the Odata EDM: TranspOrdStageNetDuration

      Returns:
      Transportation Time of a Transportation Lane (in hhmmss)
    • getTranspOrdStageSrceStopUUID

      @Nullable public UUID getTranspOrdStageSrceStopUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspOrdStageSrceStopUUID

      Returns:
      NodeID
    • getTranspOrdStageDestStopUUID

      @Nullable public UUID getTranspOrdStageDestStopUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStageDestStopUUID

      Returns:
      Key of a Stop of a Transportation Order
    • toString

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

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

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

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

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