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

public class SlsPricingConditionFieldText extends VdmEntity<SlsPricingConditionFieldText> implements VdmEntitySet
Condition Field Descriptions

Original entity name from the Odata EDM: SlsPricingConditionFieldTextType

  • Field Details

  • Constructor Details

    • SlsPricingConditionFieldText

      public SlsPricingConditionFieldText()
    • SlsPricingConditionFieldText

      public SlsPricingConditionFieldText(@Nullable String language, @Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String pricingConditionField, @Nullable String pricingConditionFieldText, @Nullable SalesPricingConditionField to_SalesPricingConditionField)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • 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
    • 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
    • setPricingConditionFieldText

      public void setPricingConditionFieldText(@Nullable String pricingConditionFieldText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: PricingConditionFieldText

      Parameters:
      pricingConditionFieldText - Long Field Label
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SlsPricingConditionFieldText 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 _SalesPricingConditionField is already loaded, the result will contain the SalesPricingConditionField entity. If not, an Option with result state empty is returned.
    • setSalesPricingConditionField

      public void setSalesPricingConditionField(SalesPricingConditionField value)
      Overwrites the associated SalesPricingConditionField entity for the loaded navigation property _SalesPricingConditionField.
      Parameters:
      value - New SalesPricingConditionField entity.
    • builder

    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • 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
    • getPricingConditionField

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

      Original property name from the Odata EDM: PricingConditionField

      Returns:
      Field Name
    • getPricingConditionFieldText

      @Nullable public String getPricingConditionFieldText()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: PricingConditionFieldText

      Returns:
      Long Field Label
    • toString

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

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

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

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

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