Class EngmntProjRsceDmnd
Original entity name from the Odata EDM: A_EngmntProjRsceDmndType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EngmntProjRsceDmnd instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EngmntProjRsceDmndSelectableSelector for all available fields of EngmntProjRsceDmnd.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the BillingControlCategory field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the Country2DigitISOCode field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the Currency field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the DeliveryOrganization field to query operations.static final EngmntProjRsceDmndField<BigDecimal>Use with available fluent helpers to apply the DemandCostAmt field to query operations.static final EngmntProjRsceDmndField<BigDecimal>Use with available fluent helpers to apply the DemandRevAmt field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the EngagementProject field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the EngagementProjectResource field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the EngagementProjectResourceType field to query operations.static final EngmntProjRsceDmndField<LocalDateTime>Use with available fluent helpers to apply the KeyDate field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the PersonWorkAgreement field to query operations.static final EngmntProjRsceDmndField<BigDecimal>Use with available fluent helpers to apply the Quantity field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the ResourceDemand field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the ResourceDemandStatus field to query operations.static final EngmntProjRsceDmndLink<EngmntProjRsceDmndDistr>Use with available fluent helpers to apply the to_ResourceDemandDistribution navigation property to query operations.static final EngmntProjRsceDmndOneToOneLink<EngmntProjRsceDmndSkill>Use with available fluent helpers to apply the to_ResourceDemandSkills navigation property to query operations.static final EngmntProjRsceDmndLink<EngmntProjRsceSup>Use with available fluent helpers to apply the to_ResourceSupply navigation property to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the UnitOfMeasure field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the Version field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the WorkItem field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the WorkPackage field to query operations.static final EngmntProjRsceDmndField<String>Use with available fluent helpers to apply the WorkforcePersonUserID field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionEngmntProjRsceDmnd(String workPackage, String resourceDemand, String version, String engagementProject, String workItem, String billingControlCategory, String deliveryOrganization, String engagementProjectResourceType, String engagementProjectResource, String workforcePersonUserID, String country2DigitISOCode, LocalDateTime keyDate, String personWorkAgreement, String resourceDemandStatus, String unitOfMeasure, BigDecimal quantity, String currency, BigDecimal demandCostAmt, BigDecimal demandRevAmt, List<EngmntProjRsceDmndDistr> toResourceDemandDistribution, EngmntProjRsceDmndSkill toResourceDemandSkills, List<EngmntProjRsceSup> toResourceSupply) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated EngmntProjRsceDmndDistr entities.voidaddResourceSupply(EngmntProjRsceSup... entity) Adds elements to the list of associated EngmntProjRsceSup entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EngmntProjRsceDmndDistr entities (one to many) associated with this entity.Fetches the EngmntProjRsceDmndSkill entity (one to one) associated with this entity.Fetches the EngmntProjRsceSup entities (one to many) associated with this entity.static <T,DomainT>
EngmntProjRsceDmndField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EngmntProjRsceDmndField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 18, Scale: 3Constraints: Not nullable, Precision: 18, Scale: 3Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 4protected StringgetKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Precision: 15, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 24io.vavr.control.Option<List<EngmntProjRsceDmndDistr>>Retrieval of associated EngmntProjRsceDmndDistr entities (one to many).Retrieval of associated EngmntProjRsceDmndDistr entities (one to many).io.vavr.control.Option<EngmntProjRsceDmndSkill>Retrieval of associated EngmntProjRsceDmndSkill entity (one to one).Retrieval of associated EngmntProjRsceDmndSkill entity (one to one).Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<EngmntProjRsceSup>>Retrieval of associated EngmntProjRsceSup entities (one to many).Retrieval of associated EngmntProjRsceSup entities (one to many).getType()Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 28Constraints: Not nullable, Maximum length: 100Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 50inthashCode()voidsetBillingControlCategory(String billingControlCategory) Constraints: Not nullable, Maximum length: 8voidsetCountry2DigitISOCode(String country2DigitISOCode) Constraints: Not nullable, Maximum length: 2voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetDeliveryOrganization(String deliveryOrganization) Constraints: Not nullable, Maximum length: 5voidsetDemandCostAmt(BigDecimal demandCostAmt) Constraints: Not nullable, Precision: 18, Scale: 3voidsetDemandRevAmt(BigDecimal demandRevAmt) Constraints: Not nullable, Precision: 18, Scale: 3voidsetEngagementProject(String engagementProject) Constraints: Not nullable, Maximum length: 40voidsetEngagementProjectResource(String engagementProjectResource) Constraints: Not nullable, Maximum length: 40voidsetEngagementProjectResourceType(String engagementProjectResourceType) Constraints: Not nullable, Maximum length: 4voidsetKeyDate(LocalDateTime keyDate) Constraints: Not nullable, Precision: 0voidsetPersonWorkAgreement(String personWorkAgreement) Constraints: Not nullable, Maximum length: 8voidsetQuantity(BigDecimal quantity) Constraints: Not nullable, Precision: 15, Scale: 3voidsetResourceDemand(String resourceDemand) (Key Field) Constraints: Not nullable, Maximum length: 24voidOverwrites the list of associated EngmntProjRsceDmndDistr entities for the loaded navigation property to_ResourceDemandDistribution.voidOverwrites the associated EngmntProjRsceDmndSkill entity for the loaded navigation property to_ResourceDemandSkills.voidsetResourceDemandStatus(String resourceDemandStatus) Constraints: Not nullable, Maximum length: 1voidsetResourceSupply(List<EngmntProjRsceSup> value) Overwrites the list of associated EngmntProjRsceSup entities for the loaded navigation property to_ResourceSupply.protected voidsetServicePathForFetch(String servicePathForFetch) voidsetUnitOfMeasure(String unitOfMeasure) Constraints: Not nullable, Maximum length: 3voidsetVersion(String version) (Key Field) Constraints: Not nullable, Maximum length: 28voidsetWorkforcePersonUserID(String workforcePersonUserID) Constraints: Not nullable, Maximum length: 100voidsetWorkItem(String workItem) Constraints: Not nullable, Maximum length: 10voidsetWorkPackage(String workPackage) (Key Field) Constraints: Not nullable, Maximum length: 50toString()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 EngmntProjRsceDmnd. -
WORK_PACKAGE
Use with available fluent helpers to apply the WorkPackage field to query operations. -
RESOURCE_DEMAND
Use with available fluent helpers to apply the ResourceDemand field to query operations. -
VERSION
Use with available fluent helpers to apply the Version field to query operations. -
ENGAGEMENT_PROJECT
Use with available fluent helpers to apply the EngagementProject field to query operations. -
WORK_ITEM
Use with available fluent helpers to apply the WorkItem field to query operations. -
BILLING_CONTROL_CATEGORY
Use with available fluent helpers to apply the BillingControlCategory field to query operations. -
DELIVERY_ORGANIZATION
Use with available fluent helpers to apply the DeliveryOrganization field to query operations. -
ENGAGEMENT_PROJECT_RESOURCE_TYPE
Use with available fluent helpers to apply the EngagementProjectResourceType field to query operations. -
ENGAGEMENT_PROJECT_RESOURCE
Use with available fluent helpers to apply the EngagementProjectResource field to query operations. -
WORKFORCE_PERSON_USER_ID
Use with available fluent helpers to apply the WorkforcePersonUserID field to query operations. -
COUNTRY2_DIGIT_ISO_CODE
Use with available fluent helpers to apply the Country2DigitISOCode field to query operations. -
KEY_DATE
Use with available fluent helpers to apply the KeyDate field to query operations. -
PERSON_WORK_AGREEMENT
Use with available fluent helpers to apply the PersonWorkAgreement field to query operations. -
RESOURCE_DEMAND_STATUS
Use with available fluent helpers to apply the ResourceDemandStatus field to query operations. -
UNIT_OF_MEASURE
Use with available fluent helpers to apply the UnitOfMeasure field to query operations. -
QUANTITY
Use with available fluent helpers to apply the Quantity field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
DEMAND_COST_AMT
Use with available fluent helpers to apply the DemandCostAmt field to query operations. -
DEMAND_REV_AMT
Use with available fluent helpers to apply the DemandRevAmt field to query operations. -
TO_RESOURCE_DEMAND_DISTRIBUTION
Use with available fluent helpers to apply the to_ResourceDemandDistribution navigation property to query operations. -
TO_RESOURCE_DEMAND_SKILLS
public static final EngmntProjRsceDmndOneToOneLink<EngmntProjRsceDmndSkill> TO_RESOURCE_DEMAND_SKILLSUse with available fluent helpers to apply the to_ResourceDemandSkills navigation property to query operations. -
TO_RESOURCE_SUPPLY
Use with available fluent helpers to apply the to_ResourceSupply navigation property to query operations.
-
-
Constructor Details
-
EngmntProjRsceDmnd
public EngmntProjRsceDmnd() -
EngmntProjRsceDmnd
public EngmntProjRsceDmnd(@Nullable String workPackage, @Nullable String resourceDemand, @Nullable String version, @Nullable String engagementProject, @Nullable String workItem, @Nullable String billingControlCategory, @Nullable String deliveryOrganization, @Nullable String engagementProjectResourceType, @Nullable String engagementProjectResource, @Nullable String workforcePersonUserID, @Nullable String country2DigitISOCode, @Nullable LocalDateTime keyDate, @Nullable String personWorkAgreement, @Nullable String resourceDemandStatus, @Nullable String unitOfMeasure, @Nullable BigDecimal quantity, @Nullable String currency, @Nullable BigDecimal demandCostAmt, @Nullable BigDecimal demandRevAmt, List<EngmntProjRsceDmndDistr> toResourceDemandDistribution, @Nullable EngmntProjRsceDmndSkill toResourceDemandSkills, List<EngmntProjRsceSup> toResourceSupply)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EngmntProjRsceDmnd>
-
setWorkPackage
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackage
- Parameters:
workPackage- Work Package ID
-
setResourceDemand
(Key Field) Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: ResourceDemand
- Parameters:
resourceDemand- Resource Demand ID
-
setVersion
(Key Field) Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: Version
- Parameters:
version- Plan Version ID
-
setEngagementProject
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EngagementProject
- Parameters:
engagementProject- Engagement Project ID
-
setWorkItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WorkItem
- Parameters:
workItem- Work Item ID
-
setBillingControlCategory
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillingControlCategory
- Parameters:
billingControlCategory- Billing Control Category
-
setDeliveryOrganization
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DeliveryOrganization
- Parameters:
deliveryOrganization- Delivery Organization
-
setEngagementProjectResourceType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EngagementProjectResourceType
- Parameters:
engagementProjectResourceType- Resource Type ID
-
setEngagementProjectResource
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EngagementProjectResource
- Parameters:
engagementProjectResource- Resource ID
-
setWorkforcePersonUserID
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: WorkforcePersonUserID
- Parameters:
workforcePersonUserID- User ID
-
setCountry2DigitISOCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Country2DigitISOCode
- Parameters:
country2DigitISOCode- Country/Region
-
setKeyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: KeyDate
- Parameters:
keyDate- Date
-
setPersonWorkAgreement
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonWorkAgreement
- Parameters:
personWorkAgreement- Personnel Number
-
setResourceDemandStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ResourceDemandStatus
- Parameters:
resourceDemandStatus- Assignment Status for a Resource Demand
-
setUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Parameters:
unitOfMeasure- Unit of Measure
-
setQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: Quantity
- Parameters:
quantity- The quantity to set.
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Plan Currency
-
setDemandCostAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: DemandCostAmt
- Parameters:
demandCostAmt- Demand Cost Amount
-
setDemandRevAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: DemandRevAmt
- Parameters:
demandRevAmt- Demand Revenue Amount
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EngmntProjRsceDmnd>
-
getKey
- Overrides:
getKeyin classVdmObject<EngmntProjRsceDmnd>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EngmntProjRsceDmnd>
-
fromMap
- Overrides:
fromMapin classVdmObject<EngmntProjRsceDmnd>
-
field
@Nonnull public static <T> EngmntProjRsceDmndField<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> EngmntProjRsceDmndField<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<EngmntProjRsceDmnd>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EngmntProjRsceDmnd>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EngmntProjRsceDmnd>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EngmntProjRsceDmnd>
-
fetchResourceDemandDistribution
Fetches the EngmntProjRsceDmndDistr entities (one to many) associated with this entity. This corresponds to the OData navigation property to_ResourceDemandDistribution.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated EngmntProjRsceDmndDistr 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.
-
getResourceDemandDistributionOrFetch
Retrieval of associated EngmntProjRsceDmndDistr entities (one to many). This corresponds to the OData navigation property to_ResourceDemandDistribution.If the navigation property to_ResourceDemandDistribution of a queried EngmntProjRsceDmnd 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 EngmntProjRsceDmndDistr 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.
-
getResourceDemandDistributionIfPresent
@Nonnull public io.vavr.control.Option<List<EngmntProjRsceDmndDistr>> getResourceDemandDistributionIfPresent()Retrieval of associated EngmntProjRsceDmndDistr entities (one to many). This corresponds to the OData navigation property to_ResourceDemandDistribution.If the navigation property for an entity EngmntProjRsceDmnd 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_ResourceDemandDistribution is already loaded, the
result will contain the EngmntProjRsceDmndDistr entities. If not, an
Optionwith result stateemptyis returned.
-
setResourceDemandDistribution
Overwrites the list of associated EngmntProjRsceDmndDistr entities for the loaded navigation property to_ResourceDemandDistribution.If the navigation property to_ResourceDemandDistribution of a queried EngmntProjRsceDmnd 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 EngmntProjRsceDmndDistr entities.
-
addResourceDemandDistribution
Adds elements to the list of associated EngmntProjRsceDmndDistr entities. This corresponds to the OData navigation property to_ResourceDemandDistribution.If the navigation property to_ResourceDemandDistribution of a queried EngmntProjRsceDmnd 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 EngmntProjRsceDmndDistr entities.
-
fetchResourceDemandSkills
Fetches the EngmntProjRsceDmndSkill entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ResourceDemandSkills.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EngmntProjRsceDmndSkill 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.
-
getResourceDemandSkillsOrFetch
Retrieval of associated EngmntProjRsceDmndSkill entity (one to one). This corresponds to the OData navigation property to_ResourceDemandSkills.If the navigation property to_ResourceDemandSkills of a queried EngmntProjRsceDmnd 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 EngmntProjRsceDmndSkill 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.
-
getResourceDemandSkillsIfPresent
Retrieval of associated EngmntProjRsceDmndSkill entity (one to one). This corresponds to the OData navigation property to_ResourceDemandSkills.If the navigation property for an entity EngmntProjRsceDmnd 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_ResourceDemandSkills is already loaded, the result
will contain the EngmntProjRsceDmndSkill entity. If not, an
Optionwith result stateemptyis returned.
-
setResourceDemandSkills
Overwrites the associated EngmntProjRsceDmndSkill entity for the loaded navigation property to_ResourceDemandSkills.- Parameters:
value- New EngmntProjRsceDmndSkill entity.
-
fetchResourceSupply
Fetches the EngmntProjRsceSup entities (one to many) associated with this entity. This corresponds to the OData navigation property to_ResourceSupply.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated EngmntProjRsceSup 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.
-
getResourceSupplyOrFetch
Retrieval of associated EngmntProjRsceSup entities (one to many). This corresponds to the OData navigation property to_ResourceSupply.If the navigation property to_ResourceSupply of a queried EngmntProjRsceDmnd 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 EngmntProjRsceSup 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.
-
getResourceSupplyIfPresent
Retrieval of associated EngmntProjRsceSup entities (one to many). This corresponds to the OData navigation property to_ResourceSupply.If the navigation property for an entity EngmntProjRsceDmnd 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_ResourceSupply is already loaded, the result will
contain the EngmntProjRsceSup entities. If not, an
Optionwith result stateemptyis returned.
-
setResourceSupply
Overwrites the list of associated EngmntProjRsceSup entities for the loaded navigation property to_ResourceSupply.If the navigation property to_ResourceSupply of a queried EngmntProjRsceDmnd 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 EngmntProjRsceSup entities.
-
addResourceSupply
Adds elements to the list of associated EngmntProjRsceSup entities. This corresponds to the OData navigation property to_ResourceSupply.If the navigation property to_ResourceSupply of a queried EngmntProjRsceDmnd 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 EngmntProjRsceSup entities.
-
builder
-
getWorkPackage
(Key Field) Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: WorkPackage
- Returns:
- Work Package ID
-
getResourceDemand
(Key Field) Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: ResourceDemand
- Returns:
- Resource Demand ID
-
getVersion
(Key Field) Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: Version
- Returns:
- Plan Version ID
-
getEngagementProject
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EngagementProject
- Returns:
- Engagement Project ID
-
getWorkItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WorkItem
- Returns:
- Work Item ID
-
getBillingControlCategory
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillingControlCategory
- Returns:
- Billing Control Category
-
getDeliveryOrganization
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DeliveryOrganization
- Returns:
- Delivery Organization
-
getEngagementProjectResourceType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EngagementProjectResourceType
- Returns:
- Resource Type ID
-
getEngagementProjectResource
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: EngagementProjectResource
- Returns:
- Resource ID
-
getWorkforcePersonUserID
Constraints: Not nullable, Maximum length: 100Original property name from the Odata EDM: WorkforcePersonUserID
- Returns:
- User ID
-
getCountry2DigitISOCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Country2DigitISOCode
- Returns:
- Country/Region
-
getKeyDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: KeyDate
- Returns:
- Date
-
getPersonWorkAgreement
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: PersonWorkAgreement
- Returns:
- Personnel Number
-
getResourceDemandStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ResourceDemandStatus
- Returns:
- Assignment Status for a Resource Demand
-
getUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Returns:
- Unit of Measure
-
getQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: Quantity
- Returns:
- The quantity contained in this entity.
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Plan Currency
-
getDemandCostAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: DemandCostAmt
- Returns:
- Demand Cost Amount
-
getDemandRevAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: DemandRevAmt
- Returns:
- Demand Revenue Amount
-
toString
- Overrides:
toStringin classVdmObject<EngmntProjRsceDmnd>
-
equals
- Overrides:
equalsin classVdmEntity<EngmntProjRsceDmnd>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EngmntProjRsceDmnd>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EngmntProjRsceDmnd>
-