Class EngmntProjRsceSupDistr
Original entity name from the Odata EDM: A_EngmntProjRsceSupDistrType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of EngmntProjRsceSupDistr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EngmntProjRsceSupDistrSelectableSelector for all available fields of EngmntProjRsceSupDistr.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the CalendarMonth field to query operations.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the CalendarYear field to query operations.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the Currency field to query operations.static final EngmntProjRsceSupDistrField<BigDecimal>Use with available fluent helpers to apply the Quantity field to query operations.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the ResourceDemand field to query operations.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the ResourceSupply field to query operations.static final EngmntProjRsceSupDistrField<BigDecimal>Use with available fluent helpers to apply the SupplyCostAmt field to query operations.static final EngmntProjRsceSupDistrField<BigDecimal>Use with available fluent helpers to apply the SupplyRevnAmt field to query operations.static final EngmntProjRsceSupDistrOneToOneLink<EngmntProjRsceSup>Use with available fluent helpers to apply the to_ResourceSupply navigation property to query operations.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the UnitOfMeasure field to query operations.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the Version field to query operations.static final EngmntProjRsceSupDistrField<String>Use with available fluent helpers to apply the WorkPackage field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionEngmntProjRsceSupDistr(String workPackage, String resourceDemand, String resourceSupply, String version, String calendarMonth, String calendarYear, String unitOfMeasure, String currency, BigDecimal quantity, BigDecimal supplyCostAmt, BigDecimal supplyRevnAmt, EngmntProjRsceSup toResourceSupply) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the EngmntProjRsceSup entity (one to one) associated with this entity.static <T,DomainT>
EngmntProjRsceSupDistrField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> EngmntProjRsceSupDistrField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 5protected Stringprotected StringgetKey()Constraints: Not nullable, Precision: 15, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 24(Key Field) Constraints: Not nullable, Maximum length: 24io.vavr.control.Option<EngmntProjRsceSup>Retrieval of associated EngmntProjRsceSup entity (one to one).Retrieval of associated EngmntProjRsceSup entity (one to one).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: 28(Key Field) Constraints: Not nullable, Maximum length: 50inthashCode()voidsetCalendarMonth(String calendarMonth) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetCalendarYear(String calendarYear) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCurrency(String currency) Constraints: Not nullable, Maximum length: 5voidsetQuantity(BigDecimal quantity) Constraints: Not nullable, Precision: 15, Scale: 3voidsetResourceDemand(String resourceDemand) (Key Field) Constraints: Not nullable, Maximum length: 24voidOverwrites the associated EngmntProjRsceSup entity for the loaded navigation property to_ResourceSupply.voidsetResourceSupply(String resourceSupply) (Key Field) Constraints: Not nullable, Maximum length: 24protected 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: 28voidsetWorkPackage(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 EngmntProjRsceSupDistr. -
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. -
CALENDAR_MONTH
Use with available fluent helpers to apply the CalendarMonth field to query operations. -
CALENDAR_YEAR
Use with available fluent helpers to apply the CalendarYear 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_SUPPLY
Use with available fluent helpers to apply the to_ResourceSupply navigation property to query operations.
-
-
Constructor Details
-
EngmntProjRsceSupDistr
public EngmntProjRsceSupDistr() -
EngmntProjRsceSupDistr
public EngmntProjRsceSupDistr(@Nullable String workPackage, @Nullable String resourceDemand, @Nullable String resourceSupply, @Nullable String version, @Nullable String calendarMonth, @Nullable String calendarYear, @Nullable String unitOfMeasure, @Nullable String currency, @Nullable BigDecimal quantity, @Nullable BigDecimal supplyCostAmt, @Nullable BigDecimal supplyRevnAmt, @Nullable EngmntProjRsceSup toResourceSupply)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EngmntProjRsceSupDistr>
-
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
-
setCalendarMonth
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CalendarMonth
- Parameters:
calendarMonth- Calendar Month
-
setCalendarYear
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CalendarYear
- Parameters:
calendarYear- Calendar Year
-
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- Total Quantity
-
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<EngmntProjRsceSupDistr>
-
getKey
- Overrides:
getKeyin classVdmObject<EngmntProjRsceSupDistr>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EngmntProjRsceSupDistr>
-
fromMap
- Overrides:
fromMapin classVdmObject<EngmntProjRsceSupDistr>
-
field
@Nonnull public static <T> EngmntProjRsceSupDistrField<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> EngmntProjRsceSupDistrField<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<EngmntProjRsceSupDistr>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<EngmntProjRsceSupDistr>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<EngmntProjRsceSupDistr>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EngmntProjRsceSupDistr>
-
fetchResourceSupply
Fetches the EngmntProjRsceSup entity (one to one) 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:
- The single associated EngmntProjRsceSup 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.
-
getResourceSupplyOrFetch
Retrieval of associated EngmntProjRsceSup entity (one to one). This corresponds to the OData navigation property to_ResourceSupply.If the navigation property to_ResourceSupply of a queried EngmntProjRsceSupDistr 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 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.
-
getResourceSupplyIfPresent
Retrieval of associated EngmntProjRsceSup entity (one to one). This corresponds to the OData navigation property to_ResourceSupply.If the navigation property for an entity EngmntProjRsceSupDistr 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 entity. If not, an
Optionwith result stateemptyis returned.
-
setResourceSupply
Overwrites the associated EngmntProjRsceSup entity for the loaded navigation property to_ResourceSupply.- Parameters:
value- New EngmntProjRsceSup entity.
-
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
-
getCalendarMonth
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CalendarMonth
- Returns:
- Calendar Month
-
getCalendarYear
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CalendarYear
- Returns:
- Calendar Year
-
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:
- Total Quantity
-
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<EngmntProjRsceSupDistr>
-
equals
- Overrides:
equalsin classVdmEntity<EngmntProjRsceSupDistr>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EngmntProjRsceSupDistr>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EngmntProjRsceSupDistr>
-