Class ProjDmndResourceAssignment
Original entity name from the Odata EDM: A_ProjDmndResourceAssignment_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjDmndResourceAssignment instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProjDmndResourceAssignmentSelectableSelector for all available fields of ProjDmndResourceAssignment.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final ProjDmndResourceAssignmentField<ZonedDateTime>Use with available fluent helpers to apply the CreationDateTime field to query operations.static final ProjDmndResourceAssignmentField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjAssgmtLastUpdateSource field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjDmndRsceAssgmt field to query operations.static final ProjDmndResourceAssignmentField<LocalDateTime>Use with available fluent helpers to apply the ProjDmndRsceAssgmtEndDate field to query operations.static final ProjDmndResourceAssignmentField<BigDecimal>Use with available fluent helpers to apply the ProjDmndRsceAssgmtQuantity field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjDmndRsceAssgmtQuantityUnit field to query operations.static final ProjDmndResourceAssignmentField<LocalDateTime>Use with available fluent helpers to apply the ProjDmndRsceAssgmtStartDate field to query operations.static final ProjDmndResourceAssignmentField<UUID>Use with available fluent helpers to apply the ProjDmndRsceAssgmtUUID field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjDmndRsceWorkAssgmtOID field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjDmndRsceWrkfrcPersonOID field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjectDemandSourceOfSupply field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjectDemandSupplyDeliveryOrg field to query operations.static final ProjDmndResourceAssignmentField<String>Use with available fluent helpers to apply the ProjectDemandSupplyIdentifier field to query operations.static final ProjDmndResourceAssignmentField<UUID>Use with available fluent helpers to apply the ProjectDemandUUID field to query operations.static final ProjDmndResourceAssignmentField<UUID>Use with available fluent helpers to apply the ProjectDemandWorkUUID field to query operations.static final ProjDmndResourceAssignmentLink<ProjDmndRsceAssgmtDistr>Use with available fluent helpers to apply the to_AssgmtDistribution navigation property to query operations.static final ProjDmndResourceAssignmentOneToOneLink<ProjectDemand>Use with available fluent helpers to apply the to_Root navigation property to query operations.static final ProjDmndResourceAssignmentOneToOneLink<ProjectDemandResource>Use with available fluent helpers to apply the to_Work navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProjDmndResourceAssignment(UUID projDmndRsceAssgmtUUID, UUID projectDemandWorkUUID, UUID projectDemandUUID, String projDmndRsceAssgmt, BigDecimal projDmndRsceAssgmtQuantity, String projDmndRsceAssgmtQuantityUnit, String projectDemandSupplyIdentifier, String projectDemandSupplyDeliveryOrg, String projectDemandSourceOfSupply, String projAssgmtLastUpdateSource, String projDmndRsceWorkAssgmtOID, String projDmndRsceWrkfrcPersonOID, LocalDateTime projDmndRsceAssgmtStartDate, LocalDateTime projDmndRsceAssgmtEndDate, String createdByUser, ZonedDateTime creationDateTime, String lastChangedByUser, ZonedDateTime lastChangeDateTime, List<ProjDmndRsceAssgmtDistr> toAssgmtDistribution, ProjectDemand toRoot, ProjectDemandResource toWork) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssgmtDistribution(ProjDmndRsceAssgmtDistr... entity) Adds elements to the list of associated ProjDmndRsceAssgmtDistr entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProjDmndRsceAssgmtDistr entities (one to many) associated with this entity.Fetches the ProjectDemand entity (one to one) associated with this entity.Fetches the ProjectDemandResource entity (one to one) associated with this entity.static <T,DomainT>
ProjDmndResourceAssignmentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProjDmndResourceAssignmentField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidio.vavr.control.Option<List<ProjDmndRsceAssgmtDistr>>Retrieval of associated ProjDmndRsceAssgmtDistr entities (one to many).Retrieval of associated ProjDmndRsceAssgmtDistr entities (one to many).Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 7protected Stringprotected StringgetKey()Constraints: Not nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 100Constraints: Not nullable, Maximum length: 36Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 24Constraints: noneConstraints: noneio.vavr.control.Option<ProjectDemand>Retrieval of associated ProjectDemand entity (one to one).Retrieval of associated ProjectDemand entity (one to one).getType()io.vavr.control.Option<ProjectDemandResource>Retrieval of associated ProjectDemandResource entity (one to one).Retrieval of associated ProjectDemandResource entity (one to one).inthashCode()voidOverwrites the list of associated ProjDmndRsceAssgmtDistr entities for the loaded navigation property to_AssgmtDistribution.voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 7voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetProjAssgmtLastUpdateSource(String projAssgmtLastUpdateSource) Constraints: Not nullable, Maximum length: 1voidsetProjDmndRsceAssgmt(String projDmndRsceAssgmt) Constraints: Not nullable, Maximum length: 8voidsetProjDmndRsceAssgmtEndDate(LocalDateTime projDmndRsceAssgmtEndDate) Constraints: Not nullable, Precision: 0voidsetProjDmndRsceAssgmtQuantity(BigDecimal projDmndRsceAssgmtQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetProjDmndRsceAssgmtQuantityUnit(String projDmndRsceAssgmtQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetProjDmndRsceAssgmtStartDate(LocalDateTime projDmndRsceAssgmtStartDate) Constraints: Not nullable, Precision: 0voidsetProjDmndRsceAssgmtUUID(UUID projDmndRsceAssgmtUUID) (Key Field) Constraints: Not nullablevoidsetProjDmndRsceWorkAssgmtOID(String projDmndRsceWorkAssgmtOID) Constraints: Not nullable, Maximum length: 100voidsetProjDmndRsceWrkfrcPersonOID(String projDmndRsceWrkfrcPersonOID) Constraints: Not nullable, Maximum length: 36voidsetProjectDemandSourceOfSupply(String projectDemandSourceOfSupply) Constraints: Not nullable, Maximum length: 1voidsetProjectDemandSupplyDeliveryOrg(String projectDemandSupplyDeliveryOrg) Constraints: Not nullable, Maximum length: 5voidsetProjectDemandSupplyIdentifier(String projectDemandSupplyIdentifier) Constraints: Not nullable, Maximum length: 24voidsetProjectDemandUUID(UUID projectDemandUUID) Constraints: nonevoidsetProjectDemandWorkUUID(UUID projectDemandWorkUUID) Constraints: nonevoidsetRoot(ProjectDemand value) Overwrites the associated ProjectDemand entity for the loaded navigation property to_Root.protected voidsetServicePathForFetch(String servicePathForFetch) voidsetWork(ProjectDemandResource value) Overwrites the associated ProjectDemandResource entity for the loaded navigation property to_Work.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProjDmndResourceAssignment. -
PROJ_DMND_RSCE_ASSGMT_UUID
Use with available fluent helpers to apply the ProjDmndRsceAssgmtUUID field to query operations. -
PROJECT_DEMAND_WORK_UUID
Use with available fluent helpers to apply the ProjectDemandWorkUUID field to query operations. -
PROJECT_DEMAND_UUID
Use with available fluent helpers to apply the ProjectDemandUUID field to query operations. -
PROJ_DMND_RSCE_ASSGMT
Use with available fluent helpers to apply the ProjDmndRsceAssgmt field to query operations. -
PROJ_DMND_RSCE_ASSGMT_QUANTITY
Use with available fluent helpers to apply the ProjDmndRsceAssgmtQuantity field to query operations. -
PROJ_DMND_RSCE_ASSGMT_QUANTITY_UNIT
Use with available fluent helpers to apply the ProjDmndRsceAssgmtQuantityUnit field to query operations. -
PROJECT_DEMAND_SUPPLY_IDENTIFIER
Use with available fluent helpers to apply the ProjectDemandSupplyIdentifier field to query operations. -
PROJECT_DEMAND_SUPPLY_DELIVERY_ORG
Use with available fluent helpers to apply the ProjectDemandSupplyDeliveryOrg field to query operations. -
PROJECT_DEMAND_SOURCE_OF_SUPPLY
Use with available fluent helpers to apply the ProjectDemandSourceOfSupply field to query operations. -
PROJ_ASSGMT_LAST_UPDATE_SOURCE
Use with available fluent helpers to apply the ProjAssgmtLastUpdateSource field to query operations. -
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
Use with available fluent helpers to apply the ProjDmndRsceWrkfrcPersonOID field to query operations. -
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
Use with available fluent helpers to apply the ProjDmndRsceAssgmtEndDate field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
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
- Specified by:
getTypein classVdmObject<ProjDmndResourceAssignment>
-
setProjDmndRsceAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjDmndRsceAssgmtUUID
- Parameters:
projDmndRsceAssgmtUUID- Global Identification of a Resource Assignment to a Demand
-
setProjectDemandWorkUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandWorkUUID
- Parameters:
projectDemandWorkUUID- Global Identification of a Resource Demand
-
setProjectDemandUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandUUID
- Parameters:
projectDemandUUID- Global Identification of a Project Demand
-
setProjDmndRsceAssgmt
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjDmndRsceAssgmt
- Parameters:
projDmndRsceAssgmt- Personnel Number of a Resource
-
setProjDmndRsceAssgmtQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantity
- Parameters:
projDmndRsceAssgmtQuantity- Total Quantity of a Resource Assignment
-
setProjDmndRsceAssgmtQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantityUnit
- Parameters:
projDmndRsceAssgmtQuantityUnit- Unit of Measure for the Assigned Quantity
-
setProjectDemandSupplyIdentifier
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: ProjectDemandSupplyIdentifier
- Parameters:
projectDemandSupplyIdentifier- Resource Supply ID of a Project Demand
-
setProjectDemandSupplyDeliveryOrg
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ProjectDemandSupplyDeliveryOrg
- Parameters:
projectDemandSupplyDeliveryOrg- Delivery Organization of the Assigned Resource
-
setProjectDemandSourceOfSupply
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectDemandSourceOfSupply
- Parameters:
projectDemandSourceOfSupply- Source of a Resource Assignment
-
setProjAssgmtLastUpdateSource
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjAssgmtLastUpdateSource
- Parameters:
projAssgmtLastUpdateSource- Source of Last Update to a Resource Assignment
-
setProjDmndRsceWorkAssgmtOID
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: ProjDmndRsceWorkAssgmtOID
- Parameters:
projDmndRsceWorkAssgmtOID- Work Assignment ID (SAP One Domain Model)
-
setProjDmndRsceWrkfrcPersonOID
Constraints: Not nullable, Maximum length: 36Original property name from the Odata EDM: ProjDmndRsceWrkfrcPersonOID
- Parameters:
projDmndRsceWrkfrcPersonOID- Workforce Person ID (SAP One Domain Model)
-
setProjDmndRsceAssgmtStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjDmndRsceAssgmtStartDate
- Parameters:
projDmndRsceAssgmtStartDate- Start Date of the Demand
-
setProjDmndRsceAssgmtEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjDmndRsceAssgmtEndDate
- Parameters:
projDmndRsceAssgmtEndDate- End Date of the Demand
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created By User
-
setCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Creation Date Time
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Last Changed By User
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Last Change Date Time
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjDmndResourceAssignment>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjDmndResourceAssignment>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjDmndResourceAssignment>
-
fromMap
- Overrides:
fromMapin classVdmObject<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<ProjDmndResourceAssignment>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProjDmndResourceAssignment>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProjDmndResourceAssignment>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjDmndResourceAssignment>
-
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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_AssgmtDistribution is already loaded, the result
will contain the ProjDmndRsceAssgmtDistr entities. If not, an
Optionwith result stateemptyis returned.
-
setAssgmtDistribution
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
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
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
nullif 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
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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Root is already loaded, the result will contain the
ProjectDemand entity. If not, an
Optionwith result stateemptyis returned.
-
setRoot
Overwrites the associated ProjectDemand entity for the loaded navigation property to_Root.- Parameters:
value- New ProjectDemand entity.
-
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
nullif 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
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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Work is already loaded, the result will contain the
ProjectDemandResource entity. If not, an
Optionwith result stateemptyis returned.
-
setWork
Overwrites the associated ProjectDemandResource entity for the loaded navigation property to_Work.- Parameters:
value- New ProjectDemandResource entity.
-
builder
-
getProjDmndRsceAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjDmndRsceAssgmtUUID
- Returns:
- Global Identification of a Resource Assignment to a Demand
-
getProjectDemandWorkUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandWorkUUID
- Returns:
- Global Identification of a Resource Demand
-
getProjectDemandUUID
Constraints: noneOriginal property name from the Odata EDM: ProjectDemandUUID
- Returns:
- Global Identification of a Project Demand
-
getProjDmndRsceAssgmt
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjDmndRsceAssgmt
- Returns:
- Personnel Number of a Resource
-
getProjDmndRsceAssgmtQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantity
- Returns:
- Total Quantity of a Resource Assignment
-
getProjDmndRsceAssgmtQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProjDmndRsceAssgmtQuantityUnit
- Returns:
- Unit of Measure for the Assigned Quantity
-
getProjectDemandSupplyIdentifier
Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: ProjectDemandSupplyIdentifier
- Returns:
- Resource Supply ID of a Project Demand
-
getProjectDemandSupplyDeliveryOrg
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ProjectDemandSupplyDeliveryOrg
- Returns:
- Delivery Organization of the Assigned Resource
-
getProjectDemandSourceOfSupply
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectDemandSourceOfSupply
- Returns:
- Source of a Resource Assignment
-
getProjAssgmtLastUpdateSource
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjAssgmtLastUpdateSource
- Returns:
- Source of Last Update to a Resource Assignment
-
getProjDmndRsceWorkAssgmtOID
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: ProjDmndRsceWorkAssgmtOID
- Returns:
- Work Assignment ID (SAP One Domain Model)
-
getProjDmndRsceWrkfrcPersonOID
Constraints: Not nullable, Maximum length: 36Original property name from the Odata EDM: ProjDmndRsceWrkfrcPersonOID
- Returns:
- Workforce Person ID (SAP One Domain Model)
-
getProjDmndRsceAssgmtStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjDmndRsceAssgmtStartDate
- Returns:
- Start Date of the Demand
-
getProjDmndRsceAssgmtEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProjDmndRsceAssgmtEndDate
- Returns:
- End Date of the Demand
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created By User
-
getCreationDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Creation Date Time
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Last Changed By User
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Last Change Date Time
-
toString
- Overrides:
toStringin classVdmObject<ProjDmndResourceAssignment>
-
equals
- Overrides:
equalsin classVdmEntity<ProjDmndResourceAssignment>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjDmndResourceAssignment>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjDmndResourceAssignment>
-