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

public class EntProjElmntDlvbrlDistr extends VdmEntity<EntProjElmntDlvbrlDistr>
Project Element Deliverable Distribution

Original entity name from the Odata EDM: A_EntProjElmntDlvbrlDistrType

  • Field Details

    • ALL_FIELDS

      public static final EntProjElmntDlvbrlDistrSelectable ALL_FIELDS
      Selector for all available fields of EntProjElmntDlvbrlDistr.
    • UPDATE_MC

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

      public static final EntProjElmntDlvbrlDistrField<UUID> ENT_PROJ_ELMNT_DLVBRL_DISTR_UUID
      Use with available fluent helpers to apply the EntProjElmntDlvbrlDistrUUID field to query operations.
    • ENT_PROJ_ELMNT_DELIVERABLE_UUID

      public static final EntProjElmntDlvbrlDistrField<UUID> ENT_PROJ_ELMNT_DELIVERABLE_UUID
      Use with available fluent helpers to apply the EntProjElmntDeliverableUUID field to query operations.
    • PROJECT_ELEMENT_UUID

      public static final EntProjElmntDlvbrlDistrField<UUID> PROJECT_ELEMENT_UUID
      Use with available fluent helpers to apply the ProjectElementUUID field to query operations.
    • PROJECT_UUID

      public static final EntProjElmntDlvbrlDistrField<UUID> PROJECT_UUID
      Use with available fluent helpers to apply the ProjectUUID field to query operations.
    • ENT_PROJ_ELMNT_DLVBRL_DISTR_YEAR_VAL

      public static final EntProjElmntDlvbrlDistrField<String> ENT_PROJ_ELMNT_DLVBRL_DISTR_YEAR_VAL
      Use with available fluent helpers to apply the EntProjElmntDlvbrlDistrYearVal field to query operations.
    • ENT_PROJ_ELMNT_DLVBRL_DISTR_PERD_VAL

      public static final EntProjElmntDlvbrlDistrField<String> ENT_PROJ_ELMNT_DLVBRL_DISTR_PERD_VAL
      Use with available fluent helpers to apply the EntProjElmntDlvbrlDistrPerdVal field to query operations.
    • ENT_PROJ_ELMNT_DLVBRL_DISTR_QTY

      public static final EntProjElmntDlvbrlDistrField<BigDecimal> ENT_PROJ_ELMNT_DLVBRL_DISTR_QTY
      Use with available fluent helpers to apply the EntProjElmntDlvbrlDistrQty field to query operations.
    • ENT_PROJ_ELMNT_DLVBRL_DISTR_QTY_UNIT

      public static final EntProjElmntDlvbrlDistrField<String> ENT_PROJ_ELMNT_DLVBRL_DISTR_QTY_UNIT
      Use with available fluent helpers to apply the EntProjElmntDlvbrlDistrQtyUnit field to query operations.
    • TO_ENT_PROJ_ELMNT_DLVBRL

      public static final EntProjElmntDlvbrlDistrOneToOneLink<EntProjElmntDlvbrl> TO_ENT_PROJ_ELMNT_DLVBRL
      Use with available fluent helpers to apply the to_EntProjElmntDlvbrl navigation property to query operations.
  • Constructor Details

    • EntProjElmntDlvbrlDistr

      public EntProjElmntDlvbrlDistr()
    • EntProjElmntDlvbrlDistr

      public EntProjElmntDlvbrlDistr(@Nullable Boolean update_mc, @Nullable UUID entProjElmntDlvbrlDistrUUID, @Nullable UUID entProjElmntDeliverableUUID, @Nullable UUID projectElementUUID, @Nullable UUID projectUUID, @Nullable String entProjElmntDlvbrlDistrYearVal, @Nullable String entProjElmntDlvbrlDistrPerdVal, @Nullable BigDecimal entProjElmntDlvbrlDistrQty, @Nullable String entProjElmntDlvbrlDistrQtyUnit, @Nullable EntProjElmntDlvbrl toEntProjElmntDlvbrl)
  • Method Details

    • getType

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

      public void setEntProjElmntDlvbrlDistrUUID(@Nullable UUID entProjElmntDlvbrlDistrUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrUUID

      Parameters:
      entProjElmntDlvbrlDistrUUID - Entity Guid
    • setEntProjElmntDeliverableUUID

      public void setEntProjElmntDeliverableUUID(@Nullable UUID entProjElmntDeliverableUUID)
      Constraints: none

      Original property name from the Odata EDM: EntProjElmntDeliverableUUID

      Parameters:
      entProjElmntDeliverableUUID - Entity Guid
    • setProjectElementUUID

      public void setProjectElementUUID(@Nullable UUID projectElementUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectElementUUID

      Parameters:
      projectElementUUID - Entity Guid
    • setProjectUUID

      public void setProjectUUID(@Nullable UUID projectUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Parameters:
      projectUUID - Entity Guid
    • setEntProjElmntDlvbrlDistrYearVal

      public void setEntProjElmntDlvbrlDistrYearVal(@Nullable String entProjElmntDlvbrlDistrYearVal)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrYearVal

      Parameters:
      entProjElmntDlvbrlDistrYearVal - Year of a Distribution Period for a Deliverable
    • setEntProjElmntDlvbrlDistrPerdVal

      public void setEntProjElmntDlvbrlDistrPerdVal(@Nullable String entProjElmntDlvbrlDistrPerdVal)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrPerdVal

      Parameters:
      entProjElmntDlvbrlDistrPerdVal - Period to Which a Deliverable Quantity is Distributed
    • setEntProjElmntDlvbrlDistrQty

      public void setEntProjElmntDlvbrlDistrQty(@Nullable BigDecimal entProjElmntDlvbrlDistrQty)
      Constraints: Not nullable, Precision: 23, Scale: 2

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrQty

      Parameters:
      entProjElmntDlvbrlDistrQty - Deliverable Quantity Planned for a Distribution Period
    • setEntProjElmntDlvbrlDistrQtyUnit

      public void setEntProjElmntDlvbrlDistrQtyUnit(@Nullable String entProjElmntDlvbrlDistrQtyUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrQtyUnit

      Parameters:
      entProjElmntDlvbrlDistrQtyUnit - Unit of Measure for the Distributed Deliverable Quantity
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> EntProjElmntDlvbrlDistrField<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> EntProjElmntDlvbrlDistrField<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<EntProjElmntDlvbrlDistr>
    • setServicePathForFetch

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

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

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

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

      @Nullable public EntProjElmntDlvbrl fetchEntProjElmntDlvbrl()
      Fetches the EntProjElmntDlvbrl entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EntProjElmntDlvbrl.

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

      Returns:
      The single associated EntProjElmntDlvbrl 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.
    • getEntProjElmntDlvbrlOrFetch

      @Nullable public EntProjElmntDlvbrl getEntProjElmntDlvbrlOrFetch()
      Retrieval of associated EntProjElmntDlvbrl entity (one to one). This corresponds to the OData navigation property to_EntProjElmntDlvbrl.

      If the navigation property to_EntProjElmntDlvbrl of a queried EntProjElmntDlvbrlDistr 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 EntProjElmntDlvbrl 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.
    • getEntProjElmntDlvbrlIfPresent

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

      If the navigation property for an entity EntProjElmntDlvbrlDistr 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_EntProjElmntDlvbrl is already loaded, the result will contain the EntProjElmntDlvbrl entity. If not, an Option with result state empty is returned.
    • setEntProjElmntDlvbrl

      public void setEntProjElmntDlvbrl(EntProjElmntDlvbrl value)
      Overwrites the associated EntProjElmntDlvbrl entity for the loaded navigation property to_EntProjElmntDlvbrl.
      Parameters:
      value - New EntProjElmntDlvbrl entity.
    • builder

    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getEntProjElmntDlvbrlDistrUUID

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

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrUUID

      Returns:
      Entity Guid
    • getEntProjElmntDeliverableUUID

      @Nullable public UUID getEntProjElmntDeliverableUUID()
      Constraints: none

      Original property name from the Odata EDM: EntProjElmntDeliverableUUID

      Returns:
      Entity Guid
    • getProjectElementUUID

      @Nullable public UUID getProjectElementUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectElementUUID

      Returns:
      Entity Guid
    • getProjectUUID

      @Nullable public UUID getProjectUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectUUID

      Returns:
      Entity Guid
    • getEntProjElmntDlvbrlDistrYearVal

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

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrYearVal

      Returns:
      Year of a Distribution Period for a Deliverable
    • getEntProjElmntDlvbrlDistrPerdVal

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

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrPerdVal

      Returns:
      Period to Which a Deliverable Quantity is Distributed
    • getEntProjElmntDlvbrlDistrQty

      @Nullable public BigDecimal getEntProjElmntDlvbrlDistrQty()
      Constraints: Not nullable, Precision: 23, Scale: 2

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrQty

      Returns:
      Deliverable Quantity Planned for a Distribution Period
    • getEntProjElmntDlvbrlDistrQtyUnit

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

      Original property name from the Odata EDM: EntProjElmntDlvbrlDistrQtyUnit

      Returns:
      Unit of Measure for the Distributed Deliverable Quantity
    • toString

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

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

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

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