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

public class SalesPricingConditionTable extends VdmEntity<SalesPricingConditionTable> implements VdmEntitySet
Condition Tables

Original entity name from the Odata EDM: SalesPricingConditionTableType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setConditionUsage(@Nullable String conditionUsage)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionUsage

      Parameters:
      conditionUsage - Usage of the condition table
    • setConditionApplication

      public void setConditionApplication(@Nullable String conditionApplication)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionApplication

      Parameters:
      conditionApplication - Application
    • setConditionTable

      public void setConditionTable(@Nullable String conditionTable)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionTable

      Parameters:
      conditionTable - Three-digit character field for IDocs
    • setPrcgCndnTableHasValidityPeriod

      public void setPrcgCndnTableHasValidityPeriod(@Nullable Boolean prcgCndnTableHasValidityPeriod)
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableHasValidityPeriod

      Parameters:
      prcgCndnTableHasValidityPeriod - ID: Condition structure has validity period
    • setPrcgCndnTableHasReleaseStatus

      public void setPrcgCndnTableHasReleaseStatus(@Nullable Boolean prcgCndnTableHasReleaseStatus)
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableHasReleaseStatus

      Parameters:
      prcgCndnTableHasReleaseStatus - Indicator: Structure has release status
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SalesPricingConditionTable 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 _SlsPrcgConditionTableField is already loaded, the result will contain the SlsPrcgConditionTableField entities. If not, an Option with result state empty is returned.
    • setSlsPrcgConditionTableField

      public void setSlsPrcgConditionTableField(@Nonnull List<SlsPrcgConditionTableField> value)
      Overwrites the list of associated SlsPrcgConditionTableField entities for the loaded navigation property _SlsPrcgConditionTableField.

      If the navigation property _SlsPrcgConditionTableField of a queried SalesPricingConditionTable 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 SlsPrcgConditionTableField entities.
    • addSlsPrcgConditionTableField

      public void addSlsPrcgConditionTableField(SlsPrcgConditionTableField... entity)
      Adds elements to the list of associated SlsPrcgConditionTableField entities. This corresponds to the OData navigation property _SlsPrcgConditionTableField.

      If the navigation property _SlsPrcgConditionTableField of a queried SalesPricingConditionTable 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 SlsPrcgConditionTableField entities.
    • getTextIfPresent

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

      If the navigation property for an entity SalesPricingConditionTable 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 _Text is already loaded, the result will contain the SlsPricingConditionTableText entities. If not, an Option with result state empty is returned.
    • setText

      public void setText(@Nonnull List<SlsPricingConditionTableText> value)
      Overwrites the list of associated SlsPricingConditionTableText entities for the loaded navigation property _Text.

      If the navigation property _Text of a queried SalesPricingConditionTable 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 SlsPricingConditionTableText entities.
    • addText

      public void addText(SlsPricingConditionTableText... entity)
      Adds elements to the list of associated SlsPricingConditionTableText entities. This corresponds to the OData navigation property _Text.

      If the navigation property _Text of a queried SalesPricingConditionTable 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 SlsPricingConditionTableText entities.
    • builder

    • getConditionUsage

      @Nullable public String getConditionUsage()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionUsage

      Returns:
      Usage of the condition table
    • getConditionApplication

      @Nullable public String getConditionApplication()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionApplication

      Returns:
      Application
    • getConditionTable

      @Nullable public String getConditionTable()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionTable

      Returns:
      Three-digit character field for IDocs
    • getPrcgCndnTableHasValidityPeriod

      @Nullable public Boolean getPrcgCndnTableHasValidityPeriod()
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableHasValidityPeriod

      Returns:
      ID: Condition structure has validity period
    • getPrcgCndnTableHasReleaseStatus

      @Nullable public Boolean getPrcgCndnTableHasReleaseStatus()
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableHasReleaseStatus

      Returns:
      Indicator: Structure has release status
    • toString

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

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

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

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

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