Class SrcgProjItmCndnAmount
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjItmCndnAmount_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjItmCndnAmount instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjItmCndnAmount>Selector for all available fields of SrcgProjItmCndnAmount.static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.NumericDecimal<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.Date<SrcgProjItmCndnAmount>static final SimpleProperty.Date<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.Guid<SrcgProjItmCndnAmount>static final SimpleProperty.Guid<SrcgProjItmCndnAmount>static final SimpleProperty.Boolean<SrcgProjItmCndnAmount>static final SimpleProperty.Boolean<SrcgProjItmCndnAmount>static final SimpleProperty.Guid<SrcgProjItmCndnAmount>static final SimpleProperty.String<SrcgProjItmCndnAmount>static final SimpleProperty.Boolean<SrcgProjItmCndnAmount>static final NavigationProperty.Single<SrcgProjItmCndnAmount,SourcingProject> Use with available request builders to apply the _SourcingProject navigation property to query operations.Use with available request builders to apply the _SrcgProjItmCndnScale navigation property to query operations.Use with available request builders to apply the _SrcgProjItmCndnValidity 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
ConstructorsConstructorDescriptionSrcgProjItmCndnAmount(UUID srcgProjItemCndnAmountUUID, UUID sourcingProjectUUID, UUID srcgProjItemCndnValdtyUUID, String conditionType, String srcgProjPricingScaleBasis, Boolean srcgProjItemCndnIsMand, Boolean srcgProjItemCndnIsExcld, BigDecimal conditionQuantity, String conditionQuantityUnit, String conditionQuantityUnitISOCode, String conditionSequentialNumberShort, LocalDate conditionValidityEndDate, LocalDate conditionValidityStartDate, Boolean suplrCostBreakdownIsRelevant, String conditionCalculationType, String procmtHubPlantUniqueID, String procurementHubSourceSystem, String procurementHubSourceSystemName, String procmtHubPlant, String procmtHubPlantName, SourcingProject to_SourcingProject, List<SrcgProjItmCndnScale> to_SrcgProjItmCndnScale, SrcgProjItmCndnValidity to_SrcgProjItmCndnValidity) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSrcgProjItmCndnScale(SrcgProjItmCndnScale... entity) Adds elements to the list of associated SrcgProjItmCndnScale entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 5Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4Constraints: NullableConstraints: Nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullableConstraints: Not nullableio.vavr.control.Option<List<SrcgProjItmCndnScale>>Retrieval of associated SrcgProjItmCndnScale entities (one to many).io.vavr.control.Option<SrcgProjItmCndnValidity>Retrieval of associated SrcgProjItmCndnValidity entity (one to one).Constraints: Not nullable, Maximum length: 1Constraints: Not nullablegetType()inthashCode()voidsetConditionCalculationType(String conditionCalculationType) Constraints: Not nullable, Maximum length: 3voidsetConditionQuantity(BigDecimal conditionQuantity) Constraints: Not nullable, Precision: 5voidsetConditionQuantityUnit(String conditionQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetConditionQuantityUnitISOCode(String conditionQuantityUnitISOCode) Constraints: Not nullable, Maximum length: 3voidsetConditionSequentialNumberShort(String conditionSequentialNumberShort) Constraints: Not nullable, Maximum length: 2voidsetConditionType(String conditionType) Constraints: Not nullable, Maximum length: 4voidsetConditionValidityEndDate(LocalDate conditionValidityEndDate) Constraints: NullablevoidsetConditionValidityStartDate(LocalDate conditionValidityStartDate) Constraints: NullablevoidsetProcmtHubPlant(String procmtHubPlant) Constraints: Not nullable, Maximum length: 4voidsetProcmtHubPlantName(String procmtHubPlantName) Constraints: Not nullable, Maximum length: 30voidsetProcmtHubPlantUniqueID(String procmtHubPlantUniqueID) Constraints: Not nullable, Maximum length: 30voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidsetProcurementHubSourceSystemName(String procurementHubSourceSystemName) Constraints: Not nullable, Maximum length: 30voidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.voidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSrcgProjItemCndnAmountUUID(UUID srcgProjItemCndnAmountUUID) (Key Field) Constraints: Not nullablevoidsetSrcgProjItemCndnIsExcld(Boolean srcgProjItemCndnIsExcld) Constraints: Not nullablevoidsetSrcgProjItemCndnIsMand(Boolean srcgProjItemCndnIsMand) Constraints: Not nullablevoidsetSrcgProjItemCndnValdtyUUID(UUID srcgProjItemCndnValdtyUUID) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjItmCndnScale entities for the loaded navigation property _SrcgProjItmCndnScale.voidOverwrites the associated SrcgProjItmCndnValidity entity for the loaded navigation property _SrcgProjItmCndnValidity.voidsetSrcgProjPricingScaleBasis(String srcgProjPricingScaleBasis) Constraints: Not nullable, Maximum length: 1voidsetSuplrCostBreakdownIsRelevant(Boolean suplrCostBreakdownIsRelevant) Constraints: Not nullabletoString()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 SrcgProjItmCndnAmount. -
SRCG_PROJ_ITEM_CNDN_AMOUNT_UUID
-
SOURCING_PROJECT_UUID
-
SRCG_PROJ_ITEM_CNDN_VALDTY_UUID
-
CONDITION_TYPE
-
SRCG_PROJ_PRICING_SCALE_BASIS
-
SRCG_PROJ_ITEM_CNDN_IS_MAND
-
SRCG_PROJ_ITEM_CNDN_IS_EXCLD
-
CONDITION_QUANTITY
-
CONDITION_QUANTITY_UNIT
-
CONDITION_QUANTITY_UNIT_ISO_CODE
-
CONDITION_SEQUENTIAL_NUMBER_SHORT
-
CONDITION_VALIDITY_END_DATE
-
CONDITION_VALIDITY_START_DATE
-
SUPLR_COST_BREAKDOWN_IS_RELEVANT
-
CONDITION_CALCULATION_TYPE
-
PROCMT_HUB_PLANT_UNIQUE_ID
-
PROCUREMENT_HUB_SOURCE_SYSTEM
-
PROCUREMENT_HUB_SOURCE_SYSTEM_NAME
-
PROCMT_HUB_PLANT
-
PROCMT_HUB_PLANT_NAME
-
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SrcgProjItmCndnAmount,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations. -
TO__SRCG_PROJ_ITM_CNDN_SCALE
public static final NavigationProperty.Collection<SrcgProjItmCndnAmount,SrcgProjItmCndnScale> TO__SRCG_PROJ_ITM_CNDN_SCALEUse with available request builders to apply the _SrcgProjItmCndnScale navigation property to query operations. -
TO__SRCG_PROJ_ITM_CNDN_VALIDITY
public static final NavigationProperty.Single<SrcgProjItmCndnAmount,SrcgProjItmCndnValidity> TO__SRCG_PROJ_ITM_CNDN_VALIDITYUse with available request builders to apply the _SrcgProjItmCndnValidity navigation property to query operations.
-
-
Constructor Details
-
SrcgProjItmCndnAmount
public SrcgProjItmCndnAmount() -
SrcgProjItmCndnAmount
public SrcgProjItmCndnAmount(@Nullable UUID srcgProjItemCndnAmountUUID, @Nullable UUID sourcingProjectUUID, @Nullable UUID srcgProjItemCndnValdtyUUID, @Nullable String conditionType, @Nullable String srcgProjPricingScaleBasis, @Nullable Boolean srcgProjItemCndnIsMand, @Nullable Boolean srcgProjItemCndnIsExcld, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit, @Nullable String conditionQuantityUnitISOCode, @Nullable String conditionSequentialNumberShort, @Nullable LocalDate conditionValidityEndDate, @Nullable LocalDate conditionValidityStartDate, @Nullable Boolean suplrCostBreakdownIsRelevant, @Nullable String conditionCalculationType, @Nullable String procmtHubPlantUniqueID, @Nullable String procurementHubSourceSystem, @Nullable String procurementHubSourceSystemName, @Nullable String procmtHubPlant, @Nullable String procmtHubPlantName, @Nullable SourcingProject to_SourcingProject, List<SrcgProjItmCndnScale> to_SrcgProjItmCndnScale, @Nullable SrcgProjItmCndnValidity to_SrcgProjItmCndnValidity)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjItmCndnAmount>
-
setSrcgProjItemCndnAmountUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnAmountUUID
- Parameters:
srcgProjItemCndnAmountUUID- Condition Amount UUID in Sourcing Project
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project UUID
-
setSrcgProjItemCndnValdtyUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnValdtyUUID
- Parameters:
srcgProjItemCndnValdtyUUID- Condition Validity UUID in Sourcing Project
-
setConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Parameters:
conditionType- Condition Type
-
setSrcgProjPricingScaleBasis
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrcgProjPricingScaleBasis
- Parameters:
srcgProjPricingScaleBasis- Scale Base Type
-
setSrcgProjItemCndnIsMand
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnIsMand
- Parameters:
srcgProjItemCndnIsMand- Indicator Condition is Mandatory in Sourcing Project
-
setSrcgProjItemCndnIsExcld
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnIsExcld
- Parameters:
srcgProjItemCndnIsExcld- Indicator Condition is Excluded from Quotation
-
setConditionQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ConditionQuantity
- Parameters:
conditionQuantity- Condition Pricing Unit
-
setConditionQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnit
- Parameters:
conditionQuantityUnit- Condition Unit
-
setConditionQuantityUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnitISOCode
- Parameters:
conditionQuantityUnitISOCode- ISO Unit Code for Condition Quantity
-
setConditionSequentialNumberShort
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionSequentialNumberShort
- Parameters:
conditionSequentialNumberShort- Sequential number of the condition
-
setConditionValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityEndDate
- Parameters:
conditionValidityEndDate- Validity end date of the condition record
-
setConditionValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityStartDate
- Parameters:
conditionValidityStartDate- Validity start date of the condition record
-
setSuplrCostBreakdownIsRelevant
Constraints: Not nullableOriginal property name from the Odata EDM: SuplrCostBreakdownIsRelevant
- Parameters:
suplrCostBreakdownIsRelevant- Condition is Relevant for Cost Breakdown
-
setConditionCalculationType
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionCalculationType
- Parameters:
conditionCalculationType- Calculation Type for Condition
-
setProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Parameters:
procmtHubPlantUniqueID- Plant Unique ID
-
setProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Connected System ID
-
setProcurementHubSourceSystemName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcurementHubSourceSystemName
- Parameters:
procurementHubSourceSystemName- Connected System Name
-
setProcmtHubPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPlant
- Parameters:
procmtHubPlant- Connected Plant
-
setProcmtHubPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantName
- Parameters:
procmtHubPlantName- Plant Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjItmCndnAmount>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjItmCndnAmount>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjItmCndnAmount>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjItmCndnAmount>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjItmCndnAmount>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SrcgProjItmCndnAmount 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 _SourcingProject is already loaded, the result will
contain the SourcingProject entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProject
Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.- Parameters:
value- New SourcingProject entity.
-
getSrcgProjItmCndnScaleIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjItmCndnScale>> getSrcgProjItmCndnScaleIfPresent()Retrieval of associated SrcgProjItmCndnScale entities (one to many). This corresponds to the OData navigation property _SrcgProjItmCndnScale.If the navigation property for an entity SrcgProjItmCndnAmount 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 _SrcgProjItmCndnScale is already loaded, the result
will contain the SrcgProjItmCndnScale entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjItmCndnScale
Overwrites the list of associated SrcgProjItmCndnScale entities for the loaded navigation property _SrcgProjItmCndnScale.If the navigation property _SrcgProjItmCndnScale of a queried SrcgProjItmCndnAmount 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 SrcgProjItmCndnScale entities.
-
addSrcgProjItmCndnScale
Adds elements to the list of associated SrcgProjItmCndnScale entities. This corresponds to the OData navigation property _SrcgProjItmCndnScale.If the navigation property _SrcgProjItmCndnScale of a queried SrcgProjItmCndnAmount 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 SrcgProjItmCndnScale entities.
-
getSrcgProjItmCndnValidityIfPresent
@Nonnull public io.vavr.control.Option<SrcgProjItmCndnValidity> getSrcgProjItmCndnValidityIfPresent()Retrieval of associated SrcgProjItmCndnValidity entity (one to one). This corresponds to the OData navigation property _SrcgProjItmCndnValidity.If the navigation property for an entity SrcgProjItmCndnAmount 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 _SrcgProjItmCndnValidity is already loaded, the result
will contain the SrcgProjItmCndnValidity entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjItmCndnValidity
Overwrites the associated SrcgProjItmCndnValidity entity for the loaded navigation property _SrcgProjItmCndnValidity.- Parameters:
value- New SrcgProjItmCndnValidity entity.
-
builder
-
getSrcgProjItemCndnAmountUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnAmountUUID
- Returns:
- Condition Amount UUID in Sourcing Project
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project UUID
-
getSrcgProjItemCndnValdtyUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnValdtyUUID
- Returns:
- Condition Validity UUID in Sourcing Project
-
getConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
- Condition Type
-
getSrcgProjPricingScaleBasis
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: SrcgProjPricingScaleBasis
- Returns:
- Scale Base Type
-
getSrcgProjItemCndnIsMand
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnIsMand
- Returns:
- Indicator Condition is Mandatory in Sourcing Project
-
getSrcgProjItemCndnIsExcld
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemCndnIsExcld
- Returns:
- Indicator Condition is Excluded from Quotation
-
getConditionQuantity
Constraints: Not nullable, Precision: 5Original property name from the Odata EDM: ConditionQuantity
- Returns:
- Condition Pricing Unit
-
getConditionQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnit
- Returns:
- Condition Unit
-
getConditionQuantityUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionQuantityUnitISOCode
- Returns:
- ISO Unit Code for Condition Quantity
-
getConditionSequentialNumberShort
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionSequentialNumberShort
- Returns:
- Sequential number of the condition
-
getConditionValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityEndDate
- Returns:
- Validity end date of the condition record
-
getConditionValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityStartDate
- Returns:
- Validity start date of the condition record
-
getSuplrCostBreakdownIsRelevant
Constraints: Not nullableOriginal property name from the Odata EDM: SuplrCostBreakdownIsRelevant
- Returns:
- Condition is Relevant for Cost Breakdown
-
getConditionCalculationType
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionCalculationType
- Returns:
- Calculation Type for Condition
-
getProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Returns:
- Plant Unique ID
-
getProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Connected System ID
-
getProcurementHubSourceSystemName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcurementHubSourceSystemName
- Returns:
- Connected System Name
-
getProcmtHubPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProcmtHubPlant
- Returns:
- Connected Plant
-
getProcmtHubPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantName
- Returns:
- Plant Name
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjItmCndnAmount>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjItmCndnAmount>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjItmCndnAmount>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjItmCndnAmount>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjItmCndnAmount>
-