Class SrcgProjItmShipgInstructions
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrcgProjItmShipgInstructions_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrcgProjItmShipgInstructions instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrcgProjItmShipgInstructions>Selector for all available fields of SrcgProjItmShipgInstructions.static final SimpleProperty.String<SrcgProjItmShipgInstructions>static final SimpleProperty.String<SrcgProjItmShipgInstructions>static final SimpleProperty.String<SrcgProjItmShipgInstructions>static final SimpleProperty.String<SrcgProjItmShipgInstructions>static final SimpleProperty.String<SrcgProjItmShipgInstructions>static final SimpleProperty.Guid<SrcgProjItmShipgInstructions>static final SimpleProperty.Guid<SrcgProjItmShipgInstructions>static final SimpleProperty.String<SrcgProjItmShipgInstructions>static final SimpleProperty.Guid<SrcgProjItmShipgInstructions>Use with available request builders to apply the _SourcingProject navigation property to query operations.Use with available request builders to apply the _SourcingProjectItem 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
ConstructorsConstructorDescriptionSrcgProjItmShipgInstructions(UUID srcgProjItemShippingInstrUUID, UUID sourcingProjectItemUUID, UUID sourcingProjectUUID, String plant, String shippingInstruction, String companyCode, String procurementHubSourceSystem, String sourcingOrigin, String sourcingScenario, SourcingProject to_SourcingProject, SourcingProjectItem to_SourcingProjectItem) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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: 2Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<SourcingProject>Retrieval of associated SourcingProject entity (one to one).io.vavr.control.Option<SourcingProjectItem>Retrieval of associated SourcingProjectItem entity (one to one).Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullablegetType()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: 2voidsetSourcingOrigin(String sourcingOrigin) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.voidOverwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.voidsetSourcingProjectItemUUID(UUID sourcingProjectItemUUID) Constraints: Not nullablevoidsetSourcingProjectUUID(UUID sourcingProjectUUID) Constraints: Not nullablevoidsetSourcingScenario(String sourcingScenario) Constraints: Not nullable, Maximum length: 2voidsetSrcgProjItemShippingInstrUUID(UUID srcgProjItemShippingInstrUUID) (Key Field) 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 SrcgProjItmShipgInstructions. -
SRCG_PROJ_ITEM_SHIPPING_INSTR_UUID
public static final SimpleProperty.Guid<SrcgProjItmShipgInstructions> SRCG_PROJ_ITEM_SHIPPING_INSTR_UUID -
SOURCING_PROJECT_ITEM_UUID
-
SOURCING_PROJECT_UUID
-
PLANT
-
SHIPPING_INSTRUCTION
-
COMPANY_CODE
-
PROCUREMENT_HUB_SOURCE_SYSTEM
public static final SimpleProperty.String<SrcgProjItmShipgInstructions> PROCUREMENT_HUB_SOURCE_SYSTEM -
SOURCING_ORIGIN
-
SOURCING_SCENARIO
-
TO__SOURCING_PROJECT
public static final NavigationProperty.Single<SrcgProjItmShipgInstructions,SourcingProject> TO__SOURCING_PROJECTUse with available request builders to apply the _SourcingProject navigation property to query operations. -
TO__SOURCING_PROJECT_ITEM
public static final NavigationProperty.Single<SrcgProjItmShipgInstructions,SourcingProjectItem> TO__SOURCING_PROJECT_ITEMUse with available request builders to apply the _SourcingProjectItem navigation property to query operations.
-
-
Constructor Details
-
SrcgProjItmShipgInstructions
public SrcgProjItmShipgInstructions() -
SrcgProjItmShipgInstructions
public SrcgProjItmShipgInstructions(@Nullable UUID srcgProjItemShippingInstrUUID, @Nullable UUID sourcingProjectItemUUID, @Nullable UUID sourcingProjectUUID, @Nullable String plant, @Nullable String shippingInstruction, @Nullable String companyCode, @Nullable String procurementHubSourceSystem, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject, @Nullable SourcingProjectItem to_SourcingProjectItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrcgProjItmShipgInstructions>
-
setSrcgProjItemShippingInstrUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemShippingInstrUUID
- Parameters:
srcgProjItemShippingInstrUUID- Sourcing Project Shipping Instructions
-
setSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Parameters:
sourcingProjectItemUUID- Sourcing Project Item UUID
-
setSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Parameters:
sourcingProjectUUID- Sourcing Project 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
-
setSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Parameters:
sourcingOrigin- Sourcing Origin
-
setSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Parameters:
sourcingScenario- Sourcing Integration Scenario
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrcgProjItmShipgInstructions>
-
getKey
- Overrides:
getKeyin classVdmObject<SrcgProjItmShipgInstructions>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrcgProjItmShipgInstructions>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrcgProjItmShipgInstructions>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrcgProjItmShipgInstructions>
-
getSourcingProjectIfPresent
Retrieval of associated SourcingProject entity (one to one). This corresponds to the OData navigation property _SourcingProject.If the navigation property for an entity SrcgProjItmShipgInstructions 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.
-
getSourcingProjectItemIfPresent
Retrieval of associated SourcingProjectItem entity (one to one). This corresponds to the OData navigation property _SourcingProjectItem.If the navigation property for an entity SrcgProjItmShipgInstructions 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 _SourcingProjectItem is already loaded, the result will
contain the SourcingProjectItem entity. If not, an
Optionwith result stateemptyis returned.
-
setSourcingProjectItem
Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.- Parameters:
value- New SourcingProjectItem entity.
-
builder
-
getSrcgProjItemShippingInstrUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SrcgProjItemShippingInstrUUID
- Returns:
- Sourcing Project Shipping Instructions
-
getSourcingProjectItemUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectItemUUID
- Returns:
- Sourcing Project Item UUID
-
getSourcingProjectUUID
Constraints: Not nullableOriginal property name from the Odata EDM: SourcingProjectUUID
- Returns:
- Sourcing Project 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
-
getSourcingOrigin
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingOrigin
- Returns:
- Sourcing Origin
-
getSourcingScenario
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: SourcingScenario
- Returns:
- Sourcing Integration Scenario
-
toString
- Overrides:
toStringin classVdmObject<SrcgProjItmShipgInstructions>
-
equals
- Overrides:
equalsin classVdmEntity<SrcgProjItmShipgInstructions>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrcgProjItmShipgInstructions>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrcgProjItmShipgInstructions>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrcgProjItmShipgInstructions>
-