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

public class FrtAgrmtRateTableScaleRef extends VdmEntity<FrtAgrmtRateTableScaleRef> implements VdmEntitySet
Freight Agreement Rate Table Scale Ref

Original entity name from the Odata EDM: FrtAgrmtRateTableScaleRef_Type

  • Field Details

  • Constructor Details

    • FrtAgrmtRateTableScaleRef

      public FrtAgrmtRateTableScaleRef()
    • FrtAgrmtRateTableScaleRef

      public FrtAgrmtRateTableScaleRef(@Nullable UUID transpRateTableScaleRefUUID, @Nullable UUID transportationRateTableUUID, @Nullable UUID transportationScaleUUID, @Nullable UUID transportationAgreementUUID, @Nullable String transpRateTableDimensionIndex, @Nullable String transportationCalculationBase, @Nullable Boolean transpRateTblScRefMinValIsSupp, @Nullable Boolean transpRateTblScRefMaxValIsSupp, @Nullable String transpRateTblScaleRefScaleType, @Nullable String transpRateTblScaleRefQtyUnit, @Nullable String transpRateTblScaleRefCurrency, @Nullable String transpRateTblScaleRefCalcType, @Nullable Boolean transpRateTblScRefNoValIsSupp, @Nullable Boolean transpRateScRefIsRlvtForBrkWgt, @Nullable FreightAgreement to_FreightAgreement, @Nullable FreightAgreementRateTable to_FreightAgreementRateTable)
  • Method Details

    • getType

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

      public void setTranspRateTableScaleRefUUID(@Nullable UUID transpRateTableScaleRefUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTableScaleRefUUID

      Parameters:
      transpRateTableScaleRefUUID - Transportation Rate Table Scale Reference UUID
    • setTransportationRateTableUUID

      public void setTransportationRateTableUUID(@Nullable UUID transportationRateTableUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationRateTableUUID

      Parameters:
      transportationRateTableUUID - Transportation Rate Table UUID
    • setTransportationScaleUUID

      public void setTransportationScaleUUID(@Nullable UUID transportationScaleUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: TransportationScaleUUID

      Parameters:
      transportationScaleUUID - Internal Universally Unique Identifier
    • setTransportationAgreementUUID

      public void setTransportationAgreementUUID(@Nullable UUID transportationAgreementUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationAgreementUUID

      Parameters:
      transportationAgreementUUID - Transportation Agreement UUID
    • setTranspRateTableDimensionIndex

      public void setTranspRateTableDimensionIndex(@Nullable String transpRateTableDimensionIndex)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspRateTableDimensionIndex

      Parameters:
      transpRateTableDimensionIndex - Scale Dimension Number
    • setTransportationCalculationBase

      public void setTransportationCalculationBase(@Nullable String transportationCalculationBase)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TransportationCalculationBase

      Parameters:
      transportationCalculationBase - Calculation Base
    • setTranspRateTblScRefMinValIsSupp

      public void setTranspRateTblScRefMinValIsSupp(@Nullable Boolean transpRateTblScRefMinValIsSupp)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTblScRefMinValIsSupp

      Parameters:
      transpRateTblScRefMinValIsSupp - Minimum Rate Value
    • setTranspRateTblScRefMaxValIsSupp

      public void setTranspRateTblScRefMaxValIsSupp(@Nullable Boolean transpRateTblScRefMaxValIsSupp)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTblScRefMaxValIsSupp

      Parameters:
      transpRateTblScRefMaxValIsSupp - Maximum Rate Value
    • setTranspRateTblScaleRefScaleType

      public void setTranspRateTblScaleRefScaleType(@Nullable String transpRateTblScaleRefScaleType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspRateTblScaleRefScaleType

      Parameters:
      transpRateTblScaleRefScaleType - Scale Type
    • setTranspRateTblScaleRefQtyUnit

      public void setTranspRateTblScaleRefQtyUnit(@Nullable String transpRateTblScaleRefQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspRateTblScaleRefQtyUnit

      Parameters:
      transpRateTblScaleRefQtyUnit - Scale Unit of Measure
    • setTranspRateTblScaleRefCurrency

      public void setTranspRateTblScaleRefCurrency(@Nullable String transpRateTblScaleRefCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TranspRateTblScaleRefCurrency

      Parameters:
      transpRateTblScaleRefCurrency - Scale Currency
    • setTranspRateTblScaleRefCalcType

      public void setTranspRateTblScaleRefCalcType(@Nullable String transpRateTblScaleRefCalcType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspRateTblScaleRefCalcType

      Parameters:
      transpRateTblScaleRefCalcType - Calculation Type
    • setTranspRateTblScRefNoValIsSupp

      public void setTranspRateTblScRefNoValIsSupp(@Nullable Boolean transpRateTblScRefNoValIsSupp)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTblScRefNoValIsSupp

      Parameters:
      transpRateTblScRefNoValIsSupp - Scale Item with No Value Allowed
    • setTranspRateScRefIsRlvtForBrkWgt

      public void setTranspRateScRefIsRlvtForBrkWgt(@Nullable Boolean transpRateScRefIsRlvtForBrkWgt)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateScRefIsRlvtForBrkWgt

      Parameters:
      transpRateScRefIsRlvtForBrkWgt - Scale Relevant for Calculation Method
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity FrtAgrmtRateTableScaleRef 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 _FreightAgreement is already loaded, the result will contain the FreightAgreement entity. If not, an Option with result state empty is returned.
    • setFreightAgreement

      public void setFreightAgreement(FreightAgreement value)
      Overwrites the associated FreightAgreement entity for the loaded navigation property _FreightAgreement.
      Parameters:
      value - New FreightAgreement entity.
    • getFreightAgreementRateTableIfPresent

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

      If the navigation property for an entity FrtAgrmtRateTableScaleRef 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 _FreightAgreementRateTable is already loaded, the result will contain the FreightAgreementRateTable entity. If not, an Option with result state empty is returned.
    • setFreightAgreementRateTable

      public void setFreightAgreementRateTable(FreightAgreementRateTable value)
      Overwrites the associated FreightAgreementRateTable entity for the loaded navigation property _FreightAgreementRateTable.
      Parameters:
      value - New FreightAgreementRateTable entity.
    • builder

    • getTranspRateTableScaleRefUUID

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

      Original property name from the Odata EDM: TranspRateTableScaleRefUUID

      Returns:
      Transportation Rate Table Scale Reference UUID
    • getTransportationRateTableUUID

      @Nullable public UUID getTransportationRateTableUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationRateTableUUID

      Returns:
      Transportation Rate Table UUID
    • getTransportationScaleUUID

      @Nullable public UUID getTransportationScaleUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: TransportationScaleUUID

      Returns:
      Internal Universally Unique Identifier
    • getTransportationAgreementUUID

      @Nullable public UUID getTransportationAgreementUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationAgreementUUID

      Returns:
      Transportation Agreement UUID
    • getTranspRateTableDimensionIndex

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

      Original property name from the Odata EDM: TranspRateTableDimensionIndex

      Returns:
      Scale Dimension Number
    • getTransportationCalculationBase

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

      Original property name from the Odata EDM: TransportationCalculationBase

      Returns:
      Calculation Base
    • getTranspRateTblScRefMinValIsSupp

      @Nullable public Boolean getTranspRateTblScRefMinValIsSupp()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTblScRefMinValIsSupp

      Returns:
      Minimum Rate Value
    • getTranspRateTblScRefMaxValIsSupp

      @Nullable public Boolean getTranspRateTblScRefMaxValIsSupp()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTblScRefMaxValIsSupp

      Returns:
      Maximum Rate Value
    • getTranspRateTblScaleRefScaleType

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

      Original property name from the Odata EDM: TranspRateTblScaleRefScaleType

      Returns:
      Scale Type
    • getTranspRateTblScaleRefQtyUnit

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

      Original property name from the Odata EDM: TranspRateTblScaleRefQtyUnit

      Returns:
      Scale Unit of Measure
    • getTranspRateTblScaleRefCurrency

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

      Original property name from the Odata EDM: TranspRateTblScaleRefCurrency

      Returns:
      Scale Currency
    • getTranspRateTblScaleRefCalcType

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

      Original property name from the Odata EDM: TranspRateTblScaleRefCalcType

      Returns:
      Calculation Type
    • getTranspRateTblScRefNoValIsSupp

      @Nullable public Boolean getTranspRateTblScRefNoValIsSupp()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateTblScRefNoValIsSupp

      Returns:
      Scale Item with No Value Allowed
    • getTranspRateScRefIsRlvtForBrkWgt

      @Nullable public Boolean getTranspRateScRefIsRlvtForBrkWgt()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspRateScRefIsRlvtForBrkWgt

      Returns:
      Scale Relevant for Calculation Method
    • toString

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

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

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

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

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