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

public class SrcgProjItmCndnScale extends VdmEntity<SrcgProjItmCndnScale> implements VdmEntitySet
Condition Scale

Original entity name from the Odata EDM: SrcgProjItmCndnScale_Type

  • Field Details

  • Constructor Details

    • SrcgProjItmCndnScale

      public SrcgProjItmCndnScale()
    • SrcgProjItmCndnScale

      public SrcgProjItmCndnScale(@Nullable UUID srcgProjItemCndnScaleUUID, @Nullable UUID sourcingProjectUUID, @Nullable UUID srcgProjItemCndnAmountUUID, @Nullable BigDecimal conditionScaleQuantity, @Nullable String conditionScaleQuantityUnit, @Nullable String cndnScaleQuantityUnitISOCode, @Nullable BigDecimal conditionScaleAmount, @Nullable String conditionScaleAmountCurrency, @Nullable String pricingScaleType, @Nullable String conditionSequentialNumberShort, @Nullable SourcingProject to_SourcingProject, @Nullable SrcgProjItmCndnAmount to_SrcgProjItmCndnAmount)
  • Method Details

    • getType

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

      public void setSrcgProjItemCndnScaleUUID(@Nullable UUID srcgProjItemCndnScaleUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnScaleUUID

      Parameters:
      srcgProjItemCndnScaleUUID - Condition Scale UUID in Sourcing Project
    • setSourcingProjectUUID

      public void setSourcingProjectUUID(@Nullable UUID sourcingProjectUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjItemCndnAmountUUID

      public void setSrcgProjItemCndnAmountUUID(@Nullable UUID srcgProjItemCndnAmountUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnAmountUUID

      Parameters:
      srcgProjItemCndnAmountUUID - Condition Amount UUID in Sourcing Project
    • setConditionScaleQuantity

      public void setConditionScaleQuantity(@Nullable BigDecimal conditionScaleQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Parameters:
      conditionScaleQuantity - Condition Scale Quantity
    • setConditionScaleQuantityUnit

      public void setConditionScaleQuantityUnit(@Nullable String conditionScaleQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Parameters:
      conditionScaleQuantityUnit - Condition Scale Unit of Measure
    • setCndnScaleQuantityUnitISOCode

      public void setCndnScaleQuantityUnitISOCode(@Nullable String cndnScaleQuantityUnitISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CndnScaleQuantityUnitISOCode

      Parameters:
      cndnScaleQuantityUnitISOCode - ISO Unit Code for Condition Scale Quantity
    • setConditionScaleAmount

      public void setConditionScaleAmount(@Nullable BigDecimal conditionScaleAmount)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: ConditionScaleAmount

      Parameters:
      conditionScaleAmount - Scale Value
    • setConditionScaleAmountCurrency

      public void setConditionScaleAmountCurrency(@Nullable String conditionScaleAmountCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Parameters:
      conditionScaleAmountCurrency - Scale Currency
    • setPricingScaleType

      public void setPricingScaleType(@Nullable String pricingScaleType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PricingScaleType

      Parameters:
      pricingScaleType - Scale Type
    • setConditionSequentialNumberShort

      public void setConditionSequentialNumberShort(@Nullable String conditionSequentialNumberShort)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionSequentialNumberShort

      Parameters:
      conditionSequentialNumberShort - Sequential number of the condition
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrcgProjItmCndnScale 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 _SourcingProject is already loaded, the result will contain the SourcingProject entity. If not, an Option with result state empty is returned.
    • setSourcingProject

      public void setSourcingProject(SourcingProject value)
      Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.
      Parameters:
      value - New SourcingProject entity.
    • getSrcgProjItmCndnAmountIfPresent

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

      If the navigation property for an entity SrcgProjItmCndnScale 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 _SrcgProjItmCndnAmount is already loaded, the result will contain the SrcgProjItmCndnAmount entity. If not, an Option with result state empty is returned.
    • setSrcgProjItmCndnAmount

      public void setSrcgProjItmCndnAmount(SrcgProjItmCndnAmount value)
      Overwrites the associated SrcgProjItmCndnAmount entity for the loaded navigation property _SrcgProjItmCndnAmount.
      Parameters:
      value - New SrcgProjItmCndnAmount entity.
    • builder

      @Nonnull public static SrcgProjItmCndnScale.SrcgProjItmCndnScaleBuilder builder()
    • getSrcgProjItemCndnScaleUUID

      @Nullable public UUID getSrcgProjItemCndnScaleUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnScaleUUID

      Returns:
      Condition Scale UUID in Sourcing Project
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjItemCndnAmountUUID

      @Nullable public UUID getSrcgProjItemCndnAmountUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemCndnAmountUUID

      Returns:
      Condition Amount UUID in Sourcing Project
    • getConditionScaleQuantity

      @Nullable public BigDecimal getConditionScaleQuantity()
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: ConditionScaleQuantity

      Returns:
      Condition Scale Quantity
    • getConditionScaleQuantityUnit

      @Nullable public String getConditionScaleQuantityUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleQuantityUnit

      Returns:
      Condition Scale Unit of Measure
    • getCndnScaleQuantityUnitISOCode

      @Nullable public String getCndnScaleQuantityUnitISOCode()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CndnScaleQuantityUnitISOCode

      Returns:
      ISO Unit Code for Condition Scale Quantity
    • getConditionScaleAmount

      @Nullable public BigDecimal getConditionScaleAmount()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: ConditionScaleAmount

      Returns:
      Scale Value
    • getConditionScaleAmountCurrency

      @Nullable public String getConditionScaleAmountCurrency()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ConditionScaleAmountCurrency

      Returns:
      Scale Currency
    • getPricingScaleType

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

      Original property name from the Odata EDM: PricingScaleType

      Returns:
      Scale Type
    • getConditionSequentialNumberShort

      @Nullable public String getConditionSequentialNumberShort()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ConditionSequentialNumberShort

      Returns:
      Sequential number of the condition
    • toString

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

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

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

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

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