public class EngmntProjRsceDmnd extends VdmEntity<EngmntProjRsceDmnd>
Original entity name from the Odata EDM: A_EngmntProjRsceDmndType
Modifier and Type | Class and Description |
---|---|
static class |
EngmntProjRsceDmnd.EngmntProjRsceDmndBuilder
Helper class to allow for fluent creation of EngmntProjRsceDmnd instances.
|
Modifier and Type | Field and Description |
---|---|
static EngmntProjRsceDmndSelectable |
ALL_FIELDS
Selector for all available fields of EngmntProjRsceDmnd.
|
static EngmntProjRsceDmndField<String> |
BILLING_CONTROL_CATEGORY
Use with available fluent helpers to apply the BillingControlCategory field to query operations.
|
static EngmntProjRsceDmndField<String> |
COUNTRY2_DIGIT_ISO_CODE
Use with available fluent helpers to apply the Country2DigitISOCode field to query operations.
|
static EngmntProjRsceDmndField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static EngmntProjRsceDmndField<String> |
DELIVERY_ORGANIZATION
Use with available fluent helpers to apply the DeliveryOrganization field to query operations.
|
static EngmntProjRsceDmndField<BigDecimal> |
DEMAND_COST_AMT
Use with available fluent helpers to apply the DemandCostAmt field to query operations.
|
static EngmntProjRsceDmndField<BigDecimal> |
DEMAND_REV_AMT
Use with available fluent helpers to apply the DemandRevAmt field to query operations.
|
static EngmntProjRsceDmndField<String> |
ENGAGEMENT_PROJECT
Use with available fluent helpers to apply the EngagementProject field to query operations.
|
static EngmntProjRsceDmndField<String> |
ENGAGEMENT_PROJECT_RESOURCE
Use with available fluent helpers to apply the EngagementProjectResource field to query operations.
|
static EngmntProjRsceDmndField<String> |
ENGAGEMENT_PROJECT_RESOURCE_TYPE
Use with available fluent helpers to apply the EngagementProjectResourceType field to query operations.
|
static EngmntProjRsceDmndField<LocalDateTime> |
KEY_DATE
Use with available fluent helpers to apply the KeyDate field to query operations.
|
static EngmntProjRsceDmndField<String> |
PERSON_WORK_AGREEMENT
Use with available fluent helpers to apply the PersonWorkAgreement field to query operations.
|
static EngmntProjRsceDmndField<BigDecimal> |
QUANTITY
Use with available fluent helpers to apply the Quantity field to query operations.
|
static EngmntProjRsceDmndField<String> |
RESOURCE_DEMAND
Use with available fluent helpers to apply the ResourceDemand field to query operations.
|
static EngmntProjRsceDmndField<String> |
RESOURCE_DEMAND_STATUS
Use with available fluent helpers to apply the ResourceDemandStatus field to query operations.
|
static EngmntProjRsceDmndLink<EngmntProjRsceDmndDistr> |
TO_RESOURCE_DEMAND_DISTRIBUTION
Use with available fluent helpers to apply the to_ResourceDemandDistribution navigation property to query
operations.
|
static EngmntProjRsceDmndOneToOneLink<EngmntProjRsceDmndSkill> |
TO_RESOURCE_DEMAND_SKILLS
Use with available fluent helpers to apply the to_ResourceDemandSkills navigation property to query
operations.
|
static EngmntProjRsceDmndLink<EngmntProjRsceSup> |
TO_RESOURCE_SUPPLY
Use with available fluent helpers to apply the to_ResourceSupply navigation property to query operations.
|
static EngmntProjRsceDmndField<String> |
UNIT_OF_MEASURE
Use with available fluent helpers to apply the UnitOfMeasure field to query operations.
|
static EngmntProjRsceDmndField<String> |
VERSION
Use with available fluent helpers to apply the Version field to query operations.
|
static EngmntProjRsceDmndField<String> |
WORK_ITEM
Use with available fluent helpers to apply the WorkItem field to query operations.
|
static EngmntProjRsceDmndField<String> |
WORK_PACKAGE
Use with available fluent helpers to apply the WorkPackage field to query operations.
|
static EngmntProjRsceDmndField<String> |
WORKFORCE_PERSON_USER_ID
Use with available fluent helpers to apply the WorkforcePersonUserID field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
EngmntProjRsceDmnd() |
EngmntProjRsceDmnd(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) |
Modifier and Type | Method and Description |
---|---|
void |
addResourceDemandDistribution(EngmntProjRsceDmndDistr... entity)
Adds elements to the list of associated EngmntProjRsceDmndDistr entities.
|
void |
addResourceSupply(EngmntProjRsceSup... entity)
Adds elements to the list of associated EngmntProjRsceSup entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static EngmntProjRsceDmnd.EngmntProjRsceDmndBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<EngmntProjRsceDmndDistr> |
fetchResourceDemandDistribution()
Fetches the EngmntProjRsceDmndDistr entities (one to many) associated with this entity.
|
EngmntProjRsceDmndSkill |
fetchResourceDemandSkills()
Fetches the EngmntProjRsceDmndSkill entity (one to one) associated with this entity.
|
List<EngmntProjRsceSup> |
fetchResourceSupply()
Fetches the EngmntProjRsceSup entities (one to many) associated with this entity.
|
static <T> EngmntProjRsceDmndField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBillingControlCategory()
Constraints: Not nullable, Maximum length: 8
|
String |
getCountry2DigitISOCode()
Constraints: Not nullable, Maximum length: 2
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getDeliveryOrganization()
Constraints: Not nullable, Maximum length: 5
|
BigDecimal |
getDemandCostAmt()
Constraints: Not nullable, Precision: 18, Scale: 3
|
BigDecimal |
getDemandRevAmt()
Constraints: Not nullable, Precision: 18, Scale: 3
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getEngagementProject()
Constraints: Not nullable, Maximum length: 40
|
String |
getEngagementProjectResource()
Constraints: Not nullable, Maximum length: 40
|
String |
getEngagementProjectResourceType()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getKeyDate()
Constraints: Not nullable, Precision: 0
|
String |
getPersonWorkAgreement()
Constraints: Not nullable, Maximum length: 8
|
BigDecimal |
getQuantity()
Constraints: Not nullable, Precision: 15, Scale: 3
|
String |
getResourceDemand()
(Key Field) Constraints: Not nullable, Maximum length: 24
|
io.vavr.control.Option<List<EngmntProjRsceDmndDistr>> |
getResourceDemandDistributionIfPresent()
Retrieval of associated EngmntProjRsceDmndDistr entities (one to many).
|
List<EngmntProjRsceDmndDistr> |
getResourceDemandDistributionOrFetch()
Retrieval of associated EngmntProjRsceDmndDistr entities (one to many).
|
io.vavr.control.Option<EngmntProjRsceDmndSkill> |
getResourceDemandSkillsIfPresent()
Retrieval of associated EngmntProjRsceDmndSkill entity (one to one).
|
EngmntProjRsceDmndSkill |
getResourceDemandSkillsOrFetch()
Retrieval of associated EngmntProjRsceDmndSkill entity (one to one).
|
String |
getResourceDemandStatus()
Constraints: Not nullable, Maximum length: 1
|
io.vavr.control.Option<List<EngmntProjRsceSup>> |
getResourceSupplyIfPresent()
Retrieval of associated EngmntProjRsceSup entities (one to many).
|
List<EngmntProjRsceSup> |
getResourceSupplyOrFetch()
Retrieval of associated EngmntProjRsceSup entities (one to many).
|
Class<EngmntProjRsceDmnd> |
getType() |
String |
getUnitOfMeasure()
Constraints: Not nullable, Maximum length: 3
|
String |
getVersion()
(Key Field) Constraints: Not nullable, Maximum length: 28
|
String |
getWorkforcePersonUserID()
Constraints: Not nullable, Maximum length: 100
|
String |
getWorkItem()
Constraints: Not nullable, Maximum length: 10
|
String |
getWorkPackage()
(Key Field) Constraints: Not nullable, Maximum length: 50
|
int |
hashCode() |
void |
setBillingControlCategory(String billingControlCategory)
Constraints: Not nullable, Maximum length: 8
|
void |
setCountry2DigitISOCode(String country2DigitISOCode)
Constraints: Not nullable, Maximum length: 2
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setDeliveryOrganization(String deliveryOrganization)
Constraints: Not nullable, Maximum length: 5
|
void |
setDemandCostAmt(BigDecimal demandCostAmt)
Constraints: Not nullable, Precision: 18, Scale: 3
|
void |
setDemandRevAmt(BigDecimal demandRevAmt)
Constraints: Not nullable, Precision: 18, Scale: 3
|
void |
setEngagementProject(String engagementProject)
Constraints: Not nullable, Maximum length: 40
|
void |
setEngagementProjectResource(String engagementProjectResource)
Constraints: Not nullable, Maximum length: 40
|
void |
setEngagementProjectResourceType(String engagementProjectResourceType)
Constraints: Not nullable, Maximum length: 4
|
void |
setKeyDate(LocalDateTime keyDate)
Constraints: Not nullable, Precision: 0
|
void |
setPersonWorkAgreement(String personWorkAgreement)
Constraints: Not nullable, Maximum length: 8
|
void |
setQuantity(BigDecimal quantity)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setResourceDemand(String resourceDemand)
(Key Field) Constraints: Not nullable, Maximum length: 24
|
void |
setResourceDemandDistribution(List<EngmntProjRsceDmndDistr> value)
Overwrites the list of associated EngmntProjRsceDmndDistr entities for the loaded navigation property
to_ResourceDemandDistribution.
|
void |
setResourceDemandSkills(EngmntProjRsceDmndSkill value)
Overwrites the associated EngmntProjRsceDmndSkill entity for the loaded navigation property
to_ResourceDemandSkills.
|
void |
setResourceDemandStatus(String resourceDemandStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setResourceSupply(List<EngmntProjRsceSup> value)
Overwrites the list of associated EngmntProjRsceSup entities for the loaded navigation property
to_ResourceSupply.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setUnitOfMeasure(String unitOfMeasure)
Constraints: Not nullable, Maximum length: 3
|
void |
setVersion(String version)
(Key Field) Constraints: Not nullable, Maximum length: 28
|
void |
setWorkforcePersonUserID(String workforcePersonUserID)
Constraints: Not nullable, Maximum length: 100
|
void |
setWorkItem(String workItem)
Constraints: Not nullable, Maximum length: 10
|
void |
setWorkPackage(String workPackage)
(Key Field) Constraints: Not nullable, Maximum length: 50
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final EngmntProjRsceDmndSelectable ALL_FIELDS
public static final EngmntProjRsceDmndField<String> WORK_PACKAGE
public static final EngmntProjRsceDmndField<String> RESOURCE_DEMAND
public static final EngmntProjRsceDmndField<String> VERSION
public static final EngmntProjRsceDmndField<String> ENGAGEMENT_PROJECT
public static final EngmntProjRsceDmndField<String> WORK_ITEM
public static final EngmntProjRsceDmndField<String> BILLING_CONTROL_CATEGORY
public static final EngmntProjRsceDmndField<String> DELIVERY_ORGANIZATION
public static final EngmntProjRsceDmndField<String> ENGAGEMENT_PROJECT_RESOURCE_TYPE
public static final EngmntProjRsceDmndField<String> ENGAGEMENT_PROJECT_RESOURCE
public static final EngmntProjRsceDmndField<String> WORKFORCE_PERSON_USER_ID
public static final EngmntProjRsceDmndField<String> COUNTRY2_DIGIT_ISO_CODE
public static final EngmntProjRsceDmndField<LocalDateTime> KEY_DATE
public static final EngmntProjRsceDmndField<String> PERSON_WORK_AGREEMENT
public static final EngmntProjRsceDmndField<String> RESOURCE_DEMAND_STATUS
public static final EngmntProjRsceDmndField<String> UNIT_OF_MEASURE
public static final EngmntProjRsceDmndField<BigDecimal> QUANTITY
public static final EngmntProjRsceDmndField<String> CURRENCY
public static final EngmntProjRsceDmndField<BigDecimal> DEMAND_COST_AMT
public static final EngmntProjRsceDmndField<BigDecimal> DEMAND_REV_AMT
public static final EngmntProjRsceDmndLink<EngmntProjRsceDmndDistr> TO_RESOURCE_DEMAND_DISTRIBUTION
public static final EngmntProjRsceDmndOneToOneLink<EngmntProjRsceDmndSkill> TO_RESOURCE_DEMAND_SKILLS
public static final EngmntProjRsceDmndLink<EngmntProjRsceSup> TO_RESOURCE_SUPPLY
public 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)
@Nonnull public Class<EngmntProjRsceDmnd> getType()
getType
in class VdmObject<EngmntProjRsceDmnd>
public void setWorkPackage(@Nullable String workPackage)
Original property name from the Odata EDM: WorkPackage
workPackage
- Work Package IDpublic void setResourceDemand(@Nullable String resourceDemand)
Original property name from the Odata EDM: ResourceDemand
In a work package with four demands, the resource demand IDs are 0010, 0011, 0012, and 0013.
resourceDemand
- A number that identifies a demand in a work package. For each work package, the system generates IDs
beginning with 0010 and increases the number by 1.public void setVersion(@Nullable String version)
Original property name from the Odata EDM: Version
version
- Stores details of a project plan in one of two versions - current (1) or baseline (2).public void setEngagementProject(@Nullable String engagementProject)
Original property name from the Odata EDM: EngagementProject
engagementProject
- Identifies a customer or internal project.public void setWorkItem(@Nullable String workItem)
Original property name from the Odata EDM: WorkItem
You assign work items to a work package from a predefined list of work items or you create user-defined ones in a work package. Thereafter, you assign them to resources to plan activities for the team.You define work items in the configuration activity Define Work Items.
workItem
- Defines a specific activity performed in a work package.public void setBillingControlCategory(@Nullable String billingControlCategory)
Original property name from the Odata EDM: BillingControlCategory
billingControlCategory
- Billing Control Categorypublic void setDeliveryOrganization(@Nullable String deliveryOrganization)
Original property name from the Odata EDM: DeliveryOrganization
deliveryOrganization
- Represents the organization that is either responsible for a project (service organization) or
provides resources that can be assigned to projects (delivery organization).public void setEngagementProjectResourceType(@Nullable String engagementProjectResourceType)
Original property name from the Odata EDM: EngagementProjectResourceType
You may use the following resource types:Team (0ACT)Additional Resources (0ADL)Services (0SRV)Expenses (0EXP)
engagementProjectResourceType
- Indicates the resource types used to plan activities in a work package.public void setEngagementProjectResource(@Nullable String engagementProjectResource)
Original property name from the Odata EDM: EngagementProjectResource
You must map resources to resource types in the configuration activity Map Resources to Resource Types.
engagementProjectResource
- Indicates resources configured for use in customer and internal projects. Resources must be assigned
to resource types before they can be used to plan work packages.public void setWorkforcePersonUserID(@Nullable String workforcePersonUserID)
Original property name from the Odata EDM: WorkforcePersonUserID
workforcePersonUserID
- Indicates the unique identifier assigned to a user.public void setCountry2DigitISOCode(@Nullable String country2DigitISOCode)
Original property name from the Odata EDM: Country2DigitISOCode
country2DigitISOCode
- Indicates the country/region associated with the workforce assignment.public void setKeyDate(@Nullable LocalDateTime keyDate)
Original property name from the Odata EDM: KeyDate
Date in the form YYYYMMDD (where Y = year, M = month, D = day)19920301
keyDate
- Date (YYYYMMDD)public void setPersonWorkAgreement(@Nullable String personWorkAgreement)
Original property name from the Odata EDM: PersonWorkAgreement
personWorkAgreement
- The personnel number is the only unique key within a client for identifying the employee. It allows
you to access the screens for display and maintenance of employee master data and working time data
(infotypes).public void setResourceDemandStatus(@Nullable String resourceDemandStatus)
Original property name from the Odata EDM: ResourceDemandStatus
This field stores one of the following two statuses:P (Pending) - indicates that a resource demand has not been completely fulfilled by one or more resource assignments or suppliesC (Complete) - indicates that a resource demand has been fulfilled by one or more resource assignments or supplies
resourceDemandStatus
- Indicates whether a resource demand has been fulfilled.public void setUnitOfMeasure(@Nullable String unitOfMeasure)
Original property name from the Odata EDM: UnitOfMeasure
unitOfMeasure
- Unit, in which the corresponding quantity is measured.public void setQuantity(@Nullable BigDecimal quantity)
Original property name from the Odata EDM: Quantity
quantity
- The quantity to set.public void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
The system defaults the plan currency according to the following conditions and priority:If a project currency is defined at the level of the commercial project, the system defaults this value as the plan currency.If a project currency is not defined, the system picks the currency defined in the BAdI implementation /CPD/PFP_BADI_PLAN_OBJECT.If a currency is not defined either in the commercial project or in the BAdI implementation (/CPD/PFP_BADI_PLAN_OBJECT), the system defaults picks the value from the plan scenario of the financial plan.If a currency is not defined either in the commercial project or in the BAdI implementation (/CPD/PFP_BADI_PLAN_OBJECT), or in the plan scenario, then the system picks the value from the client currency.The system stores plan and forecast data in this currency.If you plan data in a transaction currency, which is different from the plan currency, the system translates it to the plan currency and stores the converted value.
currency
- Defaultpublic void setDemandCostAmt(@Nullable BigDecimal demandCostAmt)
Original property name from the Odata EDM: DemandCostAmt
demandCostAmt
- Demand Cost Amountpublic void setDemandRevAmt(@Nullable BigDecimal demandRevAmt)
Original property name from the Odata EDM: DemandRevAmt
demandRevAmt
- Demand Revenue Amountprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<EngmntProjRsceDmnd>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<EngmntProjRsceDmnd>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<EngmntProjRsceDmnd>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<EngmntProjRsceDmnd>
@Nonnull public static <T> EngmntProjRsceDmndField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> EngmntProjRsceDmndField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<EngmntProjRsceDmnd>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<EngmntProjRsceDmnd>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<EngmntProjRsceDmnd>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<EngmntProjRsceDmnd>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<EngmntProjRsceDmnd>
@Nonnull public List<EngmntProjRsceDmndDistr> fetchResourceDemandDistribution() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<EngmntProjRsceDmndDistr> getResourceDemandDistributionOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<EngmntProjRsceDmndDistr>> getResourceDemandDistributionIfPresent()
If the navigation property for an entity EngmntProjRsceDmnd has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with
result state empty
is returned.public void setResourceDemandDistribution(@Nonnull List<EngmntProjRsceDmndDistr> value)
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.
value
- List of EngmntProjRsceDmndDistr entities.public void addResourceDemandDistribution(EngmntProjRsceDmndDistr... entity)
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.
entity
- Array of EngmntProjRsceDmndDistr entities.@Nullable public EngmntProjRsceDmndSkill fetchResourceDemandSkills() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public EngmntProjRsceDmndSkill getResourceDemandSkillsOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<EngmntProjRsceDmndSkill> getResourceDemandSkillsIfPresent()
If the navigation property for an entity EngmntProjRsceDmnd has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setResourceDemandSkills(EngmntProjRsceDmndSkill value)
value
- New EngmntProjRsceDmndSkill entity.@Nonnull public List<EngmntProjRsceSup> fetchResourceSupply() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<EngmntProjRsceSup> getResourceSupplyOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<EngmntProjRsceSup>> getResourceSupplyIfPresent()
If the navigation property for an entity EngmntProjRsceDmnd has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setResourceSupply(@Nonnull List<EngmntProjRsceSup> value)
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.
value
- List of EngmntProjRsceSup entities.public void addResourceSupply(EngmntProjRsceSup... entity)
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.
entity
- Array of EngmntProjRsceSup entities.@Nonnull public static EngmntProjRsceDmnd.EngmntProjRsceDmndBuilder builder()
@Nullable public String getWorkPackage()
Original property name from the Odata EDM: WorkPackage
@Nullable public String getResourceDemand()
Original property name from the Odata EDM: ResourceDemand
In a work package with four demands, the resource demand IDs are 0010, 0011, 0012, and 0013.
@Nullable public String getVersion()
Original property name from the Odata EDM: Version
@Nullable public String getEngagementProject()
Original property name from the Odata EDM: EngagementProject
@Nullable public String getWorkItem()
Original property name from the Odata EDM: WorkItem
You assign work items to a work package from a predefined list of work items or you create user-defined ones in a work package. Thereafter, you assign them to resources to plan activities for the team.You define work items in the configuration activity Define Work Items.
@Nullable public String getBillingControlCategory()
Original property name from the Odata EDM: BillingControlCategory
@Nullable public String getDeliveryOrganization()
Original property name from the Odata EDM: DeliveryOrganization
@Nullable public String getEngagementProjectResourceType()
Original property name from the Odata EDM: EngagementProjectResourceType
You may use the following resource types:Team (0ACT)Additional Resources (0ADL)Services (0SRV)Expenses (0EXP)
@Nullable public String getEngagementProjectResource()
Original property name from the Odata EDM: EngagementProjectResource
You must map resources to resource types in the configuration activity Map Resources to Resource Types.
@Nullable public String getWorkforcePersonUserID()
Original property name from the Odata EDM: WorkforcePersonUserID
@Nullable public String getCountry2DigitISOCode()
Original property name from the Odata EDM: Country2DigitISOCode
@Nullable public LocalDateTime getKeyDate()
Original property name from the Odata EDM: KeyDate
Date in the form YYYYMMDD (where Y = year, M = month, D = day)19920301
@Nullable public String getPersonWorkAgreement()
Original property name from the Odata EDM: PersonWorkAgreement
@Nullable public String getResourceDemandStatus()
Original property name from the Odata EDM: ResourceDemandStatus
This field stores one of the following two statuses:P (Pending) - indicates that a resource demand has not been completely fulfilled by one or more resource assignments or suppliesC (Complete) - indicates that a resource demand has been fulfilled by one or more resource assignments or supplies
@Nullable public String getUnitOfMeasure()
Original property name from the Odata EDM: UnitOfMeasure
@Nullable public BigDecimal getQuantity()
Original property name from the Odata EDM: Quantity
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
The system defaults the plan currency according to the following conditions and priority:If a project currency is defined at the level of the commercial project, the system defaults this value as the plan currency.If a project currency is not defined, the system picks the currency defined in the BAdI implementation /CPD/PFP_BADI_PLAN_OBJECT.If a currency is not defined either in the commercial project or in the BAdI implementation (/CPD/PFP_BADI_PLAN_OBJECT), the system defaults picks the value from the plan scenario of the financial plan.If a currency is not defined either in the commercial project or in the BAdI implementation (/CPD/PFP_BADI_PLAN_OBJECT), or in the plan scenario, then the system picks the value from the client currency.The system stores plan and forecast data in this currency.If you plan data in a transaction currency, which is different from the plan currency, the system translates it to the plan currency and stores the converted value.
@Nullable public BigDecimal getDemandCostAmt()
Original property name from the Odata EDM: DemandCostAmt
@Nullable public BigDecimal getDemandRevAmt()
Original property name from the Odata EDM: DemandRevAmt
@Nonnull public String toString()
toString
in class VdmObject<EngmntProjRsceDmnd>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<EngmntProjRsceDmnd>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<EngmntProjRsceDmnd>
public int hashCode()
hashCode
in class VdmObject<EngmntProjRsceDmnd>
Copyright © 2021 SAP SE. All rights reserved.