Class SrcgProjQtnItmCndnValidity
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnItmCndnValidity_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnItmCndnValidity instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnItmCndnValidity>Selector for all available fields of SrcgProjQtnItmCndnValidity.static final SimpleProperty.String<SrcgProjQtnItmCndnValidity>static final SimpleProperty.Boolean<SrcgProjQtnItmCndnValidity>static final SimpleProperty.String<SrcgProjQtnItmCndnValidity>static final SimpleProperty.String<SrcgProjQtnItmCndnValidity>static final SimpleProperty.Date<SrcgProjQtnItmCndnValidity>static final SimpleProperty.Date<SrcgProjQtnItmCndnValidity>static final SimpleProperty.String<SrcgProjQtnItmCndnValidity>static final SimpleProperty.String<SrcgProjQtnItmCndnValidity>static final SimpleProperty.String<SrcgProjQtnItmCndnValidity>static final SimpleProperty.Guid<SrcgProjQtnItmCndnValidity>static final SimpleProperty.Guid<SrcgProjQtnItmCndnValidity>static final SimpleProperty.String<SrcgProjQtnItmCndnValidity>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnItem navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnItmCndnAmount 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
ConstructorsConstructorDescriptionSrcgProjQtnItmCndnValidity(String conditionRecord, LocalDate conditionValidityEndDate, String sourcingProjectQuotation, String srcgProjQuotationVersion, String sourcingProjectQuotationItem, String conditionApplication, String conditionType, LocalDate conditionValidityStartDate, Boolean conditionIsDeleted, UUID srcgProjQtnItemUUID, UUID sourcingProjectQuotationUUID, String procmtHubPlantUniqueID, SourcingProjectQuotation to_SourcingProjectQuotation, SrcgProjQtnItem to_SrcgProjQtnItem, List<SrcgProjQtnItmCndnAmount> to_SrcgProjQtnItmCndnAmount) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjQtnItmCndnAmount entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 2Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: NullableConstraints: Nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullable, Maximum length: 5Constraints: Not nullableio.vavr.control.Option<SrcgProjQtnItem>Retrieval of associated SrcgProjQtnItem entity (one to one).Constraints: Not nullableio.vavr.control.Option<List<SrcgProjQtnItmCndnAmount>>Retrieval of associated SrcgProjQtnItmCndnAmount entities (one to many).Constraints: Not nullable, Maximum length: 5getType()inthashCode()voidsetConditionApplication(String conditionApplication) Constraints: Not nullable, Maximum length: 2voidsetConditionIsDeleted(Boolean conditionIsDeleted) Constraints: Not nullablevoidsetConditionRecord(String conditionRecord) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetConditionType(String conditionType) Constraints: Not nullable, Maximum length: 4voidsetConditionValidityEndDate(LocalDate conditionValidityEndDate) Constraints: NullablevoidsetConditionValidityStartDate(LocalDate conditionValidityStartDate) Constraints: NullablevoidsetProcmtHubPlantUniqueID(String procmtHubPlantUniqueID) Constraints: Not nullable, Maximum length: 30voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotation(String sourcingProjectQuotation) Constraints: Not nullable, Maximum length: 10voidsetSourcingProjectQuotationItem(String sourcingProjectQuotationItem) Constraints: Not nullable, Maximum length: 5voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidOverwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQtnItem.voidsetSrcgProjQtnItemUUID(UUID srcgProjQtnItemUUID) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjQtnItmCndnAmount entities for the loaded navigation property _SrcgProjQtnItmCndnAmount.voidsetSrcgProjQuotationVersion(String srcgProjQuotationVersion) Constraints: Not nullable, Maximum length: 5toString()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 SrcgProjQtnItmCndnValidity. -
CONDITION_RECORD
-
CONDITION_VALIDITY_END_DATE
-
SOURCING_PROJECT_QUOTATION
-
SRCG_PROJ_QUOTATION_VERSION
-
SOURCING_PROJECT_QUOTATION_ITEM
public static final SimpleProperty.String<SrcgProjQtnItmCndnValidity> SOURCING_PROJECT_QUOTATION_ITEM -
CONDITION_APPLICATION
-
CONDITION_TYPE
-
CONDITION_VALIDITY_START_DATE
-
CONDITION_IS_DELETED
-
SRCG_PROJ_QTN_ITEM_UUID
-
SOURCING_PROJECT_QUOTATION_UUID
-
PROCMT_HUB_PLANT_UNIQUE_ID
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnItmCndnValidity,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QTN_ITEM
public static final NavigationProperty.Single<SrcgProjQtnItmCndnValidity,SrcgProjQtnItem> TO__SRCG_PROJ_QTN_ITEMUse with available request builders to apply the _SrcgProjQtnItem navigation property to query operations. -
TO__SRCG_PROJ_QTN_ITM_CNDN_AMOUNT
public static final NavigationProperty.Collection<SrcgProjQtnItmCndnValidity,SrcgProjQtnItmCndnAmount> TO__SRCG_PROJ_QTN_ITM_CNDN_AMOUNTUse with available request builders to apply the _SrcgProjQtnItmCndnAmount navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnItmCndnValidity
public SrcgProjQtnItmCndnValidity() -
SrcgProjQtnItmCndnValidity
public SrcgProjQtnItmCndnValidity(@Nullable String conditionRecord, @Nullable LocalDate conditionValidityEndDate, @Nullable String sourcingProjectQuotation, @Nullable String srcgProjQuotationVersion, @Nullable String sourcingProjectQuotationItem, @Nullable String conditionApplication, @Nullable String conditionType, @Nullable LocalDate conditionValidityStartDate, @Nullable Boolean conditionIsDeleted, @Nullable UUID srcgProjQtnItemUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String procmtHubPlantUniqueID, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, @Nullable SrcgProjQtnItem to_SrcgProjQtnItem, List<SrcgProjQtnItmCndnAmount> to_SrcgProjQtnItmCndnAmount)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnItmCndnValidity>
-
setConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Parameters:
conditionRecord- Number of Condition Record
-
setConditionValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityEndDate
- Parameters:
conditionValidityEndDate- Validity end date of the condition record
-
setSourcingProjectQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProjectQuotation
- Parameters:
sourcingProjectQuotation- Supplier Quotation
-
setSrcgProjQuotationVersion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SrcgProjQuotationVersion
- Parameters:
srcgProjQuotationVersion- Sourcing Project Quotation Version
-
setSourcingProjectQuotationItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SourcingProjectQuotationItem
- Parameters:
sourcingProjectQuotationItem- Supplier Quotation Item
-
setConditionApplication
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionApplication
- Parameters:
conditionApplication- Application
-
setConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Parameters:
conditionType- Condition Type
-
setConditionValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityStartDate
- Parameters:
conditionValidityStartDate- Validity start date of the condition record
-
setConditionIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: ConditionIsDeleted
- Parameters:
conditionIsDeleted- Deletion Indicator for Condition Record
-
setSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Parameters:
srcgProjQtnItemUUID- Supplier Quotation Item UUID
-
setSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Parameters:
sourcingProjectQuotationUUID- Supplier Quotation UUID
-
setProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Parameters:
procmtHubPlantUniqueID- Plant Unique ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnItmCndnValidity>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnItmCndnValidity>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnItmCndnValidity>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnItmCndnValidity>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnItmCndnValidity>
-
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 SrcgProjQtnItmCndnValidity 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.
-
getSrcgProjQtnItemIfPresent
Retrieval of associated SrcgProjQtnItem entity (one to one). This corresponds to the OData navigation property _SrcgProjQtnItem.If the navigation property for an entity SrcgProjQtnItmCndnValidity 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.
-
getSrcgProjQtnItmCndnAmountIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjQtnItmCndnAmount>> getSrcgProjQtnItmCndnAmountIfPresent()Retrieval of associated SrcgProjQtnItmCndnAmount entities (one to many). This corresponds to the OData navigation property _SrcgProjQtnItmCndnAmount.If the navigation property for an entity SrcgProjQtnItmCndnValidity 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 _SrcgProjQtnItmCndnAmount is already loaded, the result
will contain the SrcgProjQtnItmCndnAmount entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnItmCndnAmount
Overwrites the list of associated SrcgProjQtnItmCndnAmount entities for the loaded navigation property _SrcgProjQtnItmCndnAmount.If the navigation property _SrcgProjQtnItmCndnAmount of a queried SrcgProjQtnItmCndnValidity 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 SrcgProjQtnItmCndnAmount entities.
-
addSrcgProjQtnItmCndnAmount
Adds elements to the list of associated SrcgProjQtnItmCndnAmount entities. This corresponds to the OData navigation property _SrcgProjQtnItmCndnAmount.If the navigation property _SrcgProjQtnItmCndnAmount of a queried SrcgProjQtnItmCndnValidity 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 SrcgProjQtnItmCndnAmount entities.
-
builder
-
getConditionRecord
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ConditionRecord
- Returns:
- Number of Condition Record
-
getConditionValidityEndDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityEndDate
- Returns:
- Validity end date of the condition record
-
getSourcingProjectQuotation
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SourcingProjectQuotation
- Returns:
- Supplier Quotation
-
getSrcgProjQuotationVersion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SrcgProjQuotationVersion
- Returns:
- Sourcing Project Quotation Version
-
getSourcingProjectQuotationItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: SourcingProjectQuotationItem
- Returns:
- Supplier Quotation Item
-
getConditionApplication
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ConditionApplication
- Returns:
- Application
-
getConditionType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ConditionType
- Returns:
- Condition Type
-
getConditionValidityStartDate
Constraints: NullableOriginal property name from the Odata EDM: ConditionValidityStartDate
- Returns:
- Validity start date of the condition record
-
getConditionIsDeleted
Constraints: Not nullableOriginal property name from the Odata EDM: ConditionIsDeleted
- Returns:
- Deletion Indicator for Condition Record
-
getSrcgProjQtnItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemUUID
- Returns:
- Supplier Quotation Item UUID
-
getSourcingProjectQuotationUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectQuotationUUID
- Returns:
- Supplier Quotation UUID
-
getProcmtHubPlantUniqueID
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ProcmtHubPlantUniqueID
- Returns:
- Plant Unique ID
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnItmCndnValidity>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnItmCndnValidity>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnItmCndnValidity>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnItmCndnValidity>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnItmCndnValidity>
-