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

public class EntProjElmntDlvbrl extends VdmEntity<EntProjElmntDlvbrl>
Project Element Deliverable

Original entity name from the Odata EDM: A_EntProjElmntDlvbrlType

  • Field Details

    • ALL_FIELDS

      public static final EntProjElmntDlvbrlSelectable ALL_FIELDS
      Selector for all available fields of EntProjElmntDlvbrl.
    • UPDATE_MC

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

      public static final EntProjElmntDlvbrlField<Boolean> ENT_PROJ_ELMNT_DLV_DISTR_OC
      Use with available fluent helpers to apply the to_EntProjElmntDlvDistr_oc field to query operations.
    • ENT_PROJ_ELMNT_DELIVERABLE_UUID

      public static final EntProjElmntDlvbrlField<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 EntProjElmntDlvbrlField<UUID> PROJECT_ELEMENT_UUID
      Use with available fluent helpers to apply the ProjectElementUUID field to query operations.
    • PROJECT_UUID

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

      public static final EntProjElmntDlvbrlField<String> ENT_PROJ_ELMNT_DELIVERABLE_TYPE
      Use with available fluent helpers to apply the EntProjElmntDeliverableType field to query operations.
    • ENT_PROJ_ELMNT_DLVBRL_QUANTITY

      public static final EntProjElmntDlvbrlField<BigDecimal> ENT_PROJ_ELMNT_DLVBRL_QUANTITY
      Use with available fluent helpers to apply the EntProjElmntDlvbrlQuantity field to query operations.
    • ENT_PROJ_ELMNT_DLVBRL_QUANTITY_UNIT

      public static final EntProjElmntDlvbrlField<String> ENT_PROJ_ELMNT_DLVBRL_QUANTITY_UNIT
      Use with available fluent helpers to apply the EntProjElmntDlvbrlQuantityUnit field to query operations.
    • CREATED_BY_USER

      public static final EntProjElmntDlvbrlField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • CREATION_DATE_TIME

      public static final EntProjElmntDlvbrlField<ZonedDateTime> CREATION_DATE_TIME
      Use with available fluent helpers to apply the CreationDateTime field to query operations.
    • LAST_CHANGE_DATE_TIME

      public static final EntProjElmntDlvbrlField<ZonedDateTime> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • LAST_CHANGED_BY_USER

      public static final EntProjElmntDlvbrlField<String> LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the LastChangedByUser field to query operations.
    • TO_ENTERPRISE_PROJECT_ELEMENT

      public static final EntProjElmntDlvbrlOneToOneLink<EnterpriseProjectElement> TO_ENTERPRISE_PROJECT_ELEMENT
      Use with available fluent helpers to apply the to_EnterpriseProjectElement navigation property to query operations.
    • TO_ENT_PROJ_ELMNT_DLV_DISTR

      public static final EntProjElmntDlvbrlLink<EntProjElmntDlvbrlDistr> TO_ENT_PROJ_ELMNT_DLV_DISTR
      Use with available fluent helpers to apply the to_EntProjElmntDlvDistr navigation property to query operations.
  • Constructor Details

    • EntProjElmntDlvbrl

      public EntProjElmntDlvbrl()
    • EntProjElmntDlvbrl

      public EntProjElmntDlvbrl(@Nullable Boolean update_mc, @Nullable Boolean entProjElmntDlvDistr_oc, @Nullable UUID entProjElmntDeliverableUUID, @Nullable UUID projectElementUUID, @Nullable UUID projectUUID, @Nullable String entProjElmntDeliverableType, @Nullable BigDecimal entProjElmntDlvbrlQuantity, @Nullable String entProjElmntDlvbrlQuantityUnit, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String lastChangedByUser, @Nullable EnterpriseProjectElement toEnterpriseProjectElement, List<EntProjElmntDlvbrlDistr> toEntProjElmntDlvDistr)
  • Method Details

    • getType

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

      public void setEntProjElmntDlvDistr_oc(@Nullable Boolean entProjElmntDlvDistr_oc)
      Constraints: none

      Original property name from the Odata EDM: to_EntProjElmntDlvDistr_oc

      Parameters:
      entProjElmntDlvDistr_oc - Dynamic CbA-Control
    • setEntProjElmntDeliverableUUID

      public void setEntProjElmntDeliverableUUID(@Nullable UUID entProjElmntDeliverableUUID)
      (Key Field) Constraints: Not nullable

      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
    • setEntProjElmntDeliverableType

      public void setEntProjElmntDeliverableType(@Nullable String entProjElmntDeliverableType)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: EntProjElmntDeliverableType

      Parameters:
      entProjElmntDeliverableType - Type of a Project Element Deliverable
    • setEntProjElmntDlvbrlQuantity

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

      Original property name from the Odata EDM: EntProjElmntDlvbrlQuantity

      Parameters:
      entProjElmntDlvbrlQuantity - Total Quantity of a Project Element Deliverable
    • setEntProjElmntDlvbrlQuantityUnit

      public void setEntProjElmntDlvbrlQuantityUnit(@Nullable String entProjElmntDlvbrlQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EntProjElmntDlvbrlQuantityUnit

      Parameters:
      entProjElmntDlvbrlQuantityUnit - Unit of Measure for the Deliverable Quantity
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Who Created Object
    • setCreationDateTime

      public void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Timestamp of Object Creation
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Timestamp of Last Object Change
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Name of Person Who Changed Object
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> EntProjElmntDlvbrlField<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> EntProjElmntDlvbrlField<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<EntProjElmntDlvbrl>
    • setServicePathForFetch

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

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

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

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

      @Nullable public EnterpriseProjectElement fetchEnterpriseProjectElement()
      Fetches the EnterpriseProjectElement entity (one to one) associated with this entity. This corresponds to the OData navigation property to_EnterpriseProjectElement.

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

      Returns:
      The single associated EnterpriseProjectElement 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.
    • getEnterpriseProjectElementOrFetch

      @Nullable public EnterpriseProjectElement getEnterpriseProjectElementOrFetch()
      Retrieval of associated EnterpriseProjectElement entity (one to one). This corresponds to the OData navigation property to_EnterpriseProjectElement.

      If the navigation property to_EnterpriseProjectElement of a queried EntProjElmntDlvbrl 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 EnterpriseProjectElement 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.
    • getEnterpriseProjectElementIfPresent

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

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

      public void setEnterpriseProjectElement(EnterpriseProjectElement value)
      Overwrites the associated EnterpriseProjectElement entity for the loaded navigation property to_EnterpriseProjectElement.
      Parameters:
      value - New EnterpriseProjectElement entity.
    • fetchEntProjElmntDlvDistr

      @Nonnull public List<EntProjElmntDlvbrlDistr> fetchEntProjElmntDlvDistr()
      Fetches the EntProjElmntDlvbrlDistr entities (one to many) associated with this entity. This corresponds to the OData navigation property to_EntProjElmntDlvDistr.

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

      Returns:
      List containing one or more associated EntProjElmntDlvbrlDistr entities. If no entities are associated then an empty list is returned.
      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.
    • getEntProjElmntDlvDistrOrFetch

      @Nonnull public List<EntProjElmntDlvbrlDistr> getEntProjElmntDlvDistrOrFetch()
      Retrieval of associated EntProjElmntDlvbrlDistr entities (one to many). This corresponds to the OData navigation property to_EntProjElmntDlvDistr.

      If the navigation property to_EntProjElmntDlvDistr of a queried EntProjElmntDlvbrl 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 EntProjElmntDlvbrlDistr entities.
      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.
    • getEntProjElmntDlvDistrIfPresent

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

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

      public void setEntProjElmntDlvDistr(@Nonnull List<EntProjElmntDlvbrlDistr> value)
      Overwrites the list of associated EntProjElmntDlvbrlDistr entities for the loaded navigation property to_EntProjElmntDlvDistr.

      If the navigation property to_EntProjElmntDlvDistr of a queried EntProjElmntDlvbrl 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 EntProjElmntDlvbrlDistr entities.
    • addEntProjElmntDlvDistr

      public void addEntProjElmntDlvDistr(EntProjElmntDlvbrlDistr... entity)
      Adds elements to the list of associated EntProjElmntDlvbrlDistr entities. This corresponds to the OData navigation property to_EntProjElmntDlvDistr.

      If the navigation property to_EntProjElmntDlvDistr of a queried EntProjElmntDlvbrl 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 EntProjElmntDlvbrlDistr entities.
    • builder

      @Nonnull public static EntProjElmntDlvbrl.EntProjElmntDlvbrlBuilder builder()
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getEntProjElmntDlvDistr_oc

      @Nullable public Boolean getEntProjElmntDlvDistr_oc()
      Constraints: none

      Original property name from the Odata EDM: to_EntProjElmntDlvDistr_oc

      Returns:
      Dynamic CbA-Control
    • getEntProjElmntDeliverableUUID

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

      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
    • getEntProjElmntDeliverableType

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

      Original property name from the Odata EDM: EntProjElmntDeliverableType

      Returns:
      Type of a Project Element Deliverable
    • getEntProjElmntDlvbrlQuantity

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

      Original property name from the Odata EDM: EntProjElmntDlvbrlQuantity

      Returns:
      Total Quantity of a Project Element Deliverable
    • getEntProjElmntDlvbrlQuantityUnit

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

      Original property name from the Odata EDM: EntProjElmntDlvbrlQuantityUnit

      Returns:
      Unit of Measure for the Deliverable Quantity
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Who Created Object
    • getCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Timestamp of Object Creation
    • getLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Timestamp of Last Object Change
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • toString

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

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

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

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