Class SrcgProjQtnItemIncoterms
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnItemIncoterms_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnItemIncoterms instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnItemIncoterms>Selector for all available fields of SrcgProjQtnItemIncoterms.static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.String<SrcgProjQtnItemIncoterms>static final SimpleProperty.Guid<SrcgProjQtnItemIncoterms>static final SimpleProperty.Guid<SrcgProjQtnItemIncoterms>static final SimpleProperty.Guid<SrcgProjQtnItemIncoterms>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnAllwdIncoterms navigation property to query operations.static final NavigationProperty.Single<SrcgProjQtnItemIncoterms,SrcgProjQtnItem> Use with available request builders to apply the _SrcgProjQuotationItem 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
ConstructorsConstructorDescriptionSrcgProjQtnItemIncoterms(UUID srcgProjQtnItemIncotermsUUID, UUID sourcingProjectQuotationUUID, UUID srcgProjQtnItemUUID, String plant, String incotermsClassification, String incotermsTransferLocation, String incotermsVersion, String incotermsLocation1, String incotermsLocation2, String companyCode, String procurementHubSourceSystem, SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnAllowedIncoterms> to_SrcgProjQtnAllwdIncoterms, SrcgProjQtnItem to_SrcgProjQuotationItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjQtnAllowedIncoterms entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 4protected Stringprotected StringConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 28Constraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullableio.vavr.control.Option<List<SrcgProjQtnAllowedIncoterms>>Retrieval of associated SrcgProjQtnAllowedIncoterms entities (one to many).(Key Field) Constraints: Not nullableConstraints: Not nullableio.vavr.control.Option<SrcgProjQtnItem>Retrieval of associated SrcgProjQtnItem entity (one to one).getType()inthashCode()voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetIncotermsClassification(String incotermsClassification) Constraints: Not nullable, Maximum length: 3voidsetIncotermsLocation1(String incotermsLocation1) Constraints: Not nullable, Maximum length: 70voidsetIncotermsLocation2(String incotermsLocation2) Constraints: Not nullable, Maximum length: 70voidsetIncotermsTransferLocation(String incotermsTransferLocation) Constraints: Not nullable, Maximum length: 28voidsetIncotermsVersion(String incotermsVersion) Constraints: Not nullable, Maximum length: 4voidConstraints: Not nullable, Maximum length: 4voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjQtnAllowedIncoterms entities for the loaded navigation property _SrcgProjQtnAllwdIncoterms.voidsetSrcgProjQtnItemIncotermsUUID(UUID srcgProjQtnItemIncotermsUUID) (Key Field) Constraints: Not nullablevoidsetSrcgProjQtnItemUUID(UUID srcgProjQtnItemUUID) Constraints: Not nullablevoidOverwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQuotationItem.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 SrcgProjQtnItemIncoterms. -
SRCG_PROJ_QTN_ITEM_INCOTERMS_UUID
-
SOURCING_PROJECT_QUOTATION_UUID
-
SRCG_PROJ_QTN_ITEM_UUID
-
PLANT
-
INCOTERMS_CLASSIFICATION
-
INCOTERMS_TRANSFER_LOCATION
-
INCOTERMS_VERSION
-
INCOTERMS_LOCATION1
-
INCOTERMS_LOCATION2
-
COMPANY_CODE
-
PROCUREMENT_HUB_SOURCE_SYSTEM
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnItemIncoterms,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QTN_ALLWD_INCOTERMS
public static final NavigationProperty.Collection<SrcgProjQtnItemIncoterms,SrcgProjQtnAllowedIncoterms> TO__SRCG_PROJ_QTN_ALLWD_INCOTERMSUse with available request builders to apply the _SrcgProjQtnAllwdIncoterms navigation property to query operations. -
TO__SRCG_PROJ_QUOTATION_ITEM
public static final NavigationProperty.Single<SrcgProjQtnItemIncoterms,SrcgProjQtnItem> TO__SRCG_PROJ_QUOTATION_ITEMUse with available request builders to apply the _SrcgProjQuotationItem navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnItemIncoterms
public SrcgProjQtnItemIncoterms() -
SrcgProjQtnItemIncoterms
public SrcgProjQtnItemIncoterms(@Nullable UUID srcgProjQtnItemIncotermsUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable UUID srcgProjQtnItemUUID, @Nullable String plant, @Nullable String incotermsClassification, @Nullable String incotermsTransferLocation, @Nullable String incotermsVersion, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String companyCode, @Nullable String procurementHubSourceSystem, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnAllowedIncoterms> to_SrcgProjQtnAllwdIncoterms, @Nullable SrcgProjQtnItem to_SrcgProjQuotationItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnItemIncoterms>
-
setSrcgProjQtnItemIncotermsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemIncotermsUUID
- Parameters:
srcgProjQtnItemIncotermsUUID- Incoterms UUID of Item in Sourcing Project
-
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
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setIncotermsClassification
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: IncotermsClassification
- Parameters:
incotermsClassification- Incoterms (Part 1)
-
setIncotermsTransferLocation
Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: IncotermsTransferLocation
- Parameters:
incotermsTransferLocation- Incoterms (Part 2)
-
setIncotermsVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: IncotermsVersion
- Parameters:
incotermsVersion- Incoterms Version
-
setIncotermsLocation1
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation1
- Parameters:
incotermsLocation1- Incoterms Location 1
-
setIncotermsLocation2
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation2
- Parameters:
incotermsLocation2- Incoterms Location 2
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Parameters:
procurementHubSourceSystem- Connected System ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjQtnItemIncoterms>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnItemIncoterms>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnItemIncoterms>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnItemIncoterms>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnItemIncoterms>
-
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 SrcgProjQtnItemIncoterms 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.
-
getSrcgProjQtnAllwdIncotermsIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjQtnAllowedIncoterms>> getSrcgProjQtnAllwdIncotermsIfPresent()Retrieval of associated SrcgProjQtnAllowedIncoterms entities (one to many). This corresponds to the OData navigation property _SrcgProjQtnAllwdIncoterms.If the navigation property for an entity SrcgProjQtnItemIncoterms 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 _SrcgProjQtnAllwdIncoterms is already loaded, the
result will contain the SrcgProjQtnAllowedIncoterms entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnAllwdIncoterms
Overwrites the list of associated SrcgProjQtnAllowedIncoterms entities for the loaded navigation property _SrcgProjQtnAllwdIncoterms.If the navigation property _SrcgProjQtnAllwdIncoterms of a queried SrcgProjQtnItemIncoterms 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 SrcgProjQtnAllowedIncoterms entities.
-
addSrcgProjQtnAllwdIncoterms
Adds elements to the list of associated SrcgProjQtnAllowedIncoterms entities. This corresponds to the OData navigation property _SrcgProjQtnAllwdIncoterms.If the navigation property _SrcgProjQtnAllwdIncoterms of a queried SrcgProjQtnItemIncoterms 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 SrcgProjQtnAllowedIncoterms entities.
-
getSrcgProjQuotationItemIfPresent
Retrieval of associated SrcgProjQtnItem entity (one to one). This corresponds to the OData navigation property _SrcgProjQuotationItem.If the navigation property for an entity SrcgProjQtnItemIncoterms 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 _SrcgProjQuotationItem is already loaded, the result
will contain the SrcgProjQtnItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQuotationItem
Overwrites the associated SrcgProjQtnItem entity for the loaded navigation property _SrcgProjQuotationItem.- Parameters:
value- New SrcgProjQtnItem entity.
-
builder
-
getSrcgProjQtnItemIncotermsUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItemIncotermsUUID
- Returns:
- Incoterms UUID of Item in Sourcing Project
-
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
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getIncotermsClassification
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: IncotermsClassification
- Returns:
- Incoterms (Part 1)
-
getIncotermsTransferLocation
Constraints: Not nullable, Maximum length: 28Original property name from the Odata EDM: IncotermsTransferLocation
- Returns:
- Incoterms (Part 2)
-
getIncotermsVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: IncotermsVersion
- Returns:
- Incoterms Version
-
getIncotermsLocation1
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation1
- Returns:
- Incoterms Location 1
-
getIncotermsLocation2
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: IncotermsLocation2
- Returns:
- Incoterms Location 2
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getProcurementHubSourceSystem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProcurementHubSourceSystem
- Returns:
- Connected System ID
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjQtnItemIncoterms>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnItemIncoterms>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnItemIncoterms>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnItemIncoterms>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnItemIncoterms>
-