Class EngmntProjRsceSup
Original entity name from the Odata EDM: A_EngmntProjRsceSupType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EngmntProjRsceSup instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EngmntProjRsceSupSelectableSelector for all available fields of EngmntProjRsceSup.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the Country2DigitISOCode field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the Currency field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the DeliveryOrganization field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the EngagementProject field to query operations.static final EngmntProjRsceSupField<LocalDateTime>Use with available fluent helpers to apply the KeyDate field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the PersonWorkAgreement field to query operations.static final EngmntProjRsceSupField<BigDecimal>Use with available fluent helpers to apply the Quantity field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the ResourceDemand field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the ResourceSupply field to query operations.static final EngmntProjRsceSupField<BigDecimal>Use with available fluent helpers to apply the SupplyCostAmt field to query operations.static final EngmntProjRsceSupField<BigDecimal>Use with available fluent helpers to apply the SupplyRevnAmt field to query operations.static final EngmntProjRsceSupOneToOneLink<EngmntProjRsceDmnd>Use with available fluent helpers to apply the to_ResourceDemand navigation property to query operations.static final EngmntProjRsceSupLink<EngmntProjRsceSupDistr>Use with available fluent helpers to apply the to_ResourceSupplyDistribution navigation property to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the UnitOfMeasure field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the Version field to query operations.static final EngmntProjRsceSupField<String>Use with available fluent helpers to apply the WorkPackage field to query operations.static final EngmntProjRsceSupField<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
ConstructorsConstructorDescriptionEngmntProjRsceSup(String workPackage, String resourceDemand, String resourceSupply, String version, String engagementProject, String deliveryOrganization, String workforcePersonUserID, String country2DigitISOCode, LocalDateTime keyDate, String personWorkAgreement, String unitOfMeasure, String currency, BigDecimal quantity, BigDecimal supplyCostAmt, BigDecimal supplyRevnAmt, EngmntProjRsceDmnd toResourceDemand, List<EngmntProjRsceSupDistr> toResourceSupplyDistribution) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated EngmntProjRsceSupDistr entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EngmntProjRsceDmnd entity (one to one) associated with this entity.Fetches the EngmntProjRsceSupDistr entities (one to many) associated with this entity.static <T,DomainT>
EngmntProjRsceSupField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EngmntProjRsceSupField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 5protected StringConstraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 40protected 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<EngmntProjRsceDmnd>Retrieval of associated EngmntProjRsceDmnd entity (one to one).Retrieval of associated EngmntProjRsceDmnd entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 24io.vavr.control.Option<List<EngmntProjRsceSupDistr>>Retrieval of associated EngmntProjRsceSupDistr entities (one to many).Retrieval of associated EngmntProjRsceSupDistr entities (one to many).Constraints: Not nullable, Precision: 18, Scale: 3Constraints: Not nullable, Precision: 18, Scale: 3getType()Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 28Constraints: Not nullable, Maximum length: 100(Key Field) Constraints: Not nullable, Maximum length: 50inthashCode()voidsetCountry2DigitISOCode(String country2DigitISOCode) Constraints: Not nullable, Maximum length: 2voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetDeliveryOrganization(String deliveryOrganization) Constraints: Not nullable, Maximum length: 5voidsetEngagementProject(String engagementProject) Constraints: Not nullable, Maximum length: 40voidsetKeyDate(LocalDateTime keyDate) Constraints: Not nullable, Precision: 0voidsetPersonWorkAgreement(String personWorkAgreement) Constraints: Not nullable, Maximum length: 8voidsetQuantity(BigDecimal quantity) Constraints: Not nullable, Precision: 15, Scale: 3voidOverwrites the associated EngmntProjRsceDmnd entity for the loaded navigation property to_ResourceDemand.voidsetResourceDemand(String resourceDemand) (Key Field) Constraints: Not nullable, Maximum length: 24voidsetResourceSupply(String resourceSupply) (Key Field) Constraints: Not nullable, Maximum length: 24voidOverwrites the list of associated EngmntProjRsceSupDistr entities for the loaded navigation property to_ResourceSupplyDistribution.protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSupplyCostAmt(BigDecimal supplyCostAmt) Constraints: Not nullable, Precision: 18, Scale: 3voidsetSupplyRevnAmt(BigDecimal supplyRevnAmt) Constraints: Not nullable, Precision: 18, Scale: 3voidsetUnitOfMeasure(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: 100voidsetWorkPackage(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 EngmntProjRsceSup. -
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. -
RESOURCE_SUPPLY
Use with available fluent helpers to apply the ResourceSupply 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. -
DELIVERY_ORGANIZATION
Use with available fluent helpers to apply the DeliveryOrganization 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. -
UNIT_OF_MEASURE
Use with available fluent helpers to apply the UnitOfMeasure field to query operations. -
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations. -
QUANTITY
Use with available fluent helpers to apply the Quantity field to query operations. -
SUPPLY_COST_AMT
Use with available fluent helpers to apply the SupplyCostAmt field to query operations. -
SUPPLY_REVN_AMT
Use with available fluent helpers to apply the SupplyRevnAmt field to query operations. -
TO_RESOURCE_DEMAND
Use with available fluent helpers to apply the to_ResourceDemand navigation property to query operations. -
TO_RESOURCE_SUPPLY_DISTRIBUTION
Use with available fluent helpers to apply the to_ResourceSupplyDistribution navigation property to query operations.
-
-
Constructor Details
-
EngmntProjRsceSup
public EngmntProjRsceSup() -
EngmntProjRsceSup
public EngmntProjRsceSup(@Nullable String workPackage, @Nullable String resourceDemand, @Nullable String resourceSupply, @Nullable String version, @Nullable String engagementProject, @Nullable String deliveryOrganization, @Nullable String workforcePersonUserID, @Nullable String country2DigitISOCode, @Nullable LocalDateTime keyDate, @Nullable String personWorkAgreement, @Nullable String unitOfMeasure, @Nullable String currency, @Nullable BigDecimal quantity, @Nullable BigDecimal supplyCostAmt, @Nullable BigDecimal supplyRevnAmt, @Nullable EngmntProjRsceDmnd toResourceDemand, List<EngmntProjRsceSupDistr> toResourceSupplyDistribution)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EngmntProjRsceSup>
-
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
-
setResourceSupply
(Key Field) Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: ResourceSupply
- Parameters:
resourceSupply- Resource Supply 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
-
setDeliveryOrganization
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DeliveryOrganization
- Parameters:
deliveryOrganization- Delivery Organization
-
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
-
setUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Parameters:
unitOfMeasure- Unit of Measure
-
setCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Parameters:
currency- Plan Currency
-
setQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: Quantity
- Parameters:
quantity- The quantity to set.
-
setSupplyCostAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: SupplyCostAmt
- Parameters:
supplyCostAmt- Supply Cost Amount
-
setSupplyRevnAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: SupplyRevnAmt
- Parameters:
supplyRevnAmt- Supply Revenue Amount
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EngmntProjRsceSup>
-
getKey
- Overrides:
getKeyin classVdmObject<EngmntProjRsceSup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EngmntProjRsceSup>
-
fromMap
- Overrides:
fromMapin classVdmObject<EngmntProjRsceSup>
-
field
@Nonnull public static <T> EngmntProjRsceSupField<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> EngmntProjRsceSupField<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<EngmntProjRsceSup>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EngmntProjRsceSup>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EngmntProjRsceSup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EngmntProjRsceSup>
-
fetchResourceDemand
Fetches the EngmntProjRsceDmnd entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ResourceDemand.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated EngmntProjRsceDmnd 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.
-
getResourceDemandOrFetch
Retrieval of associated EngmntProjRsceDmnd entity (one to one). This corresponds to the OData navigation property to_ResourceDemand.If the navigation property to_ResourceDemand of a queried EngmntProjRsceSup 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 EngmntProjRsceDmnd 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.
-
getResourceDemandIfPresent
Retrieval of associated EngmntProjRsceDmnd entity (one to one). This corresponds to the OData navigation property to_ResourceDemand.If the navigation property for an entity EngmntProjRsceSup 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_ResourceDemand is already loaded, the result will
contain the EngmntProjRsceDmnd entity. If not, an
Optionwith result stateemptyis returned.
-
setResourceDemand
Overwrites the associated EngmntProjRsceDmnd entity for the loaded navigation property to_ResourceDemand.- Parameters:
value- New EngmntProjRsceDmnd entity.
-
fetchResourceSupplyDistribution
Fetches the EngmntProjRsceSupDistr entities (one to many) associated with this entity. This corresponds to the OData navigation property to_ResourceSupplyDistribution.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated EngmntProjRsceSupDistr 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.
-
getResourceSupplyDistributionOrFetch
Retrieval of associated EngmntProjRsceSupDistr entities (one to many). This corresponds to the OData navigation property to_ResourceSupplyDistribution.If the navigation property to_ResourceSupplyDistribution of a queried EngmntProjRsceSup 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 EngmntProjRsceSupDistr 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.
-
getResourceSupplyDistributionIfPresent
@Nonnull public io.vavr.control.Option<List<EngmntProjRsceSupDistr>> getResourceSupplyDistributionIfPresent()Retrieval of associated EngmntProjRsceSupDistr entities (one to many). This corresponds to the OData navigation property to_ResourceSupplyDistribution.If the navigation property for an entity EngmntProjRsceSup 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_ResourceSupplyDistribution is already loaded, the
result will contain the EngmntProjRsceSupDistr entities. If not, an
Optionwith result stateemptyis returned.
-
setResourceSupplyDistribution
Overwrites the list of associated EngmntProjRsceSupDistr entities for the loaded navigation property to_ResourceSupplyDistribution.If the navigation property to_ResourceSupplyDistribution of a queried EngmntProjRsceSup 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 EngmntProjRsceSupDistr entities.
-
addResourceSupplyDistribution
Adds elements to the list of associated EngmntProjRsceSupDistr entities. This corresponds to the OData navigation property to_ResourceSupplyDistribution.If the navigation property to_ResourceSupplyDistribution of a queried EngmntProjRsceSup 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 EngmntProjRsceSupDistr 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
-
getResourceSupply
(Key Field) Constraints: Not nullable, Maximum length: 24Original property name from the Odata EDM: ResourceSupply
- Returns:
- Resource Supply 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
-
getDeliveryOrganization
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DeliveryOrganization
- Returns:
- Delivery Organization
-
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
-
getUnitOfMeasure
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: UnitOfMeasure
- Returns:
- Unit of Measure
-
getCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: Currency
- Returns:
- Plan Currency
-
getQuantity
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: Quantity
- Returns:
- The quantity contained in this entity.
-
getSupplyCostAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: SupplyCostAmt
- Returns:
- Supply Cost Amount
-
getSupplyRevnAmt
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: SupplyRevnAmt
- Returns:
- Supply Revenue Amount
-
toString
- Overrides:
toStringin classVdmObject<EngmntProjRsceSup>
-
equals
- Overrides:
equalsin classVdmEntity<EngmntProjRsceSup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EngmntProjRsceSup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EngmntProjRsceSup>
-