Class SrcgProjItmShipgInstructions

java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrcgProjItmShipgInstructions>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.sourcingproject.SrcgProjItmShipgInstructions
All Implemented Interfaces:
VdmEntitySet

public class SrcgProjItmShipgInstructions extends VdmEntity<SrcgProjItmShipgInstructions> implements VdmEntitySet
Shipping Instructions for Item

Original entity name from the Odata EDM: SrcgProjItmShipgInstructions_Type

  • Field Details

  • 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

      @Nonnull public Class<SrcgProjItmShipgInstructions> getType()
      Specified by:
      getType in class VdmObject<SrcgProjItmShipgInstructions>
    • setSrcgProjItemShippingInstrUUID

      public void setSrcgProjItemShippingInstrUUID(@Nullable UUID srcgProjItemShippingInstrUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemShippingInstrUUID

      Parameters:
      srcgProjItemShippingInstrUUID - Sourcing Project Shipping Instructions
    • setSourcingProjectItemUUID

      public void setSourcingProjectItemUUID(@Nullable UUID sourcingProjectItemUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Parameters:
      sourcingProjectItemUUID - Sourcing Project Item UUID
    • setSourcingProjectUUID

      public void setSourcingProjectUUID(@Nullable UUID sourcingProjectUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setShippingInstruction

      public void setShippingInstruction(@Nullable String shippingInstruction)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShippingInstruction

      Parameters:
      shippingInstruction - Shipping Instructions
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setProcurementHubSourceSystem

      public void setProcurementHubSourceSystem(@Nullable String procurementHubSourceSystem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Parameters:
      procurementHubSourceSystem - Connected System ID
    • setSourcingOrigin

      public void setSourcingOrigin(@Nullable String sourcingOrigin)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingOrigin

      Parameters:
      sourcingOrigin - Sourcing Origin
    • setSourcingScenario

      public void setSourcingScenario(@Nullable String sourcingScenario)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingScenario

      Parameters:
      sourcingScenario - Sourcing Integration Scenario
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<SrcgProjItmShipgInstructions>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SrcgProjItmShipgInstructions>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<SrcgProjItmShipgInstructions>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<SrcgProjItmShipgInstructions>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SrcgProjItmShipgInstructions>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SrcgProjItmShipgInstructions>
    • getSourcingProjectIfPresent

      @Nonnull public io.vavr.control.Option<SourcingProject> 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 Option result state will be empty.

      Returns:
      If the information for navigation property _SourcingProject is already loaded, the result will contain the SourcingProject entity. If not, an Option with result state empty is returned.
    • setSourcingProject

      public void setSourcingProject(SourcingProject value)
      Overwrites the associated SourcingProject entity for the loaded navigation property _SourcingProject.
      Parameters:
      value - New SourcingProject entity.
    • getSourcingProjectItemIfPresent

      @Nonnull public io.vavr.control.Option<SourcingProjectItem> 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 Option result state will be empty.

      Returns:
      If the information for navigation property _SourcingProjectItem is already loaded, the result will contain the SourcingProjectItem entity. If not, an Option with result state empty is returned.
    • setSourcingProjectItem

      public void setSourcingProjectItem(SourcingProjectItem value)
      Overwrites the associated SourcingProjectItem entity for the loaded navigation property _SourcingProjectItem.
      Parameters:
      value - New SourcingProjectItem entity.
    • builder

    • getSrcgProjItemShippingInstrUUID

      @Nullable public UUID getSrcgProjItemShippingInstrUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjItemShippingInstrUUID

      Returns:
      Sourcing Project Shipping Instructions
    • getSourcingProjectItemUUID

      @Nullable public UUID getSourcingProjectItemUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectItemUUID

      Returns:
      Sourcing Project Item UUID
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getPlant

      @Nullable public String getPlant()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getShippingInstruction

      @Nullable public String getShippingInstruction()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ShippingInstruction

      Returns:
      Shipping Instructions
    • getCompanyCode

      @Nullable public String getCompanyCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getProcurementHubSourceSystem

      @Nullable public String getProcurementHubSourceSystem()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProcurementHubSourceSystem

      Returns:
      Connected System ID
    • getSourcingOrigin

      @Nullable public String getSourcingOrigin()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingOrigin

      Returns:
      Sourcing Origin
    • getSourcingScenario

      @Nullable public String getSourcingScenario()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SourcingScenario

      Returns:
      Sourcing Integration Scenario
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<SrcgProjItmShipgInstructions>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<SrcgProjItmShipgInstructions>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<SrcgProjItmShipgInstructions>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<SrcgProjItmShipgInstructions>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<SrcgProjItmShipgInstructions>