Class SrcgProjQtnItmCndnAmount
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnItmCndnAmount_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnItmCndnAmount instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnItmCndnAmount>Selector for all available fields of SrcgProjQtnItmCndnAmount.static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.Boolean<SrcgProjQtnItmCndnAmount>static final SimpleProperty.NumericDecimal<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.NumericDecimal<SrcgProjQtnItmCndnAmount>static final SimpleProperty.NumericDecimal<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.String<SrcgProjQtnItmCndnAmount>static final SimpleProperty.Date<SrcgProjQtnItmCndnAmount>static final SimpleProperty.Date<SrcgProjQtnItmCndnAmount>static final SimpleProperty.Guid<SrcgProjQtnItmCndnAmount>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnItmCndnScale navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnItmCndnValidity 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
ConstructorsConstructorDescriptionSrcgProjQtnItmCndnAmount(String conditionRecord, String conditionSequentialNumberShort, LocalDate conditionValidityEndDate, LocalDate conditionValidityStartDate, String conditionType, String conditionCalculationTypeShort, BigDecimal conditionRateAmount, String conditionCurrency, BigDecimal conditionRateRatio, String conditionRateRatioUnit, String conditionRateRatioUnitISOCode, BigDecimal conditionQuantity, String conditionQuantityUnit, String conditionQuantityUnitISOCode, Boolean conditionIsDeleted, String conditionChangeReason, UUID sourcingProjectQuotationUUID, SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnItmCndnScale> to_SrcgProjQtnItmCndnScale, SrcgProjQtnItmCndnValidity to_SrcgProjQtnItmCndnValidity) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjQtnItmCndnScale entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullableConstraints: Not nullable, Precision: 5Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 24, Scale: 9Constraints: Not nullable, Precision: 24, Scale: 9Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 4Constraints: NullableConstraints: Nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullableio.vavr.control.Option<List<SrcgProjQtnItmCndnScale>>Retrieval of associated SrcgProjQtnItmCndnScale entities (one to many).io.vavr.control.Option<SrcgProjQtnItmCndnValidity>Retrieval of associated SrcgProjQtnItmCndnValidity entity (one to one).getType()inthashCode()voidsetConditionCalculationTypeShort(String conditionCalculationTypeShort) Constraints: Not nullable, Maximum length: 1voidsetConditionChangeReason(String conditionChangeReason) Constraints: Not nullable, Maximum length: 3voidsetConditionCurrency(String conditionCurrency) Constraints: Not nullable, Maximum length: 3voidsetConditionIsDeleted(Boolean conditionIsDeleted) Constraints: Not nullablevoidsetConditionQuantity(BigDecimal conditionQuantity) Constraints: Not nullable, Precision: 5voidsetConditionQuantityUnit(String conditionQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetConditionQuantityUnitISOCode(String conditionQuantityUnitISOCode) Constraints: Not nullable, Maximum length: 3voidsetConditionRateAmount(BigDecimal conditionRateAmount) Constraints: Not nullable, Precision: 24, Scale: 9voidsetConditionRateRatio(BigDecimal conditionRateRatio) Constraints: Not nullable, Precision: 24, Scale: 9voidsetConditionRateRatioUnit(String conditionRateRatioUnit) Constraints: Not nullable, Maximum length: 3voidsetConditionRateRatioUnitISOCode(String conditionRateRatioUnitISOCode) Constraints: Not nullable, Maximum length: 3voidsetConditionRecord(String conditionRecord) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetConditionSequentialNumberShort(String conditionSequentialNumberShort) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetConditionType(String conditionType) Constraints: Not nullable, Maximum length: 4voidsetConditionValidityEndDate(LocalDate conditionValidityEndDate) Constraints: NullablevoidsetConditionValidityStartDate(LocalDate conditionValidityStartDate) Constraints: NullablevoidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjQtnItmCndnScale entities for the loaded navigation property _SrcgProjQtnItmCndnScale.voidOverwrites the associated SrcgProjQtnItmCndnValidity entity for the loaded navigation property _SrcgProjQtnItmCndnValidity.toString()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 SrcgProjQtnItmCndnAmount. -
CONDITION_RECORD
-
CONDITION_SEQUENTIAL_NUMBER_SHORT
public static final SimpleProperty.String<SrcgProjQtnItmCndnAmount> CONDITION_SEQUENTIAL_NUMBER_SHORT -
CONDITION_VALIDITY_END_DATE
-
CONDITION_VALIDITY_START_DATE
-
CONDITION_TYPE
-
CONDITION_CALCULATION_TYPE_SHORT
public static final SimpleProperty.String<SrcgProjQtnItmCndnAmount> CONDITION_CALCULATION_TYPE_SHORT -
CONDITION_RATE_AMOUNT
-
CONDITION_CURRENCY
-
CONDITION_RATE_RATIO
-
CONDITION_RATE_RATIO_UNIT
-
CONDITION_RATE_RATIO_UNIT_ISO_CODE
public static final SimpleProperty.String<SrcgProjQtnItmCndnAmount> CONDITION_RATE_RATIO_UNIT_ISO_CODE -
CONDITION_QUANTITY
-
CONDITION_QUANTITY_UNIT
-
CONDITION_QUANTITY_UNIT_ISO_CODE
public static final SimpleProperty.String<SrcgProjQtnItmCndnAmount> CONDITION_QUANTITY_UNIT_ISO_CODE -
CONDITION_IS_DELETED
-
CONDITION_CHANGE_REASON
-
SOURCING_PROJECT_QUOTATION_UUID
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnItmCndnAmount,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QTN_ITM_CNDN_SCALE
public static final NavigationProperty.Collection<SrcgProjQtnItmCndnAmount,SrcgProjQtnItmCndnScale> TO__SRCG_PROJ_QTN_ITM_CNDN_SCALEUse with available request builders to apply the _SrcgProjQtnItmCndnScale navigation property to query operations. -
TO__SRCG_PROJ_QTN_ITM_CNDN_VALIDITY
public static final NavigationProperty.Single<SrcgProjQtnItmCndnAmount,SrcgProjQtnItmCndnValidity> TO__SRCG_PROJ_QTN_ITM_CNDN_VALIDITYUse with available request builders to apply the _SrcgProjQtnItmCndnValidity navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnItmCndnAmount
public SrcgProjQtnItmCndnAmount() -
SrcgProjQtnItmCndnAmount
public SrcgProjQtnItmCndnAmount(@Nullable String conditionRecord, @Nullable String conditionSequentialNumberShort, @Nullable LocalDate conditionValidityEndDate, @Nullable LocalDate conditionValidityStartDate, @Nullable String conditionType, @Nullable String conditionCalculationTypeShort, @Nullable BigDecimal conditionRateAmount, @Nullable String conditionCurrency, @Nullable BigDecimal conditionRateRatio, @Nullable String conditionRateRatioUnit, @Nullable String conditionRateRatioUnitISOCode, @Nullable BigDecimal conditionQuantity, @Nullable String conditionQuantityUnit, @Nullable String conditionQuantityUnitISOCode, @Nullable Boolean conditionIsDeleted, @Nullable String conditionChangeReason, @Nullable UUID sourcingProjectQuotationUUID, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnItmCndnScale> to_SrcgProjQtnItmCndnScale, @Nullable SrcgProjQtnItmCndnValidity to_SrcgProjQtnItmCndnValidity)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnItmCndnAmount>
-
setConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Parameters:
conditionRecord- Number of Condition Record
-
setConditionSequentialNumberShort
(Key Field) 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
-
setConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Parameters:
conditionType- Condition Type
-
setConditionCalculationTypeShort
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionCalculationTypeShort
- Parameters:
conditionCalculationTypeShort- Calculation Type for Condition
-
setConditionRateAmount
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateAmount
- Parameters:
conditionRateAmount- Condition Amount or Percentage
-
setConditionCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionCurrency
- Parameters:
conditionCurrency- Condition Unit (Currency or Percentage)
-
setConditionRateRatio
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateRatio
- Parameters:
conditionRateRatio- Condition Ratio (in Percent or Per Mille)
-
setConditionRateRatioUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionRateRatioUnit
- Parameters:
conditionRateRatioUnit- Unit of Measure
-
setConditionRateRatioUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionRateRatioUnitISOCode
- Parameters:
conditionRateRatioUnitISOCode- ISO Unit Code for Condition Rate Ratio
-
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
-
setConditionIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: ConditionIsDeleted
- Parameters:
conditionIsDeleted- Deletion Indicator for Condition Record
-
setConditionChangeReason
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionChangeReason
- Parameters:
conditionChangeReason- Reason for Changing Condition Record
-
setSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnItmCndnAmount>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnItmCndnAmount>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnItmCndnAmount>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnItmCndnAmount>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnItmCndnAmount>
-
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 SrcgProjQtnItmCndnAmount 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.
-
getSrcgProjQtnItmCndnScaleIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjQtnItmCndnScale>> getSrcgProjQtnItmCndnScaleIfPresent()Retrieval of associated SrcgProjQtnItmCndnScale entities (one to many). This corresponds to the OData navigation property _SrcgProjQtnItmCndnScale.If the navigation property for an entity SrcgProjQtnItmCndnAmount 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 _SrcgProjQtnItmCndnScale is already loaded, the result
will contain the SrcgProjQtnItmCndnScale entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnItmCndnScale
Overwrites the list of associated SrcgProjQtnItmCndnScale entities for the loaded navigation property _SrcgProjQtnItmCndnScale.If the navigation property _SrcgProjQtnItmCndnScale of a queried SrcgProjQtnItmCndnAmount 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 SrcgProjQtnItmCndnScale entities.
-
addSrcgProjQtnItmCndnScale
Adds elements to the list of associated SrcgProjQtnItmCndnScale entities. This corresponds to the OData navigation property _SrcgProjQtnItmCndnScale.If the navigation property _SrcgProjQtnItmCndnScale of a queried SrcgProjQtnItmCndnAmount 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 SrcgProjQtnItmCndnScale entities.
-
getSrcgProjQtnItmCndnValidityIfPresent
@Nonnull public io.vavr.control.Option<SrcgProjQtnItmCndnValidity> getSrcgProjQtnItmCndnValidityIfPresent()Retrieval of associated SrcgProjQtnItmCndnValidity entity (one to one). This corresponds to the OData navigation property _SrcgProjQtnItmCndnValidity.If the navigation property for an entity SrcgProjQtnItmCndnAmount 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 _SrcgProjQtnItmCndnValidity is already loaded, the
result will contain the SrcgProjQtnItmCndnValidity entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnItmCndnValidity
Overwrites the associated SrcgProjQtnItmCndnValidity entity for the loaded navigation property _SrcgProjQtnItmCndnValidity.- Parameters:
value- New SrcgProjQtnItmCndnValidity entity.
-
builder
-
getConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Returns:
- Number of Condition Record
-
getConditionSequentialNumberShort
(Key Field) 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
-
getConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
- Condition Type
-
getConditionCalculationTypeShort
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ConditionCalculationTypeShort
- Returns:
- Calculation Type for Condition
-
getConditionRateAmount
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateAmount
- Returns:
- Condition Amount or Percentage
-
getConditionCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionCurrency
- Returns:
- Condition Unit (Currency or Percentage)
-
getConditionRateRatio
Constraints: Not nullable, Precision: 24, Scale: 9Original property name from the Odata EDM: ConditionRateRatio
- Returns:
- Condition Ratio (in Percent or Per Mille)
-
getConditionRateRatioUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionRateRatioUnit
- Returns:
- Unit of Measure
-
getConditionRateRatioUnitISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionRateRatioUnitISOCode
- Returns:
- ISO Unit Code for Condition Rate Ratio
-
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
-
getConditionIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: ConditionIsDeleted
- Returns:
- Deletion Indicator for Condition Record
-
getConditionChangeReason
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConditionChangeReason
- Returns:
- Reason for Changing Condition Record
-
getSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnItmCndnAmount>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnItmCndnAmount>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnItmCndnAmount>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnItmCndnAmount>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnItmCndnAmount>
-