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

public class SlsPrcgCndnExclusionGroup extends VdmEntity<SlsPrcgCndnExclusionGroup> implements VdmEntitySet
Condition Exclusion Group

Original entity name from the Odata EDM: SlsPrcgCndnExclusionGroup_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

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

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

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

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

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

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

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

      public void setSlsCndnExclsnForPrcgProced(@Nonnull List<SlsCndnExclsnForPrcgProced> value)
      Overwrites the list of associated SlsCndnExclsnForPrcgProced entities for the loaded navigation property _SlsCndnExclsnForPrcgProced.

      If the navigation property _SlsCndnExclsnForPrcgProced of a queried SlsPrcgCndnExclusionGroup 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 SlsCndnExclsnForPrcgProced entities.
    • addSlsCndnExclsnForPrcgProced

      public void addSlsCndnExclsnForPrcgProced(SlsCndnExclsnForPrcgProced... entity)
      Adds elements to the list of associated SlsCndnExclsnForPrcgProced entities. This corresponds to the OData navigation property _SlsCndnExclsnForPrcgProced.

      If the navigation property _SlsCndnExclsnForPrcgProced of a queried SlsPrcgCndnExclusionGroup 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 SlsCndnExclsnForPrcgProced entities.
    • getSlsPrcgCndnTypeInExclsnGroupIfPresent

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

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

      public void setSlsPrcgCndnTypeInExclsnGroup(@Nonnull List<SlsPrcgCndnTypeInExclsnGroup> value)
      Overwrites the list of associated SlsPrcgCndnTypeInExclsnGroup entities for the loaded navigation property _SlsPrcgCndnTypeInExclsnGroup.

      If the navigation property _SlsPrcgCndnTypeInExclsnGroup of a queried SlsPrcgCndnExclusionGroup 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 SlsPrcgCndnTypeInExclsnGroup entities.
    • addSlsPrcgCndnTypeInExclsnGroup

      public void addSlsPrcgCndnTypeInExclsnGroup(SlsPrcgCndnTypeInExclsnGroup... entity)
      Adds elements to the list of associated SlsPrcgCndnTypeInExclsnGroup entities. This corresponds to the OData navigation property _SlsPrcgCndnTypeInExclsnGroup.

      If the navigation property _SlsPrcgCndnTypeInExclsnGroup of a queried SlsPrcgCndnExclusionGroup 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 SlsPrcgCndnTypeInExclsnGroup entities.
    • getTextIfPresent

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

      If the navigation property for an entity SlsPrcgCndnExclusionGroup 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 SlsPrcgCndnExclsnGroupText entities. If not, an Option with result state empty is returned.
    • setText

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

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

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

      If the navigation property _Text of a queried SlsPrcgCndnExclusionGroup 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 SlsPrcgCndnExclsnGroupText 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
    • 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
    • toString

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

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

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

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

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