Class SrcgProjQtnItmShipgInstrn
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjQtnItmShipgInstrn_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjQtnItmShipgInstrn instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjQtnItmShipgInstrn>Selector for all available fields of SrcgProjQtnItmShipgInstrn.static final SimpleProperty.String<SrcgProjQtnItmShipgInstrn>static final SimpleProperty.String<SrcgProjQtnItmShipgInstrn>static final SimpleProperty.String<SrcgProjQtnItmShipgInstrn>static final SimpleProperty.String<SrcgProjQtnItmShipgInstrn>static final SimpleProperty.Guid<SrcgProjQtnItmShipgInstrn>static final SimpleProperty.Guid<SrcgProjQtnItmShipgInstrn>static final SimpleProperty.Guid<SrcgProjQtnItmShipgInstrn>Use with available request builders to apply the _SourcingProjectQuotation navigation property to query operations.Use with available request builders to apply the _SrcgProjQtnAllwdShipgInstrn navigation property to query operations.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
ConstructorsConstructorDescriptionSrcgProjQtnItmShipgInstrn(UUID srcgProjQtnItmShipgInstrnUUID, UUID sourcingProjectQuotationUUID, UUID srcgProjQtnItemUUID, String plant, String shippingInstruction, String companyCode, String procurementHubSourceSystem, SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnAllwdShipgInstrn> to_SrcgProjQtnAllwdShipgInstrn, SrcgProjQtnItem to_SrcgProjQuotationItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SrcgProjQtnAllwdShipgInstrn entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 4protected Stringprotected Stringprotected ODataEntityKeygetKey()getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SourcingProjectQuotation>Retrieval of associated SourcingProjectQuotation entity (one to one).Constraints: Not nullableio.vavr.control.Option<List<SrcgProjQtnAllwdShipgInstrn>>Retrieval of associated SrcgProjQtnAllwdShipgInstrn entities (one to many).Constraints: Not nullable(Key Field) Constraints: Not nullableio.vavr.control.Option<SrcgProjQtnItem>Retrieval of associated SrcgProjQtnItem entity (one to one).getType()inthashCode()voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidConstraints: Not nullable, Maximum length: 4voidsetProcurementHubSourceSystem(String procurementHubSourceSystem) Constraints: Not nullable, Maximum length: 10voidsetShippingInstruction(String shippingInstruction) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.voidsetSourcingProjectQuotationUUID(UUID sourcingProjectQuotationUUID) Constraints: Not nullablevoidOverwrites the list of associated SrcgProjQtnAllwdShipgInstrn entities for the loaded navigation property _SrcgProjQtnAllwdShipgInstrn.voidsetSrcgProjQtnItemUUID(UUID srcgProjQtnItemUUID) Constraints: Not nullablevoidsetSrcgProjQtnItmShipgInstrnUUID(UUID srcgProjQtnItmShipgInstrnUUID) (Key Field) 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 SrcgProjQtnItmShipgInstrn. -
SRCG_PROJ_QTN_ITM_SHIPG_INSTRN_UUID
public static final SimpleProperty.Guid<SrcgProjQtnItmShipgInstrn> SRCG_PROJ_QTN_ITM_SHIPG_INSTRN_UUID -
SOURCING_PROJECT_QUOTATION_UUID
-
SRCG_PROJ_QTN_ITEM_UUID
-
PLANT
-
SHIPPING_INSTRUCTION
-
COMPANY_CODE
-
PROCUREMENT_HUB_SOURCE_SYSTEM
-
TO__SOURCING_PROJECT_QUOTATION
public static final NavigationProperty.Single<SrcgProjQtnItmShipgInstrn,SourcingProjectQuotation> TO__SOURCING_PROJECT_QUOTATIONUse with available request builders to apply the _SourcingProjectQuotation navigation property to query operations. -
TO__SRCG_PROJ_QTN_ALLWD_SHIPG_INSTRN
public static final NavigationProperty.Collection<SrcgProjQtnItmShipgInstrn,SrcgProjQtnAllwdShipgInstrn> TO__SRCG_PROJ_QTN_ALLWD_SHIPG_INSTRNUse with available request builders to apply the _SrcgProjQtnAllwdShipgInstrn navigation property to query operations. -
TO__SRCG_PROJ_QUOTATION_ITEM
public static final NavigationProperty.Single<SrcgProjQtnItmShipgInstrn,SrcgProjQtnItem> TO__SRCG_PROJ_QUOTATION_ITEMUse with available request builders to apply the _SrcgProjQuotationItem navigation property to query operations.
-
-
Constructor Details
-
SrcgProjQtnItmShipgInstrn
public SrcgProjQtnItmShipgInstrn() -
SrcgProjQtnItmShipgInstrn
public SrcgProjQtnItmShipgInstrn(@Nullable UUID srcgProjQtnItmShipgInstrnUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable UUID srcgProjQtnItemUUID, @Nullable String plant, @Nullable String shippingInstruction, @Nullable String companyCode, @Nullable String procurementHubSourceSystem, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, List<SrcgProjQtnAllwdShipgInstrn> to_SrcgProjQtnAllwdShipgInstrn, @Nullable SrcgProjQtnItem to_SrcgProjQuotationItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjQtnItmShipgInstrn>
-
setSrcgProjQtnItmShipgInstrnUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItmShipgInstrnUUID
- Parameters:
srcgProjQtnItmShipgInstrnUUID- Shipping Instruction UUID for Item in Supplier Qtn (SP)
-
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
-
setShippingInstruction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ShippingInstruction
- Parameters:
shippingInstruction- Shipping Instructions
-
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<SrcgProjQtnItmShipgInstrn>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjQtnItmShipgInstrn>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjQtnItmShipgInstrn>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjQtnItmShipgInstrn>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjQtnItmShipgInstrn>
-
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 SrcgProjQtnItmShipgInstrn 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.
-
getSrcgProjQtnAllwdShipgInstrnIfPresent
@Nonnull public io.vavr.control.Option<List<SrcgProjQtnAllwdShipgInstrn>> getSrcgProjQtnAllwdShipgInstrnIfPresent()Retrieval of associated SrcgProjQtnAllwdShipgInstrn entities (one to many). This corresponds to the OData navigation property _SrcgProjQtnAllwdShipgInstrn.If the navigation property for an entity SrcgProjQtnItmShipgInstrn 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 _SrcgProjQtnAllwdShipgInstrn is already loaded, the
result will contain the SrcgProjQtnAllwdShipgInstrn entities. If not, an
Optionwith result stateemptyis returned.
-
setSrcgProjQtnAllwdShipgInstrn
Overwrites the list of associated SrcgProjQtnAllwdShipgInstrn entities for the loaded navigation property _SrcgProjQtnAllwdShipgInstrn.If the navigation property _SrcgProjQtnAllwdShipgInstrn of a queried SrcgProjQtnItmShipgInstrn 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 SrcgProjQtnAllwdShipgInstrn entities.
-
addSrcgProjQtnAllwdShipgInstrn
Adds elements to the list of associated SrcgProjQtnAllwdShipgInstrn entities. This corresponds to the OData navigation property _SrcgProjQtnAllwdShipgInstrn.If the navigation property _SrcgProjQtnAllwdShipgInstrn of a queried SrcgProjQtnItmShipgInstrn 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 SrcgProjQtnAllwdShipgInstrn 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 SrcgProjQtnItmShipgInstrn 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
-
getSrcgProjQtnItmShipgInstrnUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjQtnItmShipgInstrnUUID
- Returns:
- Shipping Instruction UUID for Item in Supplier Qtn (SP)
-
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
-
getShippingInstruction
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ShippingInstruction
- Returns:
- Shipping Instructions
-
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<SrcgProjQtnItmShipgInstrn>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjQtnItmShipgInstrn>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjQtnItmShipgInstrn>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjQtnItmShipgInstrn>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjQtnItmShipgInstrn>
-