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

public class SlsCndnExclsnForPrcgProced extends VdmEntity<SlsCndnExclsnForPrcgProced> implements VdmEntitySet
Condition Exclusion for Pricing Procedure

Original entity name from the Odata EDM: SlsCndnExclsnForPrcgProced_Type

  • Field Details

  • Constructor Details

    • SlsCndnExclsnForPrcgProced

      public SlsCndnExclsnForPrcgProced()
    • SlsCndnExclsnForPrcgProced

      public SlsCndnExclsnForPrcgProced(@Nullable String conditionUsage, @Nullable String conditionApplication, @Nullable String pricingProcedure, @Nullable String cndnExclusionSequentialNumber, @Nullable String conditionExclusionProcedure, @Nullable String conditionExclusionGroup1, @Nullable String conditionExclusionGroup2, List<SlsPrcgCndnExclusionGroup> to_SlsPrcgCndnExclusionGroup)
  • Method Details

    • getType

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

      public void setPricingProcedure(@Nullable String pricingProcedure)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PricingProcedure

      Parameters:
      pricingProcedure - Procedure (Pricing, Output Control, Acct. Det., Costing,...)
    • setCndnExclusionSequentialNumber

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

      Original property name from the Odata EDM: CndnExclusionSequentialNumber

      Parameters:
      cndnExclusionSequentialNumber - Sequential Number for Condition Exclusion
    • setConditionExclusionProcedure

      public void setConditionExclusionProcedure(@Nullable String conditionExclusionProcedure)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionExclusionProcedure

      Parameters:
      conditionExclusionProcedure - Condition Exclusion Procedure
    • setConditionExclusionGroup1

      public void setConditionExclusionGroup1(@Nullable String conditionExclusionGroup1)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionExclusionGroup1

      Parameters:
      conditionExclusionGroup1 - Condition exclusion group1
    • setConditionExclusionGroup2

      public void setConditionExclusionGroup2(@Nullable String conditionExclusionGroup2)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionExclusionGroup2

      Parameters:
      conditionExclusionGroup2 - Condition exclusion group 2
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setSlsPrcgCndnExclusionGroup(@Nonnull List<SlsPrcgCndnExclusionGroup> value)
      Overwrites the list of associated SlsPrcgCndnExclusionGroup entities for the loaded navigation property _SlsPrcgCndnExclusionGroup.

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

      public void addSlsPrcgCndnExclusionGroup(SlsPrcgCndnExclusionGroup... entity)
      Adds elements to the list of associated SlsPrcgCndnExclusionGroup entities. This corresponds to the OData navigation property _SlsPrcgCndnExclusionGroup.

      If the navigation property _SlsPrcgCndnExclusionGroup of a queried SlsCndnExclsnForPrcgProced 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 SlsPrcgCndnExclusionGroup 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
    • getPricingProcedure

      @Nullable public String getPricingProcedure()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: PricingProcedure

      Returns:
      Procedure (Pricing, Output Control, Acct. Det., Costing,...)
    • getCndnExclusionSequentialNumber

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

      Original property name from the Odata EDM: CndnExclusionSequentialNumber

      Returns:
      Sequential Number for Condition Exclusion
    • getConditionExclusionProcedure

      @Nullable public String getConditionExclusionProcedure()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ConditionExclusionProcedure

      Returns:
      Condition Exclusion Procedure
    • getConditionExclusionGroup1

      @Nullable public String getConditionExclusionGroup1()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionExclusionGroup1

      Returns:
      Condition exclusion group1
    • getConditionExclusionGroup2

      @Nullable public String getConditionExclusionGroup2()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ConditionExclusionGroup2

      Returns:
      Condition exclusion group 2
    • toString

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

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

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

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

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