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

public class SlsPrcgConditionTableField extends VdmEntity<SlsPrcgConditionTableField> implements VdmEntitySet
Fields

Original entity name from the Odata EDM: SlsPrcgConditionTableFieldType

  • Field Details

  • Constructor Details

    • SlsPrcgConditionTableField

      public SlsPrcgConditionTableField()
    • SlsPrcgConditionTableField

      public SlsPrcgConditionTableField(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String conditionTable, @Nullable String pricingConditionField, @Nullable Boolean prcgCndnTableFieldIsKey, @Nullable Boolean prcgCndnTableFieldIsItem, @Nullable Boolean prcgCndnTableFieldHasText, @Nullable String prcgConditionGlobalFieldName, @Nullable SalesPricingConditionTable to_SalesPricingConditionTable)
  • Method Details

    • getType

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

      public void setPricingConditionField(@Nullable String pricingConditionField)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PricingConditionField

      Parameters:
      pricingConditionField - Field Name
    • setPrcgCndnTableFieldIsKey

      public void setPrcgCndnTableFieldIsKey(@Nullable Boolean prcgCndnTableFieldIsKey)
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableFieldIsKey

      Parameters:
      prcgCndnTableFieldIsKey - Identifies a key field of a table
    • setPrcgCndnTableFieldIsItem

      public void setPrcgCndnTableFieldIsItem(@Nullable Boolean prcgCndnTableFieldIsItem)
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableFieldIsItem

      Parameters:
      prcgCndnTableFieldIsItem - Field to appear on fast entry screen (item)
    • setPrcgCndnTableFieldHasText

      public void setPrcgCndnTableFieldHasText(@Nullable Boolean prcgCndnTableFieldHasText)
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableFieldHasText

      Parameters:
      prcgCndnTableFieldHasText - Text field for fast entry
    • setPrcgConditionGlobalFieldName

      public void setPrcgConditionGlobalFieldName(@Nullable String prcgConditionGlobalFieldName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PrcgConditionGlobalFieldName

      Parameters:
      prcgConditionGlobalFieldName - DD: Field Name Original Spelling
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setSalesPricingConditionTable(SalesPricingConditionTable value)
      Overwrites the associated SalesPricingConditionTable entity for the loaded navigation property _SalesPricingConditionTable.
      Parameters:
      value - New SalesPricingConditionTable entity.
    • 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
    • getPricingConditionField

      @Nullable public String getPricingConditionField()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PricingConditionField

      Returns:
      Field Name
    • getPrcgCndnTableFieldIsKey

      @Nullable public Boolean getPrcgCndnTableFieldIsKey()
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableFieldIsKey

      Returns:
      Identifies a key field of a table
    • getPrcgCndnTableFieldIsItem

      @Nullable public Boolean getPrcgCndnTableFieldIsItem()
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableFieldIsItem

      Returns:
      Field to appear on fast entry screen (item)
    • getPrcgCndnTableFieldHasText

      @Nullable public Boolean getPrcgCndnTableFieldHasText()
      Constraints: Not nullable

      Original property name from the Odata EDM: PrcgCndnTableFieldHasText

      Returns:
      Text field for fast entry
    • getPrcgConditionGlobalFieldName

      @Nullable public String getPrcgConditionGlobalFieldName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PrcgConditionGlobalFieldName

      Returns:
      DD: Field Name Original Spelling
    • toString

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

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

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

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

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