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

public class ProdAllocObjTimeSeries extends VdmEntity<ProdAllocObjTimeSeries>
Product Allocation Object Time Series

Original entity name from the Odata EDM: A_ProdAllocObjTimeSeriesType

  • Field Details

    • ALL_FIELDS

      public static final ProdAllocObjTimeSeriesSelectable ALL_FIELDS
      Selector for all available fields of ProdAllocObjTimeSeries.
    • DELETE_ACTIVE_TIME_SERIES_AC

      public static final ProdAllocObjTimeSeriesField<Boolean> DELETE_ACTIVE_TIME_SERIES_AC
      Use with available fluent helpers to apply the DeleteActiveTimeSeries_ac field to query operations.
    • UPDATE_MC

      public static final ProdAllocObjTimeSeriesField<Boolean> UPDATE_MC
      Use with available fluent helpers to apply the Update_mc field to query operations.
    • PROD_ALLOCATION_TIME_SERIES_UUID

      public static final ProdAllocObjTimeSeriesField<UUID> PROD_ALLOCATION_TIME_SERIES_UUID
      Use with available fluent helpers to apply the ProdAllocationTimeSeriesUUID field to query operations.
    • PRODUCT_ALLOCATION_OBJECT_UUID

      public static final ProdAllocObjTimeSeriesField<UUID> PRODUCT_ALLOCATION_OBJECT_UUID
      Use with available fluent helpers to apply the ProductAllocationObjectUUID field to query operations.
    • CHARC_VALUE_COMBINATION_UUID

      public static final ProdAllocObjTimeSeriesField<UUID> CHARC_VALUE_COMBINATION_UUID
      Use with available fluent helpers to apply the CharcValueCombinationUUID field to query operations.
    • PROD_ALLOC_PERD_START_UTC_DATE_TIME

      public static final ProdAllocObjTimeSeriesField<ZonedDateTime> PROD_ALLOC_PERD_START_UTC_DATE_TIME
      Use with available fluent helpers to apply the ProdAllocPerdStartUTCDateTime field to query operations.
    • PROD_ALLOC_PERIOD_START_TIME_ZONE

      public static final ProdAllocObjTimeSeriesField<String> PROD_ALLOC_PERIOD_START_TIME_ZONE
      Use with available fluent helpers to apply the ProdAllocPeriodStartTimeZone field to query operations.
    • PROD_ALLOC_PERIOD_END_UTC_DATE_TIME

      public static final ProdAllocObjTimeSeriesField<ZonedDateTime> PROD_ALLOC_PERIOD_END_UTC_DATE_TIME
      Use with available fluent helpers to apply the ProdAllocPeriodEndUTCDateTime field to query operations.
    • PROD_ALLOC_PERIOD_END_TIME_ZONE

      public static final ProdAllocObjTimeSeriesField<String> PROD_ALLOC_PERIOD_END_TIME_ZONE
      Use with available fluent helpers to apply the ProdAllocPeriodEndTimeZone field to query operations.
    • PRODUCT_ALLOCATION_QUANTITY

      public static final ProdAllocObjTimeSeriesField<BigDecimal> PRODUCT_ALLOCATION_QUANTITY
      Use with available fluent helpers to apply the ProductAllocationQuantity field to query operations.
    • PRODUCT_ALLOCATION_QUANTITY_UNIT

      public static final ProdAllocObjTimeSeriesField<String> PRODUCT_ALLOCATION_QUANTITY_UNIT
      Use with available fluent helpers to apply the ProductAllocationQuantityUnit field to query operations.
    • TO_PROD_ALLOC_CHARC_VAL_COMBN_TP

      public static final ProdAllocObjTimeSeriesOneToOneLink<ProdAllocCharcValCombn> TO_PROD_ALLOC_CHARC_VAL_COMBN_TP
      Use with available fluent helpers to apply the to_ProdAllocCharcValCombnTP navigation property to query operations.
    • TO_PROD_ALLOCATION_OBJECT_TP

      public static final ProdAllocObjTimeSeriesOneToOneLink<ProdAllocationObject> TO_PROD_ALLOCATION_OBJECT_TP
      Use with available fluent helpers to apply the to_ProdAllocationObjectTP navigation property to query operations.
  • Constructor Details

    • ProdAllocObjTimeSeries

      public ProdAllocObjTimeSeries()
    • ProdAllocObjTimeSeries

      public ProdAllocObjTimeSeries(@Nullable Boolean deleteActiveTimeSeries_ac, @Nullable Boolean update_mc, @Nullable UUID prodAllocationTimeSeriesUUID, @Nullable UUID productAllocationObjectUUID, @Nullable UUID charcValueCombinationUUID, @Nullable ZonedDateTime prodAllocPerdStartUTCDateTime, @Nullable String prodAllocPeriodStartTimeZone, @Nullable ZonedDateTime prodAllocPeriodEndUTCDateTime, @Nullable String prodAllocPeriodEndTimeZone, @Nullable BigDecimal productAllocationQuantity, @Nullable String productAllocationQuantityUnit, @Nullable ProdAllocCharcValCombn toProdAllocCharcValCombnTP, @Nullable ProdAllocationObject toProdAllocationObjectTP)
  • Method Details

    • getType

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

      public void setDeleteActiveTimeSeries_ac(@Nullable Boolean deleteActiveTimeSeries_ac)
      Constraints: none

      Original property name from the Odata EDM: DeleteActiveTimeSeries_ac

      Parameters:
      deleteActiveTimeSeries_ac - Dyn. Action Control
    • setUpdate_mc

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setProdAllocationTimeSeriesUUID

      public void setProdAllocationTimeSeriesUUID(@Nullable UUID prodAllocationTimeSeriesUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProdAllocationTimeSeriesUUID

      Parameters:
      prodAllocationTimeSeriesUUID - Product Allocation Time SeriesUUID
    • setProductAllocationObjectUUID

      public void setProductAllocationObjectUUID(@Nullable UUID productAllocationObjectUUID)
      Constraints: none

      Original property name from the Odata EDM: ProductAllocationObjectUUID

      Parameters:
      productAllocationObjectUUID - Product Allocation Object UUID
    • setCharcValueCombinationUUID

      public void setCharcValueCombinationUUID(@Nullable UUID charcValueCombinationUUID)
      Constraints: none

      Original property name from the Odata EDM: CharcValueCombinationUUID

      Parameters:
      charcValueCombinationUUID - Characteristic Value Combination UUID
    • setProdAllocPerdStartUTCDateTime

      public void setProdAllocPerdStartUTCDateTime(@Nullable ZonedDateTime prodAllocPerdStartUTCDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProdAllocPerdStartUTCDateTime

      Parameters:
      prodAllocPerdStartUTCDateTime - Product Allocation Period Start UTC Date Time
    • setProdAllocPeriodStartTimeZone

      public void setProdAllocPeriodStartTimeZone(@Nullable String prodAllocPeriodStartTimeZone)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProdAllocPeriodStartTimeZone

      Parameters:
      prodAllocPeriodStartTimeZone - Product Allocation Period Start Time Zone
    • setProdAllocPeriodEndUTCDateTime

      public void setProdAllocPeriodEndUTCDateTime(@Nullable ZonedDateTime prodAllocPeriodEndUTCDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProdAllocPeriodEndUTCDateTime

      Parameters:
      prodAllocPeriodEndUTCDateTime - Product Allocation Period End UTC Date Time
    • setProdAllocPeriodEndTimeZone

      public void setProdAllocPeriodEndTimeZone(@Nullable String prodAllocPeriodEndTimeZone)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProdAllocPeriodEndTimeZone

      Parameters:
      prodAllocPeriodEndTimeZone - Product Allocation Period End Time Zone
    • setProductAllocationQuantity

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

      Original property name from the Odata EDM: ProductAllocationQuantity

      Parameters:
      productAllocationQuantity - Product Allocation Quantity
    • setProductAllocationQuantityUnit

      public void setProductAllocationQuantityUnit(@Nullable String productAllocationQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProductAllocationQuantityUnit

      Parameters:
      productAllocationQuantityUnit - Product Allocation Quantity Unit
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProdAllocObjTimeSeriesField<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> ProdAllocObjTimeSeriesField<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<ProdAllocObjTimeSeries>
    • setServicePathForFetch

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

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

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

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

      @Nullable public ProdAllocCharcValCombn fetchProdAllocCharcValCombnTP()
      Fetches the ProdAllocCharcValCombn entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ProdAllocCharcValCombnTP.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated ProdAllocCharcValCombn entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getProdAllocCharcValCombnTPOrFetch

      @Nullable public ProdAllocCharcValCombn getProdAllocCharcValCombnTPOrFetch()
      Retrieval of associated ProdAllocCharcValCombn entity (one to one). This corresponds to the OData navigation property to_ProdAllocCharcValCombnTP.

      If the navigation property to_ProdAllocCharcValCombnTP of a queried ProdAllocObjTimeSeries 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.

      Returns:
      List of associated ProdAllocCharcValCombn entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getProdAllocCharcValCombnTPIfPresent

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

      If the navigation property for an entity ProdAllocObjTimeSeries 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 to_ProdAllocCharcValCombnTP is already loaded, the result will contain the ProdAllocCharcValCombn entity. If not, an Option with result state empty is returned.
    • setProdAllocCharcValCombnTP

      public void setProdAllocCharcValCombnTP(ProdAllocCharcValCombn value)
      Overwrites the associated ProdAllocCharcValCombn entity for the loaded navigation property to_ProdAllocCharcValCombnTP.
      Parameters:
      value - New ProdAllocCharcValCombn entity.
    • fetchProdAllocationObjectTP

      @Nullable public ProdAllocationObject fetchProdAllocationObjectTP()
      Fetches the ProdAllocationObject entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ProdAllocationObjectTP.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated ProdAllocationObject entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getProdAllocationObjectTPOrFetch

      @Nullable public ProdAllocationObject getProdAllocationObjectTPOrFetch()
      Retrieval of associated ProdAllocationObject entity (one to one). This corresponds to the OData navigation property to_ProdAllocationObjectTP.

      If the navigation property to_ProdAllocationObjectTP of a queried ProdAllocObjTimeSeries 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.

      Returns:
      List of associated ProdAllocationObject entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getProdAllocationObjectTPIfPresent

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

      If the navigation property for an entity ProdAllocObjTimeSeries 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 to_ProdAllocationObjectTP is already loaded, the result will contain the ProdAllocationObject entity. If not, an Option with result state empty is returned.
    • setProdAllocationObjectTP

      public void setProdAllocationObjectTP(ProdAllocationObject value)
      Overwrites the associated ProdAllocationObject entity for the loaded navigation property to_ProdAllocationObjectTP.
      Parameters:
      value - New ProdAllocationObject entity.
    • builder

      @Nonnull public static ProdAllocObjTimeSeries.ProdAllocObjTimeSeriesBuilder builder()
    • getDeleteActiveTimeSeries_ac

      @Nullable public Boolean getDeleteActiveTimeSeries_ac()
      Constraints: none

      Original property name from the Odata EDM: DeleteActiveTimeSeries_ac

      Returns:
      Dyn. Action Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getProdAllocationTimeSeriesUUID

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

      Original property name from the Odata EDM: ProdAllocationTimeSeriesUUID

      Returns:
      Product Allocation Time SeriesUUID
    • getProductAllocationObjectUUID

      @Nullable public UUID getProductAllocationObjectUUID()
      Constraints: none

      Original property name from the Odata EDM: ProductAllocationObjectUUID

      Returns:
      Product Allocation Object UUID
    • getCharcValueCombinationUUID

      @Nullable public UUID getCharcValueCombinationUUID()
      Constraints: none

      Original property name from the Odata EDM: CharcValueCombinationUUID

      Returns:
      Characteristic Value Combination UUID
    • getProdAllocPerdStartUTCDateTime

      @Nullable public ZonedDateTime getProdAllocPerdStartUTCDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProdAllocPerdStartUTCDateTime

      Returns:
      Product Allocation Period Start UTC Date Time
    • getProdAllocPeriodStartTimeZone

      @Nullable public String getProdAllocPeriodStartTimeZone()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProdAllocPeriodStartTimeZone

      Returns:
      Product Allocation Period Start Time Zone
    • getProdAllocPeriodEndUTCDateTime

      @Nullable public ZonedDateTime getProdAllocPeriodEndUTCDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProdAllocPeriodEndUTCDateTime

      Returns:
      Product Allocation Period End UTC Date Time
    • getProdAllocPeriodEndTimeZone

      @Nullable public String getProdAllocPeriodEndTimeZone()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ProdAllocPeriodEndTimeZone

      Returns:
      Product Allocation Period End Time Zone
    • getProductAllocationQuantity

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

      Original property name from the Odata EDM: ProductAllocationQuantity

      Returns:
      Product Allocation Quantity
    • getProductAllocationQuantityUnit

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

      Original property name from the Odata EDM: ProductAllocationQuantityUnit

      Returns:
      Product Allocation Quantity Unit
    • toString

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

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

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

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