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) |
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() |
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() |
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() |
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) |
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() |
fetchFieldAsList, fetchFieldAsSingle, 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
resourceDemand
- Resource Demand IDpublic void setVersion(@Nullable String version)
Original property name from the Odata EDM: Version
version
- Plan Version IDpublic void setEngagementProject(@Nullable String engagementProject)
Original property name from the Odata EDM: EngagementProject
engagementProject
- Engagement Project IDpublic void setWorkItem(@Nullable String workItem)
Original property name from the Odata EDM: WorkItem
workItem
- Work Item IDpublic 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
- Delivery Organizationpublic void setEngagementProjectResourceType(@Nullable String engagementProjectResourceType)
Original property name from the Odata EDM: EngagementProjectResourceType
engagementProjectResourceType
- Resource Type IDpublic void setEngagementProjectResource(@Nullable String engagementProjectResource)
Original property name from the Odata EDM: EngagementProjectResource
engagementProjectResource
- Resource IDpublic void setWorkforcePersonUserID(@Nullable String workforcePersonUserID)
Original property name from the Odata EDM: WorkforcePersonUserID
workforcePersonUserID
- User IDpublic void setCountry2DigitISOCode(@Nullable String country2DigitISOCode)
Original property name from the Odata EDM: Country2DigitISOCode
country2DigitISOCode
- Country/Regionpublic void setKeyDate(@Nullable LocalDateTime keyDate)
Original property name from the Odata EDM: KeyDate
keyDate
- Datepublic void setPersonWorkAgreement(@Nullable String personWorkAgreement)
Original property name from the Odata EDM: PersonWorkAgreement
personWorkAgreement
- Personnel Numberpublic void setResourceDemandStatus(@Nullable String resourceDemandStatus)
Original property name from the Odata EDM: ResourceDemandStatus
resourceDemandStatus
- Assignment Status for a Resource Demandpublic void setUnitOfMeasure(@Nullable String unitOfMeasure)
Original property name from the Odata EDM: UnitOfMeasure
unitOfMeasure
- Unit of Measurepublic 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
currency
- Plan Currencypublic 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()
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()
getDestinationForFetch
in class VdmEntity<EngmntProjRsceDmnd>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
setServicePathForFetch
in class VdmEntity<EngmntProjRsceDmnd>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
attachToService
in class VdmEntity<EngmntProjRsceDmnd>
protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<EngmntProjRsceDmnd>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<EngmntProjRsceDmnd>
@Nonnull public List<EngmntProjRsceDmndDistr> fetchResourceDemandDistribution()
Please note: This method will not cache or persist the query results.
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.@Nonnull public List<EngmntProjRsceDmndDistr> getResourceDemandDistributionOrFetch()
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.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.@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()
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.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.@Nullable public EngmntProjRsceDmndSkill getResourceDemandSkillsOrFetch()
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.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.@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()
Please note: This method will not cache or persist the query results.
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.@Nonnull public List<EngmntProjRsceSup> getResourceSupplyOrFetch()
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.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.@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
@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
@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
@Nullable public String getEngagementProjectResource()
Original property name from the Odata EDM: EngagementProjectResource
@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
@Nullable public String getPersonWorkAgreement()
Original property name from the Odata EDM: PersonWorkAgreement
@Nullable public String getResourceDemandStatus()
Original property name from the Odata EDM: ResourceDemandStatus
@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
@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 VdmEntity<EngmntProjRsceDmnd>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<EngmntProjRsceDmnd>
public int hashCode()
hashCode
in class VdmEntity<EngmntProjRsceDmnd>
Copyright © 2022 SAP SE. All rights reserved.