java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<PurgCatPlannedSpend>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.purchasingcategory.PurgCatPlannedSpend

public class PurgCatPlannedSpend extends VdmEntity<PurgCatPlannedSpend>
Planned Spend

Original entity name from the Odata EDM: A_PurgCatPlannedSpendType

  • Field Details

    • ALL_FIELDS

      public static final PurgCatPlannedSpendSelectable ALL_FIELDS
      Selector for all available fields of PurgCatPlannedSpend.
    • PURG_CAT_PLND_SPEND_UUID

      public static final PurgCatPlannedSpendField<UUID> PURG_CAT_PLND_SPEND_UUID
      Use with available fluent helpers to apply the PurgCatPlndSpendUUID field to query operations.
    • PURG_CAT_UUID

      public static final PurgCatPlannedSpendField<UUID> PURG_CAT_UUID
      Use with available fluent helpers to apply the PurgCatUUID field to query operations.
    • PURG_CAT_PLND_SPEND_VALID_FROM_DATE

      public static final PurgCatPlannedSpendField<LocalDateTime> PURG_CAT_PLND_SPEND_VALID_FROM_DATE
      Use with available fluent helpers to apply the PurgCatPlndSpendValidFromDate field to query operations.
    • PURG_CAT_PLND_SPEND_VALID_TO_DATE

      public static final PurgCatPlannedSpendField<LocalDateTime> PURG_CAT_PLND_SPEND_VALID_TO_DATE
      Use with available fluent helpers to apply the PurgCatPlndSpendValidToDate field to query operations.
    • PURG_CAT_PLND_SPEND_AMOUNT

      public static final PurgCatPlannedSpendField<BigDecimal> PURG_CAT_PLND_SPEND_AMOUNT
      Use with available fluent helpers to apply the PurgCatPlndSpendAmount field to query operations.
    • PURG_CAT_PLND_SPEND_CURRENCY

      public static final PurgCatPlannedSpendField<String> PURG_CAT_PLND_SPEND_CURRENCY
      Use with available fluent helpers to apply the PurgCatPlndSpendCurrency field to query operations.
  • Constructor Details

    • PurgCatPlannedSpend

      public PurgCatPlannedSpend()
    • PurgCatPlannedSpend

      public PurgCatPlannedSpend(@Nullable UUID purgCatPlndSpendUUID, @Nullable UUID purgCatUUID, @Nullable LocalDateTime purgCatPlndSpendValidFromDate, @Nullable LocalDateTime purgCatPlndSpendValidToDate, @Nullable BigDecimal purgCatPlndSpendAmount, @Nullable String purgCatPlndSpendCurrency)
  • Method Details

    • getType

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

      public void setPurgCatPlndSpendUUID(@Nullable UUID purgCatPlndSpendUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PurgCatPlndSpendUUID

      Parameters:
      purgCatPlndSpendUUID - Planned Spend for a Purchasing Category
    • setPurgCatUUID

      public void setPurgCatUUID(@Nullable UUID purgCatUUID)
      Constraints: none

      Original property name from the Odata EDM: PurgCatUUID

      Parameters:
      purgCatUUID - Purchasing Category UUID
    • setPurgCatPlndSpendValidFromDate

      public void setPurgCatPlndSpendValidFromDate(@Nullable LocalDateTime purgCatPlndSpendValidFromDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PurgCatPlndSpendValidFromDate

      Parameters:
      purgCatPlndSpendValidFromDate - "Valid From" Date of Planned Spend
    • setPurgCatPlndSpendValidToDate

      public void setPurgCatPlndSpendValidToDate(@Nullable LocalDateTime purgCatPlndSpendValidToDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PurgCatPlndSpendValidToDate

      Parameters:
      purgCatPlndSpendValidToDate - "Valid To" Date of Planned Spend
    • setPurgCatPlndSpendAmount

      public void setPurgCatPlndSpendAmount(@Nullable BigDecimal purgCatPlndSpendAmount)
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: PurgCatPlndSpendAmount

      Parameters:
      purgCatPlndSpendAmount - Amount of Planned Spend
    • setPurgCatPlndSpendCurrency

      public void setPurgCatPlndSpendCurrency(@Nullable String purgCatPlndSpendCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurgCatPlndSpendCurrency

      Parameters:
      purgCatPlndSpendCurrency - Currency of Planned Spend
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PurgCatPlannedSpendField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> PurgCatPlannedSpendField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<PurgCatPlannedSpend>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<PurgCatPlannedSpend>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<PurgCatPlannedSpend>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<PurgCatPlannedSpend>
    • builder

      @Nonnull public static PurgCatPlannedSpend.PurgCatPlannedSpendBuilder builder()
    • getPurgCatPlndSpendUUID

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

      Original property name from the Odata EDM: PurgCatPlndSpendUUID

      Returns:
      Planned Spend for a Purchasing Category
    • getPurgCatUUID

      @Nullable public UUID getPurgCatUUID()
      Constraints: none

      Original property name from the Odata EDM: PurgCatUUID

      Returns:
      Purchasing Category UUID
    • getPurgCatPlndSpendValidFromDate

      @Nullable public LocalDateTime getPurgCatPlndSpendValidFromDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PurgCatPlndSpendValidFromDate

      Returns:
      "Valid From" Date of Planned Spend
    • getPurgCatPlndSpendValidToDate

      @Nullable public LocalDateTime getPurgCatPlndSpendValidToDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: PurgCatPlndSpendValidToDate

      Returns:
      "Valid To" Date of Planned Spend
    • getPurgCatPlndSpendAmount

      @Nullable public BigDecimal getPurgCatPlndSpendAmount()
      Constraints: Not nullable, Precision: 14, Scale: 3

      Original property name from the Odata EDM: PurgCatPlndSpendAmount

      Returns:
      Amount of Planned Spend
    • getPurgCatPlndSpendCurrency

      @Nullable public String getPurgCatPlndSpendCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: PurgCatPlndSpendCurrency

      Returns:
      Currency of Planned Spend
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<PurgCatPlannedSpend>