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

public class ProjectDemand extends VdmEntity<ProjectDemand>
Project Demand

Original entity name from the Odata EDM: A_ProjectDemand_Type

  • Field Details

    • ALL_FIELDS

      public static final ProjectDemandSelectable ALL_FIELDS
      Selector for all available fields of ProjectDemand.
    • PROJECT_DEMAND_UUID

      public static final ProjectDemandField<UUID> PROJECT_DEMAND_UUID
      Use with available fluent helpers to apply the ProjectDemandUUID field to query operations.
    • PROJECT_DEMAND

      public static final ProjectDemandField<String> PROJECT_DEMAND
      Use with available fluent helpers to apply the ProjectDemand field to query operations.
    • PROJECT_DEMAND_NAME

      public static final ProjectDemandField<String> PROJECT_DEMAND_NAME
      Use with available fluent helpers to apply the ProjectDemandName field to query operations.
    • PROJECT_DEMAND_DESCRIPTION

      public static final ProjectDemandField<String> PROJECT_DEMAND_DESCRIPTION
      Use with available fluent helpers to apply the ProjectDemandDescription field to query operations.
    • PROJECT_DEMAND_CATEGORY

      public static final ProjectDemandField<String> PROJECT_DEMAND_CATEGORY
      Use with available fluent helpers to apply the ProjectDemandCategory field to query operations.
    • PROJECT_DEMAND_TYPE

      public static final ProjectDemandField<String> PROJECT_DEMAND_TYPE
      Use with available fluent helpers to apply the ProjectDemandType field to query operations.
    • REFERENCED_OBJECT_UUID

      public static final ProjectDemandField<UUID> REFERENCED_OBJECT_UUID
      Use with available fluent helpers to apply the ReferencedObjectUUID field to query operations.
    • PROJECT_DEMAND_STATUS

      public static final ProjectDemandField<String> PROJECT_DEMAND_STATUS
      Use with available fluent helpers to apply the ProjectDemandStatus field to query operations.
    • PROJECT_DEMAND_DATE_MAINTENANCE

      public static final ProjectDemandField<String> PROJECT_DEMAND_DATE_MAINTENANCE
      Use with available fluent helpers to apply the ProjectDemandDateMaintenance field to query operations.
    • PROJECT_DEMAND_START_DATE

      public static final ProjectDemandField<LocalDateTime> PROJECT_DEMAND_START_DATE
      Use with available fluent helpers to apply the ProjectDemandStartDate field to query operations.
    • PROJECT_DEMAND_END_DATE

      public static final ProjectDemandField<LocalDateTime> PROJECT_DEMAND_END_DATE
      Use with available fluent helpers to apply the ProjectDemandEndDate field to query operations.
    • PROJECT_DEMAND_RELEASED_DATE_TIME

      public static final ProjectDemandField<ZonedDateTime> PROJECT_DEMAND_RELEASED_DATE_TIME
      Use with available fluent helpers to apply the ProjectDemandReleasedDateTime field to query operations.
    • PROJ_DMND_ACTUAL_SUPPLY_DATE

      public static final ProjectDemandField<LocalDateTime> PROJ_DMND_ACTUAL_SUPPLY_DATE
      Use with available fluent helpers to apply the ProjDmndActualSupplyDate field to query operations.
    • PROJECT_DEMAND_PER_UNIT_AMOUNT

      public static final ProjectDemandField<BigDecimal> PROJECT_DEMAND_PER_UNIT_AMOUNT
      Use with available fluent helpers to apply the ProjectDemandPerUnitAmount field to query operations.
    • PROJECT_DEMAND_REQUEST_CURRENCY

      public static final ProjectDemandField<String> PROJECT_DEMAND_REQUEST_CURRENCY
      Use with available fluent helpers to apply the ProjectDemandRequestCurrency field to query operations.
    • PROJ_DMND_REQUESTED_QUANTITY_UNIT

      public static final ProjectDemandField<String> PROJ_DMND_REQUESTED_QUANTITY_UNIT
      Use with available fluent helpers to apply the ProjDmndRequestedQuantityUnit field to query operations.
    • PRICE_UNIT_QTY

      public static final ProjectDemandField<BigDecimal> PRICE_UNIT_QTY
      Use with available fluent helpers to apply the PriceUnitQty field to query operations.
    • PROJECT_DEMAND_REQUEST_NET_AMOUNT

      public static final ProjectDemandField<BigDecimal> PROJECT_DEMAND_REQUEST_NET_AMOUNT
      Use with available fluent helpers to apply the ProjectDemandRequestNetAmount field to query operations.
    • PROJ_DMND_REQ_NET_AMOUNT_CURRENCY

      public static final ProjectDemandField<String> PROJ_DMND_REQ_NET_AMOUNT_CURRENCY
      Use with available fluent helpers to apply the ProjDmndReqNetAmountCurrency field to query operations.
    • PROJECT_DEMAND_OVERALL_AMOUNT

      public static final ProjectDemandField<BigDecimal> PROJECT_DEMAND_OVERALL_AMOUNT
      Use with available fluent helpers to apply the ProjectDemandOverallAmount field to query operations.
    • PROJECT_DEMAND_EXPECTED_AMOUNT

      public static final ProjectDemandField<BigDecimal> PROJECT_DEMAND_EXPECTED_AMOUNT
      Use with available fluent helpers to apply the ProjectDemandExpectedAmount field to query operations.
    • PROJ_DMND_REQUESTED_QUANTITY

      public static final ProjectDemandField<BigDecimal> PROJ_DMND_REQUESTED_QUANTITY
      Use with available fluent helpers to apply the ProjDmndRequestedQuantity field to query operations.
    • PLANT

      public static final ProjectDemandField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • PURCHASING_GROUP

      public static final ProjectDemandField<String> PURCHASING_GROUP
      Use with available fluent helpers to apply the PurchasingGroup field to query operations.
    • PURCHASING_ORGANIZATION

      public static final ProjectDemandField<String> PURCHASING_ORGANIZATION
      Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
    • CREATED_BY_USER

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

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

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

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

      public static final ProjectDemandField<String> PROJECT_DEMAND_LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the ProjectDemandLastChangedByUser field to query operations.
    • PROJ_DEMAND_LAST_CHANGE_DATE_TIME

      public static final ProjectDemandField<ZonedDateTime> PROJ_DEMAND_LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the ProjDemandLastChangeDateTime field to query operations.
    • PROJ_DMND_EXTERNAL_REFERENCE_UUID

      public static final ProjectDemandField<UUID> PROJ_DMND_EXTERNAL_REFERENCE_UUID
      Use with available fluent helpers to apply the ProjDmndExternalReferenceUUID field to query operations.
    • TO_EXPENSE

      public static final ProjectDemandOneToOneLink<ProjectDemandExpense> TO_EXPENSE
      Use with available fluent helpers to apply the to_Expense navigation property to query operations.
    • TO_MATERIAL

      public static final ProjectDemandOneToOneLink<ProjectDemandMaterial> TO_MATERIAL
      Use with available fluent helpers to apply the to_Material navigation property to query operations.
    • TO_SERVICE

      public static final ProjectDemandOneToOneLink<ProjectDemandService> TO_SERVICE
      Use with available fluent helpers to apply the to_Service navigation property to query operations.
    • TO_WORK

      public static final ProjectDemandOneToOneLink<ProjectDemandResource> TO_WORK
      Use with available fluent helpers to apply the to_Work navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

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

      public void setProjectDemandUUID(@Nullable UUID projectDemandUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjectDemandUUID

      Parameters:
      projectDemandUUID - Global Identification of a Project Demand
    • setProjectDemand

      public void setProjectDemand(@Nullable String projectDemand)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ProjectDemand

      Parameters:
      projectDemand - External ID of a Project Demand
    • setProjectDemandName

      public void setProjectDemandName(@Nullable String projectDemandName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectDemandName

      Parameters:
      projectDemandName - Project Demand Name
    • setProjectDemandDescription

      public void setProjectDemandDescription(@Nullable String projectDemandDescription)
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: ProjectDemandDescription

      Parameters:
      projectDemandDescription - Description of a Project Demand
    • setProjectDemandCategory

      public void setProjectDemandCategory(@Nullable String projectDemandCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProjectDemandCategory

      Parameters:
      projectDemandCategory - Project Demand Category
    • setProjectDemandType

      public void setProjectDemandType(@Nullable String projectDemandType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjectDemandType

      Parameters:
      projectDemandType - Project Demand Type
    • setReferencedObjectUUID

      public void setReferencedObjectUUID(@Nullable UUID referencedObjectUUID)
      Constraints: none

      Original property name from the Odata EDM: ReferencedObjectUUID

      Parameters:
      referencedObjectUUID - UUID of the Object to Which a Demand Is Related
    • setProjectDemandStatus

      public void setProjectDemandStatus(@Nullable String projectDemandStatus)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ProjectDemandStatus

      Parameters:
      projectDemandStatus - Project Demand Status
    • setProjectDemandDateMaintenance

      public void setProjectDemandDateMaintenance(@Nullable String projectDemandDateMaintenance)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProjectDemandDateMaintenance

      Parameters:
      projectDemandDateMaintenance - Alignment of Project Demand Dates with WBS Element Dates
    • setProjectDemandStartDate

      public void setProjectDemandStartDate(@Nullable LocalDateTime projectDemandStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjectDemandStartDate

      Parameters:
      projectDemandStartDate - Start Date of the Demand
    • setProjectDemandEndDate

      public void setProjectDemandEndDate(@Nullable LocalDateTime projectDemandEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjectDemandEndDate

      Parameters:
      projectDemandEndDate - End Date of the Demand
    • setProjectDemandReleasedDateTime

      public void setProjectDemandReleasedDateTime(@Nullable ZonedDateTime projectDemandReleasedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjectDemandReleasedDateTime

      Parameters:
      projectDemandReleasedDateTime - Timestamp of Demand Status Change to "Requested"
    • setProjDmndActualSupplyDate

      public void setProjDmndActualSupplyDate(@Nullable LocalDateTime projDmndActualSupplyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjDmndActualSupplyDate

      Parameters:
      projDmndActualSupplyDate - Delivery Date of the Demand
    • setProjectDemandPerUnitAmount

      public void setProjectDemandPerUnitAmount(@Nullable BigDecimal projectDemandPerUnitAmount)
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandPerUnitAmount

      Parameters:
      projectDemandPerUnitAmount - Price per unit
    • setProjectDemandRequestCurrency

      public void setProjectDemandRequestCurrency(@Nullable String projectDemandRequestCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ProjectDemandRequestCurrency

      Parameters:
      projectDemandRequestCurrency - Project Demand Currency
    • setProjDmndRequestedQuantityUnit

      public void setProjDmndRequestedQuantityUnit(@Nullable String projDmndRequestedQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProjDmndRequestedQuantityUnit

      Parameters:
      projDmndRequestedQuantityUnit - Unit of Measure for the Required Quantity
    • setPriceUnitQty

      public void setPriceUnitQty(@Nullable BigDecimal priceUnitQty)
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: PriceUnitQty

      Parameters:
      priceUnitQty - Price unit
    • setProjectDemandRequestNetAmount

      public void setProjectDemandRequestNetAmount(@Nullable BigDecimal projectDemandRequestNetAmount)
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandRequestNetAmount

      Parameters:
      projectDemandRequestNetAmount - Estimated Net Value of the Project Demand
    • setProjDmndReqNetAmountCurrency

      public void setProjDmndReqNetAmountCurrency(@Nullable String projDmndReqNetAmountCurrency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ProjDmndReqNetAmountCurrency

      Parameters:
      projDmndReqNetAmountCurrency - Project Demand Currency
    • setProjectDemandOverallAmount

      public void setProjectDemandOverallAmount(@Nullable BigDecimal projectDemandOverallAmount)
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandOverallAmount

      Parameters:
      projectDemandOverallAmount - Overall Limit
    • setProjectDemandExpectedAmount

      public void setProjectDemandExpectedAmount(@Nullable BigDecimal projectDemandExpectedAmount)
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandExpectedAmount

      Parameters:
      projectDemandExpectedAmount - Expected Value of Overall Limit
    • setProjDmndRequestedQuantity

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

      Original property name from the Odata EDM: ProjDmndRequestedQuantity

      Parameters:
      projDmndRequestedQuantity - Required Quantity
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setPurchasingGroup

      public void setPurchasingGroup(@Nullable String purchasingGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Parameters:
      purchasingGroup - Purchasing Group
    • setPurchasingOrganization

      public void setPurchasingOrganization(@Nullable String purchasingOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Parameters:
      purchasingOrganization - Purchasing Organization
    • 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 the Person Who Created the Object
    • setCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Timestamp of Object Creation
    • setLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By User
    • setLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Last Change Date Time
    • setProjectDemandLastChangedByUser

      public void setProjectDemandLastChangedByUser(@Nullable String projectDemandLastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ProjectDemandLastChangedByUser

      Parameters:
      projectDemandLastChangedByUser - User Who Last Changed a Demand (Sub-Entities Included)
    • setProjDemandLastChangeDateTime

      public void setProjDemandLastChangeDateTime(@Nullable ZonedDateTime projDemandLastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ProjDemandLastChangeDateTime

      Parameters:
      projDemandLastChangeDateTime - Timestamp of Last Change to a Demand (Sub-Entities Included)
    • setProjDmndExternalReferenceUUID

      public void setProjDmndExternalReferenceUUID(@Nullable UUID projDmndExternalReferenceUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjDmndExternalReferenceUUID

      Parameters:
      projDmndExternalReferenceUUID - External UUID related to a Demand
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProjectDemandField<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> ProjectDemandField<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<ProjectDemand>
    • setServicePathForFetch

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

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

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

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

      @Nullable public ProjectDemandExpense fetchExpense()
      Fetches the ProjectDemandExpense entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Expense.

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

      Returns:
      The single associated ProjectDemandExpense 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.
    • getExpenseOrFetch

      @Nullable public ProjectDemandExpense getExpenseOrFetch()
      Retrieval of associated ProjectDemandExpense entity (one to one). This corresponds to the OData navigation property to_Expense.

      If the navigation property to_Expense of a queried ProjectDemand 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 ProjectDemandExpense 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.
    • getExpenseIfPresent

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

      If the navigation property for an entity ProjectDemand 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_Expense is already loaded, the result will contain the ProjectDemandExpense entity. If not, an Option with result state empty is returned.
    • setExpense

      public void setExpense(ProjectDemandExpense value)
      Overwrites the associated ProjectDemandExpense entity for the loaded navigation property to_Expense.
      Parameters:
      value - New ProjectDemandExpense entity.
    • fetchMaterial

      @Nullable public ProjectDemandMaterial fetchMaterial()
      Fetches the ProjectDemandMaterial entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Material.

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

      Returns:
      The single associated ProjectDemandMaterial 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.
    • getMaterialOrFetch

      @Nullable public ProjectDemandMaterial getMaterialOrFetch()
      Retrieval of associated ProjectDemandMaterial entity (one to one). This corresponds to the OData navigation property to_Material.

      If the navigation property to_Material of a queried ProjectDemand 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 ProjectDemandMaterial 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.
    • getMaterialIfPresent

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

      If the navigation property for an entity ProjectDemand 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_Material is already loaded, the result will contain the ProjectDemandMaterial entity. If not, an Option with result state empty is returned.
    • setMaterial

      public void setMaterial(ProjectDemandMaterial value)
      Overwrites the associated ProjectDemandMaterial entity for the loaded navigation property to_Material.
      Parameters:
      value - New ProjectDemandMaterial entity.
    • fetchService

      @Nullable public ProjectDemandService fetchService()
      Fetches the ProjectDemandService entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Service.

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

      Returns:
      The single associated ProjectDemandService 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.
    • getServiceOrFetch

      @Nullable public ProjectDemandService getServiceOrFetch()
      Retrieval of associated ProjectDemandService entity (one to one). This corresponds to the OData navigation property to_Service.

      If the navigation property to_Service of a queried ProjectDemand 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 ProjectDemandService 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.
    • getServiceIfPresent

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

      If the navigation property for an entity ProjectDemand 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_Service is already loaded, the result will contain the ProjectDemandService entity. If not, an Option with result state empty is returned.
    • setService

      public void setService(ProjectDemandService value)
      Overwrites the associated ProjectDemandService entity for the loaded navigation property to_Service.
      Parameters:
      value - New ProjectDemandService entity.
    • fetchWork

      @Nullable public ProjectDemandResource fetchWork()
      Fetches the ProjectDemandResource entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Work.

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

      Returns:
      The single associated ProjectDemandResource 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.
    • getWorkOrFetch

      @Nullable public ProjectDemandResource getWorkOrFetch()
      Retrieval of associated ProjectDemandResource entity (one to one). This corresponds to the OData navigation property to_Work.

      If the navigation property to_Work of a queried ProjectDemand 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 ProjectDemandResource 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.
    • getWorkIfPresent

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

      If the navigation property for an entity ProjectDemand 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_Work is already loaded, the result will contain the ProjectDemandResource entity. If not, an Option with result state empty is returned.
    • setWork

      public void setWork(ProjectDemandResource value)
      Overwrites the associated ProjectDemandResource entity for the loaded navigation property to_Work.
      Parameters:
      value - New ProjectDemandResource entity.
    • builder

      @Nonnull public static ProjectDemand.ProjectDemandBuilder builder()
    • getProjectDemandUUID

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

      Original property name from the Odata EDM: ProjectDemandUUID

      Returns:
      Global Identification of a Project Demand
    • getProjectDemand

      @Nullable public String getProjectDemand()
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ProjectDemand

      Returns:
      External ID of a Project Demand
    • getProjectDemandName

      @Nullable public String getProjectDemandName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectDemandName

      Returns:
      Project Demand Name
    • getProjectDemandDescription

      @Nullable public String getProjectDemandDescription()
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: ProjectDemandDescription

      Returns:
      Description of a Project Demand
    • getProjectDemandCategory

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

      Original property name from the Odata EDM: ProjectDemandCategory

      Returns:
      Project Demand Category
    • getProjectDemandType

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

      Original property name from the Odata EDM: ProjectDemandType

      Returns:
      Project Demand Type
    • getReferencedObjectUUID

      @Nullable public UUID getReferencedObjectUUID()
      Constraints: none

      Original property name from the Odata EDM: ReferencedObjectUUID

      Returns:
      UUID of the Object to Which a Demand Is Related
    • getProjectDemandStatus

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

      Original property name from the Odata EDM: ProjectDemandStatus

      Returns:
      Project Demand Status
    • getProjectDemandDateMaintenance

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

      Original property name from the Odata EDM: ProjectDemandDateMaintenance

      Returns:
      Alignment of Project Demand Dates with WBS Element Dates
    • getProjectDemandStartDate

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

      Original property name from the Odata EDM: ProjectDemandStartDate

      Returns:
      Start Date of the Demand
    • getProjectDemandEndDate

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

      Original property name from the Odata EDM: ProjectDemandEndDate

      Returns:
      End Date of the Demand
    • getProjectDemandReleasedDateTime

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

      Original property name from the Odata EDM: ProjectDemandReleasedDateTime

      Returns:
      Timestamp of Demand Status Change to "Requested"
    • getProjDmndActualSupplyDate

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

      Original property name from the Odata EDM: ProjDmndActualSupplyDate

      Returns:
      Delivery Date of the Demand
    • getProjectDemandPerUnitAmount

      @Nullable public BigDecimal getProjectDemandPerUnitAmount()
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandPerUnitAmount

      Returns:
      Price per unit
    • getProjectDemandRequestCurrency

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

      Original property name from the Odata EDM: ProjectDemandRequestCurrency

      Returns:
      Project Demand Currency
    • getProjDmndRequestedQuantityUnit

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

      Original property name from the Odata EDM: ProjDmndRequestedQuantityUnit

      Returns:
      Unit of Measure for the Required Quantity
    • getPriceUnitQty

      @Nullable public BigDecimal getPriceUnitQty()
      Constraints: Not nullable, Precision: 5, Scale: 0

      Original property name from the Odata EDM: PriceUnitQty

      Returns:
      Price unit
    • getProjectDemandRequestNetAmount

      @Nullable public BigDecimal getProjectDemandRequestNetAmount()
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandRequestNetAmount

      Returns:
      Estimated Net Value of the Project Demand
    • getProjDmndReqNetAmountCurrency

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

      Original property name from the Odata EDM: ProjDmndReqNetAmountCurrency

      Returns:
      Project Demand Currency
    • getProjectDemandOverallAmount

      @Nullable public BigDecimal getProjectDemandOverallAmount()
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandOverallAmount

      Returns:
      Overall Limit
    • getProjectDemandExpectedAmount

      @Nullable public BigDecimal getProjectDemandExpectedAmount()
      Constraints: Not nullable, Precision: 23, Scale: 3

      Original property name from the Odata EDM: ProjectDemandExpectedAmount

      Returns:
      Expected Value of Overall Limit
    • getProjDmndRequestedQuantity

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

      Original property name from the Odata EDM: ProjDmndRequestedQuantity

      Returns:
      Required Quantity
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getPurchasingGroup

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

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      Purchasing Group
    • getPurchasingOrganization

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

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      Purchasing Organization
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of the Person Who Created the Object
    • getCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Timestamp of Object Creation
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By User
    • getLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Last Change Date Time
    • getProjectDemandLastChangedByUser

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

      Original property name from the Odata EDM: ProjectDemandLastChangedByUser

      Returns:
      User Who Last Changed a Demand (Sub-Entities Included)
    • getProjDemandLastChangeDateTime

      @Nullable public ZonedDateTime getProjDemandLastChangeDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ProjDemandLastChangeDateTime

      Returns:
      Timestamp of Last Change to a Demand (Sub-Entities Included)
    • getProjDmndExternalReferenceUUID

      @Nullable public UUID getProjDmndExternalReferenceUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjDmndExternalReferenceUUID

      Returns:
      External UUID related to a Demand
    • toString

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

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

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

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