Class ProjDmndResourceAssignment

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

public class ProjDmndResourceAssignment extends VdmEntity<ProjDmndResourceAssignment>
Resource Assignment

Original entity name from the Odata EDM: A_ProjDmndResourceAssignment_Type

  • Field Details

    • ALL_FIELDS

      public static final ProjDmndResourceAssignmentSelectable ALL_FIELDS
      Selector for all available fields of ProjDmndResourceAssignment.
    • PROJ_DMND_RSCE_ASSGMT_UUID

      public static final ProjDmndResourceAssignmentField<UUID> PROJ_DMND_RSCE_ASSGMT_UUID
      Use with available fluent helpers to apply the ProjDmndRsceAssgmtUUID field to query operations.
    • PROJECT_DEMAND_WORK_UUID

      public static final ProjDmndResourceAssignmentField<UUID> PROJECT_DEMAND_WORK_UUID
      Use with available fluent helpers to apply the ProjectDemandWorkUUID field to query operations.
    • PROJECT_DEMAND_UUID

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

      public static final ProjDmndResourceAssignmentField<String> PROJ_DMND_RSCE_ASSGMT
      Use with available fluent helpers to apply the ProjDmndRsceAssgmt field to query operations.
    • PROJ_DMND_RSCE_ASSGMT_QUANTITY

      public static final ProjDmndResourceAssignmentField<BigDecimal> PROJ_DMND_RSCE_ASSGMT_QUANTITY
      Use with available fluent helpers to apply the ProjDmndRsceAssgmtQuantity field to query operations.
    • PROJ_DMND_RSCE_ASSGMT_QUANTITY_UNIT

      public static final ProjDmndResourceAssignmentField<String> PROJ_DMND_RSCE_ASSGMT_QUANTITY_UNIT
      Use with available fluent helpers to apply the ProjDmndRsceAssgmtQuantityUnit field to query operations.
    • PROJECT_DEMAND_SUPPLY_IDENTIFIER

      public static final ProjDmndResourceAssignmentField<String> PROJECT_DEMAND_SUPPLY_IDENTIFIER
      Use with available fluent helpers to apply the ProjectDemandSupplyIdentifier field to query operations.
    • PROJECT_DEMAND_SUPPLY_DELIVERY_ORG

      public static final ProjDmndResourceAssignmentField<String> PROJECT_DEMAND_SUPPLY_DELIVERY_ORG
      Use with available fluent helpers to apply the ProjectDemandSupplyDeliveryOrg field to query operations.
    • PROJECT_DEMAND_SOURCE_OF_SUPPLY

      public static final ProjDmndResourceAssignmentField<String> PROJECT_DEMAND_SOURCE_OF_SUPPLY
      Use with available fluent helpers to apply the ProjectDemandSourceOfSupply field to query operations.
    • PROJ_ASSGMT_LAST_UPDATE_SOURCE

      public static final ProjDmndResourceAssignmentField<String> PROJ_ASSGMT_LAST_UPDATE_SOURCE
      Use with available fluent helpers to apply the ProjAssgmtLastUpdateSource field to query operations.
    • PROJ_DMND_RSCE_WORK_ASSGMT_OID

      public static final ProjDmndResourceAssignmentField<String> PROJ_DMND_RSCE_WORK_ASSGMT_OID
      Use with available fluent helpers to apply the ProjDmndRsceWorkAssgmtOID field to query operations.
    • PROJ_DMND_RSCE_WRKFRC_PERSON_OID

      public static final ProjDmndResourceAssignmentField<String> PROJ_DMND_RSCE_WRKFRC_PERSON_OID
      Use with available fluent helpers to apply the ProjDmndRsceWrkfrcPersonOID field to query operations.
    • PROJ_DMND_RSCE_ASSGMT_START_DATE

      public static final ProjDmndResourceAssignmentField<LocalDateTime> PROJ_DMND_RSCE_ASSGMT_START_DATE
      Use with available fluent helpers to apply the ProjDmndRsceAssgmtStartDate field to query operations.
    • PROJ_DMND_RSCE_ASSGMT_END_DATE

      public static final ProjDmndResourceAssignmentField<LocalDateTime> PROJ_DMND_RSCE_ASSGMT_END_DATE
      Use with available fluent helpers to apply the ProjDmndRsceAssgmtEndDate field to query operations.
    • CREATED_BY_USER

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

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

      public static final ProjDmndResourceAssignmentField<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 ProjDmndResourceAssignmentField<ZonedDateTime> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • TO_ASSGMT_DISTRIBUTION

      public static final ProjDmndResourceAssignmentLink<ProjDmndRsceAssgmtDistr> TO_ASSGMT_DISTRIBUTION
      Use with available fluent helpers to apply the to_AssgmtDistribution navigation property to query operations.
    • TO_ROOT

      Use with available fluent helpers to apply the to_Root navigation property to query operations.
    • TO_WORK

      Use with available fluent helpers to apply the to_Work navigation property to query operations.
  • Constructor Details

    • ProjDmndResourceAssignment

      public ProjDmndResourceAssignment()
    • ProjDmndResourceAssignment

      public ProjDmndResourceAssignment(@Nullable UUID projDmndRsceAssgmtUUID, @Nullable UUID projectDemandWorkUUID, @Nullable UUID projectDemandUUID, @Nullable String projDmndRsceAssgmt, @Nullable BigDecimal projDmndRsceAssgmtQuantity, @Nullable String projDmndRsceAssgmtQuantityUnit, @Nullable String projectDemandSupplyIdentifier, @Nullable String projectDemandSupplyDeliveryOrg, @Nullable String projectDemandSourceOfSupply, @Nullable String projAssgmtLastUpdateSource, @Nullable String projDmndRsceWorkAssgmtOID, @Nullable String projDmndRsceWrkfrcPersonOID, @Nullable LocalDateTime projDmndRsceAssgmtStartDate, @Nullable LocalDateTime projDmndRsceAssgmtEndDate, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable ZonedDateTime lastChangeDateTime, List<ProjDmndRsceAssgmtDistr> toAssgmtDistribution, @Nullable ProjectDemand toRoot, @Nullable ProjectDemandResource toWork)
  • Method Details

    • getType

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

      public void setProjDmndRsceAssgmtUUID(@Nullable UUID projDmndRsceAssgmtUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjDmndRsceAssgmtUUID

      Parameters:
      projDmndRsceAssgmtUUID - Global Identification of a Resource Assignment to a Demand
    • setProjectDemandWorkUUID

      public void setProjectDemandWorkUUID(@Nullable UUID projectDemandWorkUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectDemandWorkUUID

      Parameters:
      projectDemandWorkUUID - Global Identification of a Resource Demand
    • setProjectDemandUUID

      public void setProjectDemandUUID(@Nullable UUID projectDemandUUID)
      Constraints: none

      Original property name from the Odata EDM: ProjectDemandUUID

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

      public void setProjDmndRsceAssgmt(@Nullable String projDmndRsceAssgmt)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProjDmndRsceAssgmt

      Parameters:
      projDmndRsceAssgmt - Personnel Number of a Resource
    • setProjDmndRsceAssgmtQuantity

      public void setProjDmndRsceAssgmtQuantity(@Nullable BigDecimal projDmndRsceAssgmtQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantity

      Parameters:
      projDmndRsceAssgmtQuantity - Total Quantity of a Resource Assignment
    • setProjDmndRsceAssgmtQuantityUnit

      public void setProjDmndRsceAssgmtQuantityUnit(@Nullable String projDmndRsceAssgmtQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantityUnit

      Parameters:
      projDmndRsceAssgmtQuantityUnit - Unit of Measure for the Assigned Quantity
    • setProjectDemandSupplyIdentifier

      public void setProjectDemandSupplyIdentifier(@Nullable String projectDemandSupplyIdentifier)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ProjectDemandSupplyIdentifier

      Parameters:
      projectDemandSupplyIdentifier - Resource Supply ID of a Project Demand
    • setProjectDemandSupplyDeliveryOrg

      public void setProjectDemandSupplyDeliveryOrg(@Nullable String projectDemandSupplyDeliveryOrg)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: ProjectDemandSupplyDeliveryOrg

      Parameters:
      projectDemandSupplyDeliveryOrg - Delivery Organization of the Assigned Resource
    • setProjectDemandSourceOfSupply

      public void setProjectDemandSourceOfSupply(@Nullable String projectDemandSourceOfSupply)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProjectDemandSourceOfSupply

      Parameters:
      projectDemandSourceOfSupply - Source of a Resource Assignment
    • setProjAssgmtLastUpdateSource

      public void setProjAssgmtLastUpdateSource(@Nullable String projAssgmtLastUpdateSource)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProjAssgmtLastUpdateSource

      Parameters:
      projAssgmtLastUpdateSource - Source of Last Update to a Resource Assignment
    • setProjDmndRsceWorkAssgmtOID

      public void setProjDmndRsceWorkAssgmtOID(@Nullable String projDmndRsceWorkAssgmtOID)
      Constraints: Not nullable, Maximum length: 100

      Original property name from the Odata EDM: ProjDmndRsceWorkAssgmtOID

      Parameters:
      projDmndRsceWorkAssgmtOID - Work Assignment ID (SAP One Domain Model)
    • setProjDmndRsceWrkfrcPersonOID

      public void setProjDmndRsceWrkfrcPersonOID(@Nullable String projDmndRsceWrkfrcPersonOID)
      Constraints: Not nullable, Maximum length: 36

      Original property name from the Odata EDM: ProjDmndRsceWrkfrcPersonOID

      Parameters:
      projDmndRsceWrkfrcPersonOID - Workforce Person ID (SAP One Domain Model)
    • setProjDmndRsceAssgmtStartDate

      public void setProjDmndRsceAssgmtStartDate(@Nullable LocalDateTime projDmndRsceAssgmtStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjDmndRsceAssgmtStartDate

      Parameters:
      projDmndRsceAssgmtStartDate - Start Date of the Demand
    • setProjDmndRsceAssgmtEndDate

      public void setProjDmndRsceAssgmtEndDate(@Nullable LocalDateTime projDmndRsceAssgmtEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ProjDmndRsceAssgmtEndDate

      Parameters:
      projDmndRsceAssgmtEndDate - End Date of the Demand
    • setCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By User
    • setCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Creation Date Time
    • 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
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ProjDmndResourceAssignmentField<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> ProjDmndResourceAssignmentField<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<ProjDmndResourceAssignment>
    • setServicePathForFetch

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

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

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

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

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

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

      Returns:
      List containing one or more associated ProjDmndRsceAssgmtDistr 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.
    • getAssgmtDistributionOrFetch

      @Nonnull public List<ProjDmndRsceAssgmtDistr> getAssgmtDistributionOrFetch()
      Retrieval of associated ProjDmndRsceAssgmtDistr entities (one to many). This corresponds to the OData navigation property to_AssgmtDistribution.

      If the navigation property to_AssgmtDistribution of a queried ProjDmndResourceAssignment 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 ProjDmndRsceAssgmtDistr 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.
    • getAssgmtDistributionIfPresent

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

      If the navigation property for an entity ProjDmndResourceAssignment 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_AssgmtDistribution is already loaded, the result will contain the ProjDmndRsceAssgmtDistr entities. If not, an Option with result state empty is returned.
    • setAssgmtDistribution

      public void setAssgmtDistribution(@Nonnull List<ProjDmndRsceAssgmtDistr> value)
      Overwrites the list of associated ProjDmndRsceAssgmtDistr entities for the loaded navigation property to_AssgmtDistribution.

      If the navigation property to_AssgmtDistribution of a queried ProjDmndResourceAssignment 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 ProjDmndRsceAssgmtDistr entities.
    • addAssgmtDistribution

      public void addAssgmtDistribution(ProjDmndRsceAssgmtDistr... entity)
      Adds elements to the list of associated ProjDmndRsceAssgmtDistr entities. This corresponds to the OData navigation property to_AssgmtDistribution.

      If the navigation property to_AssgmtDistribution of a queried ProjDmndResourceAssignment 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 ProjDmndRsceAssgmtDistr entities.
    • fetchRoot

      @Nullable public ProjectDemand fetchRoot()
      Fetches the ProjectDemand entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Root.

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

      Returns:
      The single associated ProjectDemand 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.
    • getRootOrFetch

      @Nullable public ProjectDemand getRootOrFetch()
      Retrieval of associated ProjectDemand entity (one to one). This corresponds to the OData navigation property to_Root.

      If the navigation property to_Root of a queried ProjDmndResourceAssignment 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 ProjectDemand 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.
    • getRootIfPresent

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

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

      public void setRoot(ProjectDemand value)
      Overwrites the associated ProjectDemand entity for the loaded navigation property to_Root.
      Parameters:
      value - New ProjectDemand 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 ProjDmndResourceAssignment 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 ProjDmndResourceAssignment 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

    • getProjDmndRsceAssgmtUUID

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

      Original property name from the Odata EDM: ProjDmndRsceAssgmtUUID

      Returns:
      Global Identification of a Resource Assignment to a Demand
    • getProjectDemandWorkUUID

      @Nullable public UUID getProjectDemandWorkUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectDemandWorkUUID

      Returns:
      Global Identification of a Resource Demand
    • getProjectDemandUUID

      @Nullable public UUID getProjectDemandUUID()
      Constraints: none

      Original property name from the Odata EDM: ProjectDemandUUID

      Returns:
      Global Identification of a Project Demand
    • getProjDmndRsceAssgmt

      @Nullable public String getProjDmndRsceAssgmt()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: ProjDmndRsceAssgmt

      Returns:
      Personnel Number of a Resource
    • getProjDmndRsceAssgmtQuantity

      @Nullable public BigDecimal getProjDmndRsceAssgmtQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantity

      Returns:
      Total Quantity of a Resource Assignment
    • getProjDmndRsceAssgmtQuantityUnit

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

      Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantityUnit

      Returns:
      Unit of Measure for the Assigned Quantity
    • getProjectDemandSupplyIdentifier

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

      Original property name from the Odata EDM: ProjectDemandSupplyIdentifier

      Returns:
      Resource Supply ID of a Project Demand
    • getProjectDemandSupplyDeliveryOrg

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

      Original property name from the Odata EDM: ProjectDemandSupplyDeliveryOrg

      Returns:
      Delivery Organization of the Assigned Resource
    • getProjectDemandSourceOfSupply

      @Nullable public String getProjectDemandSourceOfSupply()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProjectDemandSourceOfSupply

      Returns:
      Source of a Resource Assignment
    • getProjAssgmtLastUpdateSource

      @Nullable public String getProjAssgmtLastUpdateSource()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProjAssgmtLastUpdateSource

      Returns:
      Source of Last Update to a Resource Assignment
    • getProjDmndRsceWorkAssgmtOID

      @Nullable public String getProjDmndRsceWorkAssgmtOID()
      Constraints: Not nullable, Maximum length: 100

      Original property name from the Odata EDM: ProjDmndRsceWorkAssgmtOID

      Returns:
      Work Assignment ID (SAP One Domain Model)
    • getProjDmndRsceWrkfrcPersonOID

      @Nullable public String getProjDmndRsceWrkfrcPersonOID()
      Constraints: Not nullable, Maximum length: 36

      Original property name from the Odata EDM: ProjDmndRsceWrkfrcPersonOID

      Returns:
      Workforce Person ID (SAP One Domain Model)
    • getProjDmndRsceAssgmtStartDate

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

      Original property name from the Odata EDM: ProjDmndRsceAssgmtStartDate

      Returns:
      Start Date of the Demand
    • getProjDmndRsceAssgmtEndDate

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

      Original property name from the Odata EDM: ProjDmndRsceAssgmtEndDate

      Returns:
      End Date of the Demand
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By User
    • getCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Creation Date Time
    • 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
    • toString

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

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

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

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