Class SrcgProjQtnDmndDistr
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnDmndDistr_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnDmndDistr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnDmndDistr>Selector for all available fields of SrcgProjQtnDmndDistr.static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.NumericDecimal<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>static final SimpleProperty.Guid<SrcgProjQtnDmndDistr>static final SimpleProperty.Guid<SrcgProjQtnDmndDistr>static final SimpleProperty.Guid<SrcgProjQtnDmndDistr>static final SimpleProperty.NumericDecimal<SrcgProjQtnDmndDistr>static final SimpleProperty.String<SrcgProjQtnDmndDistr>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnDmndDistrDets navigation property to query operations.static final NavigationProperty.Single<SrcgProjQtnDmndDistr,SrcgProjQtnItem> Use with available request builders to apply the _SrcgProjQtnItem navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSrcgProjQtnDmndDistr(UUID srcgProjQtnDmndDistrUUID, UUID sourcingProjectQuotationUUID, UUID srcgProjQtnItemUUID, String procurementProject, String procurementHubSourceSystem, String companyCode, String plant, BigDecimal maxAnnualRequestedQuantity, String requestedQuantityUnit, String requestedQuantityISOUnit, BigDecimal srcgProjQtnTotOfferedQuantity, String purchasingOrganization, String purchasingGroup, String storageLocation, String procmtHubPlantUniqueID, SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnDmndDistrDetails> to_SrcgProjQtnDmndDistrDets, SrcgProjQtnItem to_SrcgProjQtnItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjQtnDmndDistrDetails entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 4protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 13, Scale: 3getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullableio.vavr.control.Option<List<SrcgProjQtnDmndDistrDetails>>Retrieval of associated SrcgProjQtnDmndDistrDetails entities (one to many).(Key Field) Constraints: Not nullableio.vavr.control.Option<SrcgProjQtnItem>Retrieval of associated SrcgProjQtnItem entity (one to one).Constraints: Not nullableConstraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetMaxAnnualRequestedQuantity(BigDecimal maxAnnualRequestedQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidConstraints: Not nullable, Maximum length: 4voidsetProcmtHubPlantUniqueID(String procmtHubPlantUniqueID) Constraints: Not nullable, Maximum length: 30voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidsetProcurementProject(String procurementProject) Constraints: Not nullable, Maximum length: 10voidsetPurchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4voidsetRequestedQuantityISOUnit(String requestedQuantityISOUnit) Constraints: Not nullable, Maximum length: 3voidsetRequestedQuantityUnit(String requestedQuantityUnit) Constraints: Not nullable, Maximum length: 3voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjQtnDmndDistrDetails entities for the loaded navigation property _SrcgProjQtnDmndDistrDets.voidsetSrcgProjQtnDmndDistrUUID(UUID srcgProjQtnDmndDistrUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQtnItem.voidsetSrcgProjQtnItemUUID(UUID srcgProjQtnItemUUID) Constraints: Not nullablevoidsetSrcgProjQtnTotOfferedQuantity(BigDecimal srcgProjQtnTotOfferedQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetStorageLocation(String storageLocation) Constraints: Not nullable, Maximum length: 4toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 SrcgProjQtnDmndDistr. -
SRCG_PROJ_QTN_DMND_DISTR_UUID
-
SOURCING_PROJECT_QUOTATION_UUID
-
SRCG_PROJ_QTN_ITEM_UUID
-
PROCUREMENT_PROJECT
-
PROCUREMENT_HUB_SOURCE_SYSTEM
-
COMPANY_CODE
-
PLANT
-
MAX_ANNUAL_REQUESTED_QUANTITY
public static final SimpleProperty.NumericDecimal<SrcgProjQtnDmndDistr> MAX_ANNUAL_REQUESTED_QUANTITY -
REQUESTED_QUANTITY_UNIT
-
REQUESTED_QUANTITY_ISO_UNIT
-
SRCG_PROJ_QTN_TOT_OFFERED_QUANTITY
public static final SimpleProperty.NumericDecimal<SrcgProjQtnDmndDistr> SRCG_PROJ_QTN_TOT_OFFERED_QUANTITY -
PURCHASING_ORGANIZATION
-
PURCHASING_GROUP
-
STORAGE_LOCATION
-
PROCMT_HUB_PLANT_UNIQUE_ID
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnDmndDistr,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QTN_DMND_DISTR_DETS
public static final NavigationProperty.Collection<SrcgProjQtnDmndDistr,SrcgProjQtnDmndDistrDetails> TO__SRCG_PROJ_QTN_DMND_DISTR_DETSUse with available request builders to apply the _SrcgProjQtnDmndDistrDets navigation property to query operations. -
TO__SRCG_PROJ_QTN_ITEM
public static final NavigationProperty.Single<SrcgProjQtnDmndDistr,SrcgProjQtnItem> TO__SRCG_PROJ_QTN_ITEMUse with available request builders to apply the _SrcgProjQtnItem navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnDmndDistr
public SrcgProjQtnDmndDistr() -
SrcgProjQtnDmndDistr
public SrcgProjQtnDmndDistr(@Nullable UUID srcgProjQtnDmndDistrUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable UUID srcgProjQtnItemUUID, @Nullable String procurementProject, @Nullable String procurementHubSourceSystem, @Nullable String companyCode, @Nullable String plant, @Nullable BigDecimal maxAnnualRequestedQuantity, @Nullable String requestedQuantityUnit, @Nullable String requestedQuantityISOUnit, @Nullable BigDecimal srcgProjQtnTotOfferedQuantity, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable String storageLocation, @Nullable String procmtHubPlantUniqueID, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnDmndDistrDetails> to_SrcgProjQtnDmndDistrDets, @Nullable SrcgProjQtnItem to_SrcgProjQtnItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnDmndDistr>
-
setSrcgProjQtnDmndDistrUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnDmndDistrUUID
- Parameters:
srcgProjQtnDmndDistrUUID- Demand Distribution UUID in Quotation
-
setSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
setSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Parameters:
srcgProjQtnItemUUID- Supplier Quotation Item UUID
-
setProcurementProject
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementProject
- Parameters:
procurementProject- Procurement Project
-
setProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Connected System ID
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setMaxAnnualRequestedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: MaxAnnualRequestedQuantity
- Parameters:
maxAnnualRequestedQuantity- Maximum Annually Requested Quantity
-
setRequestedQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RequestedQuantityUnit
- Parameters:
requestedQuantityUnit- Requested Quantity Unit
-
setRequestedQuantityISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RequestedQuantityISOUnit
- Parameters:
requestedQuantityISOUnit- ISO Unit Code for Requested Quantity
-
setSrcgProjQtnTotOfferedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: SrcgProjQtnTotOfferedQuantity
- Parameters:
srcgProjQtnTotOfferedQuantity- Total Offered Quantity Supplier Quotation
-
setPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Parameters:
purchasingOrganization- Purchasing Organization
-
setPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Parameters:
purchasingGroup- Purchasing Group
-
setStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Parameters:
storageLocation- Storage Location
-
setProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Parameters:
procmtHubPlantUniqueID- Plant Unique ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnDmndDistr>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnDmndDistr>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnDmndDistr>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnDmndDistr>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnDmndDistr>
-
getSourcingProjectQuotationIfPresent
@Nonnull public io.vavr.control.Option<SourcingProjectQuotation> getSourcingProjectQuotationIfPresent()Retrieval of associated SourcingProjectQuotation entity (one to one). This corresponds to the OData navigation property _SourcingProjectQuotation.If the navigation property for an entity SrcgProjQtnDmndDistr 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 _SourcingProjectQuotation is already loaded, the result
will contain the SourcingProjectQuotation entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectQuotation
Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.- Parameters:
value- New SourcingProjectQuotation entity.
-
getSrcgProjQtnDmndDistrDetsIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjQtnDmndDistrDetails>> getSrcgProjQtnDmndDistrDetsIfPresent()Retrieval of associated SrcgProjQtnDmndDistrDetails entities (one to many). This corresponds to the OData navigation property _SrcgProjQtnDmndDistrDets.If the navigation property for an entity SrcgProjQtnDmndDistr 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 _SrcgProjQtnDmndDistrDets is already loaded, the result
will contain the SrcgProjQtnDmndDistrDetails entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnDmndDistrDets
Overwrites the list of associated SrcgProjQtnDmndDistrDetails entities for the loaded navigation property _SrcgProjQtnDmndDistrDets.If the navigation property _SrcgProjQtnDmndDistrDets of a queried SrcgProjQtnDmndDistr 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 SrcgProjQtnDmndDistrDetails entities.
-
addSrcgProjQtnDmndDistrDets
Adds elements to the list of associated SrcgProjQtnDmndDistrDetails entities. This corresponds to the OData navigation property _SrcgProjQtnDmndDistrDets.If the navigation property _SrcgProjQtnDmndDistrDets of a queried SrcgProjQtnDmndDistr 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 SrcgProjQtnDmndDistrDetails entities.
-
getSrcgProjQtnItemIfPresent
Retrieval of associated SrcgProjQtnItem entity (one to one). This corresponds to the OData navigation property _SrcgProjQtnItem.If the navigation property for an entity SrcgProjQtnDmndDistr 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 _SrcgProjQtnItem is already loaded, the result will
contain the SrcgProjQtnItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnItem
Overwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQtnItem.- Parameters:
value- New SrcgProjQtnItem entity.
-
builder
-
getSrcgProjQtnDmndDistrUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnDmndDistrUUID
- Returns:
- Demand Distribution UUID in Quotation
-
getSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
getSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Returns:
- Supplier Quotation Item UUID
-
getProcurementProject
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementProject
- Returns:
- Procurement Project
-
getProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Connected System ID
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getMaxAnnualRequestedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: MaxAnnualRequestedQuantity
- Returns:
- Maximum Annually Requested Quantity
-
getRequestedQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RequestedQuantityUnit
- Returns:
- Requested Quantity Unit
-
getRequestedQuantityISOUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RequestedQuantityISOUnit
- Returns:
- ISO Unit Code for Requested Quantity
-
getSrcgProjQtnTotOfferedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: SrcgProjQtnTotOfferedQuantity
- Returns:
- Total Offered Quantity Supplier Quotation
-
getPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
- Purchasing Organization
-
getPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Returns:
- Purchasing Group
-
getStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Returns:
- Storage Location
-
getProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Returns:
- Plant Unique ID
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnDmndDistr>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnDmndDistr>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnDmndDistr>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnDmndDistr>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnDmndDistr>
-