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

public class SlsPrcgCndnExclsnGroupText extends VdmEntity<SlsPrcgCndnExclsnGroupText> implements VdmEntitySet
Condition Exclusion Group - Text

Original entity name from the Odata EDM: SlsPrcgCndnExclsnGroupText_Type

  • Field Details

  • Constructor Details

    • SlsPrcgCndnExclsnGroupText

      public SlsPrcgCndnExclsnGroupText()
    • SlsPrcgCndnExclsnGroupText

      public SlsPrcgCndnExclsnGroupText(@Nullable String language, @Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String conditionExclusionGroup, @Nullable String conditionExclusionGroupText, @Nullable SlsPrcgCndnExclusionGroup to_SlsPrcgCndnExclusionGroup)
  • Method Details

    • getType

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

      public void setConditionExclusionGroup(@Nullable String conditionExclusionGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionExclusionGroup

      Parameters:
      conditionExclusionGroup - Condition Exclusion Group
    • setConditionExclusionGroupText

      public void setConditionExclusionGroupText(@Nullable String conditionExclusionGroupText)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ConditionExclusionGroupText

      Parameters:
      conditionExclusionGroupText - Description
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SlsPrcgCndnExclsnGroupText 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 _SlsPrcgCndnExclusionGroup is already loaded, the result will contain the SlsPrcgCndnExclusionGroup entity. If not, an Option with result state empty is returned.
    • setSlsPrcgCndnExclusionGroup

      public void setSlsPrcgCndnExclusionGroup(SlsPrcgCndnExclusionGroup value)
      Overwrites the associated SlsPrcgCndnExclusionGroup entity for the loaded navigation property _SlsPrcgCndnExclusionGroup.
      Parameters:
      value - New SlsPrcgCndnExclusionGroup 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
    • getConditionExclusionGroup

      @Nullable public String getConditionExclusionGroup()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionExclusionGroup

      Returns:
      Condition Exclusion Group
    • getConditionExclusionGroupText

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

      Original property name from the Odata EDM: ConditionExclusionGroupText

      Returns:
      Description
    • toString

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

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

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

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

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