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

public class FreightUnitStage extends VdmEntity<FreightUnitStage> implements VdmEntitySet
Freight Unit Stage

Original entity name from the Odata EDM: FreightUnitStage_Type

  • Field Details

  • Constructor Details

    • FreightUnitStage

      public FreightUnitStage()
    • FreightUnitStage

      public FreightUnitStage(@Nullable UUID transportationOrderStageUUID, @Nullable UUID transportationOrderUUID, @Nullable String transportationOrderStage, @Nullable String transpOrdStageType, @Nullable String transpOrdStageCategory, @Nullable BigDecimal transpOrdStageDistance, @Nullable String transpOrdStageDistanceUnit, @Nullable BigDecimal transpOrdStageNetDuration, @Nullable UUID transpOrdStageSrceStopUUID, @Nullable UUID transpOrdStageDestStopUUID, @Nullable FreightUnit to_FreightUnit, @Nullable FreightUnitStop to_FreightUnitStop)
  • Method Details

    • getType

      @Nonnull public Class<FreightUnitStage> getType()
      Specified by:
      getType in class VdmObject<FreightUnitStage>
    • 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
    • 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<FreightUnitStage>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity FreightUnitStage 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 _FreightUnit is already loaded, the result will contain the FreightUnit entity. If not, an Option with result state empty is returned.
    • setFreightUnit

      public void setFreightUnit(FreightUnit value)
      Overwrites the associated FreightUnit entity for the loaded navigation property _FreightUnit.
      Parameters:
      value - New FreightUnit entity.
    • getFreightUnitStopIfPresent

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

      If the navigation property for an entity FreightUnitStage 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 _FreightUnitStop is already loaded, the result will contain the FreightUnitStop entity. If not, an Option with result state empty is returned.
    • setFreightUnitStop

      public void setFreightUnitStop(FreightUnitStop value)
      Overwrites the associated FreightUnitStop entity for the loaded navigation property _FreightUnitStop.
      Parameters:
      value - New FreightUnitStop entity.
    • builder

      @Nonnull public static FreightUnitStage.FreightUnitStageBuilder 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
    • 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<FreightUnitStage>
    • equals

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

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

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

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