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

public class TransportationRateTable extends VdmEntity<TransportationRateTable> implements VdmEntitySet
Rate Table

Original entity name from the Odata EDM: TransportationRateTable_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: TransportationRateTableUUID

      Parameters:
      transportationRateTableUUID - Transportation Rate Table UUID
    • setTranspRateTableID

      public void setTranspRateTableID(@Nullable String transpRateTableID)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: TranspRateTableID

      Parameters:
      transpRateTableID - Rate Table
    • setTranspRateTableDesc

      public void setTranspRateTableDesc(@Nullable String transpRateTableDesc)
      Constraints: Not nullable, Maximum length: 75

      Original property name from the Odata EDM: TranspRateTableDesc

      Parameters:
      transpRateTableDesc - Description
    • setTranspRateTableChangedOnDteTme

      public void setTranspRateTableChangedOnDteTme(@Nullable OffsetDateTime transpRateTableChangedOnDteTme)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspRateTableChangedOnDteTme

      Parameters:
      transpRateTableChangedOnDteTme - Rate Table Changed On
    • setTranspRateTblCreatedOnDateTime

      public void setTranspRateTblCreatedOnDateTime(@Nullable OffsetDateTime transpRateTblCreatedOnDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspRateTblCreatedOnDateTime

      Parameters:
      transpRateTblCreatedOnDateTime - Rate Table Created On
    • setTranspRateTableChangedBy

      public void setTranspRateTableChangedBy(@Nullable String transpRateTableChangedBy)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: TranspRateTableChangedBy

      Parameters:
      transpRateTableChangedBy - Changed By
    • setTranspRateTableCreatedBy

      public void setTranspRateTableCreatedBy(@Nullable String transpRateTableCreatedBy)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: TranspRateTableCreatedBy

      Parameters:
      transpRateTableCreatedBy - Created By
    • setTranspRateTableValueType

      public void setTranspRateTableValueType(@Nullable String transpRateTableValueType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspRateTableValueType

      Parameters:
      transpRateTableValueType - Value Type
    • setTranspChargeType

      public void setTranspChargeType(@Nullable String transpChargeType)
      Constraints: Not nullable, Maximum length: 15

      Original property name from the Odata EDM: TranspChargeType

      Parameters:
      transpChargeType - Charge Type
    • setTranspRateTableSignType

      public void setTranspRateTableSignType(@Nullable String transpRateTableSignType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspRateTableSignType

      Parameters:
      transpRateTableSignType - Positive/Negative
    • setTranspRateTableTimeZone

      public void setTranspRateTableTimeZone(@Nullable String transpRateTableTimeZone)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TranspRateTableTimeZone

      Parameters:
      transpRateTableTimeZone - Time Zone
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<TranspRateTableOrganization>> getTranspRateTableOrganizationIfPresent()
      Retrieval of associated TranspRateTableOrganization entities (one to many). This corresponds to the OData navigation property _TranspRateTableOrganization.

      If the navigation property for an entity TransportationRateTable 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 _TranspRateTableOrganization is already loaded, the result will contain the TranspRateTableOrganization entities. If not, an Option with result state empty is returned.
    • setTranspRateTableOrganization

      public void setTranspRateTableOrganization(@Nonnull List<TranspRateTableOrganization> value)
      Overwrites the list of associated TranspRateTableOrganization entities for the loaded navigation property _TranspRateTableOrganization.

      If the navigation property _TranspRateTableOrganization of a queried TransportationRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of TranspRateTableOrganization entities.
    • addTranspRateTableOrganization

      public void addTranspRateTableOrganization(TranspRateTableOrganization... entity)
      Adds elements to the list of associated TranspRateTableOrganization entities. This corresponds to the OData navigation property _TranspRateTableOrganization.

      If the navigation property _TranspRateTableOrganization of a queried TransportationRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of TranspRateTableOrganization entities.
    • getTranspRateTableScaleRefIfPresent

      @Nonnull public io.vavr.control.Option<List<TranspRateTableScaleRef>> getTranspRateTableScaleRefIfPresent()
      Retrieval of associated TranspRateTableScaleRef entities (one to many). This corresponds to the OData navigation property _TranspRateTableScaleRef.

      If the navigation property for an entity TransportationRateTable 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 _TranspRateTableScaleRef is already loaded, the result will contain the TranspRateTableScaleRef entities. If not, an Option with result state empty is returned.
    • setTranspRateTableScaleRef

      public void setTranspRateTableScaleRef(@Nonnull List<TranspRateTableScaleRef> value)
      Overwrites the list of associated TranspRateTableScaleRef entities for the loaded navigation property _TranspRateTableScaleRef.

      If the navigation property _TranspRateTableScaleRef of a queried TransportationRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of TranspRateTableScaleRef entities.
    • addTranspRateTableScaleRef

      public void addTranspRateTableScaleRef(TranspRateTableScaleRef... entity)
      Adds elements to the list of associated TranspRateTableScaleRef entities. This corresponds to the OData navigation property _TranspRateTableScaleRef.

      If the navigation property _TranspRateTableScaleRef of a queried TransportationRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of TranspRateTableScaleRef entities.
    • getTranspRateTableValidityIfPresent

      @Nonnull public io.vavr.control.Option<List<TranspRateTableValidity>> getTranspRateTableValidityIfPresent()
      Retrieval of associated TranspRateTableValidity entities (one to many). This corresponds to the OData navigation property _TranspRateTableValidity.

      If the navigation property for an entity TransportationRateTable 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 _TranspRateTableValidity is already loaded, the result will contain the TranspRateTableValidity entities. If not, an Option with result state empty is returned.
    • setTranspRateTableValidity

      public void setTranspRateTableValidity(@Nonnull List<TranspRateTableValidity> value)
      Overwrites the list of associated TranspRateTableValidity entities for the loaded navigation property _TranspRateTableValidity.

      If the navigation property _TranspRateTableValidity of a queried TransportationRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of TranspRateTableValidity entities.
    • addTranspRateTableValidity

      public void addTranspRateTableValidity(TranspRateTableValidity... entity)
      Adds elements to the list of associated TranspRateTableValidity entities. This corresponds to the OData navigation property _TranspRateTableValidity.

      If the navigation property _TranspRateTableValidity of a queried TransportationRateTable is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of TranspRateTableValidity entities.
    • copyRateTable

      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getTransportationRateTableUUID

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

      Original property name from the Odata EDM: TransportationRateTableUUID

      Returns:
      Transportation Rate Table UUID
    • getTranspRateTableID

      @Nullable public String getTranspRateTableID()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: TranspRateTableID

      Returns:
      Rate Table
    • getTranspRateTableDesc

      @Nullable public String getTranspRateTableDesc()
      Constraints: Not nullable, Maximum length: 75

      Original property name from the Odata EDM: TranspRateTableDesc

      Returns:
      Description
    • getTranspRateTableChangedOnDteTme

      @Nullable public OffsetDateTime getTranspRateTableChangedOnDteTme()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspRateTableChangedOnDteTme

      Returns:
      Rate Table Changed On
    • getTranspRateTblCreatedOnDateTime

      @Nullable public OffsetDateTime getTranspRateTblCreatedOnDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspRateTblCreatedOnDateTime

      Returns:
      Rate Table Created On
    • getTranspRateTableChangedBy

      @Nullable public String getTranspRateTableChangedBy()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: TranspRateTableChangedBy

      Returns:
      Changed By
    • getTranspRateTableCreatedBy

      @Nullable public String getTranspRateTableCreatedBy()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: TranspRateTableCreatedBy

      Returns:
      Created By
    • getTranspRateTableValueType

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

      Original property name from the Odata EDM: TranspRateTableValueType

      Returns:
      Value Type
    • getTranspChargeType

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

      Original property name from the Odata EDM: TranspChargeType

      Returns:
      Charge Type
    • getTranspRateTableSignType

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

      Original property name from the Odata EDM: TranspRateTableSignType

      Returns:
      Positive/Negative
    • getTranspRateTableTimeZone

      @Nullable public String getTranspRateTableTimeZone()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: TranspRateTableTimeZone

      Returns:
      Time Zone
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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