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

public class SrcgProjQtnAllwdShipgInstrn extends VdmEntity<SrcgProjQtnAllwdShipgInstrn> implements VdmEntitySet
Allowed Shipping Instructions

Original entity name from the Odata EDM: SrcgProjQtnAllwdShipgInstrn_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnAllwdShipgInstrn

      public SrcgProjQtnAllwdShipgInstrn()
    • SrcgProjQtnAllwdShipgInstrn

      public SrcgProjQtnAllwdShipgInstrn(@Nullable UUID srcgQtnAllwdShipgInstrnUUID, @Nullable UUID srcgProjQtnItmShipgInstrnUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String plant, @Nullable String shippingInstruction, @Nullable String companyCode, @Nullable String procurementHubSourceSystem, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation, @Nullable SrcgProjQtnItmShipgInstrn to_SrcgProjQtnItmShipgInstrn)
  • Method Details

    • getType

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

      public void setSrcgQtnAllwdShipgInstrnUUID(@Nullable UUID srcgQtnAllwdShipgInstrnUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgQtnAllwdShipgInstrnUUID

      Parameters:
      srcgQtnAllwdShipgInstrnUUID - UUID of Allowed Shipping Instruction in Supplier Qtn (SP)
    • setSrcgProjQtnItmShipgInstrnUUID

      public void setSrcgProjQtnItmShipgInstrnUUID(@Nullable UUID srcgProjQtnItmShipgInstrnUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnItmShipgInstrnUUID

      Parameters:
      srcgProjQtnItmShipgInstrnUUID - Shipping Instruction UUID for Item in Supplier Qtn (SP)
    • setSourcingProjectQuotationUUID

      public void setSourcingProjectQuotationUUID(@Nullable UUID sourcingProjectQuotationUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Parameters:
      sourcingProjectQuotationUUID - Supplier Quotation 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
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SrcgProjQtnAllwdShipgInstrn>
    • 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 SrcgProjQtnAllwdShipgInstrn 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 _SourcingProjectQuotation is already loaded, the result will contain the SourcingProjectQuotation entity. If not, an Option with result state empty is returned.
    • setSourcingProjectQuotation

      public void setSourcingProjectQuotation(SourcingProjectQuotation value)
      Overwrites the associated SourcingProjectQuotation entity for the loaded navigation property _SourcingProjectQuotation.
      Parameters:
      value - New SourcingProjectQuotation entity.
    • getSrcgProjQtnItmShipgInstrnIfPresent

      @Nonnull public io.vavr.control.Option<SrcgProjQtnItmShipgInstrn> getSrcgProjQtnItmShipgInstrnIfPresent()
      Retrieval of associated SrcgProjQtnItmShipgInstrn entity (one to one). This corresponds to the OData navigation property _SrcgProjQtnItmShipgInstrn.

      If the navigation property for an entity SrcgProjQtnAllwdShipgInstrn 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 _SrcgProjQtnItmShipgInstrn is already loaded, the result will contain the SrcgProjQtnItmShipgInstrn entity. If not, an Option with result state empty is returned.
    • setSrcgProjQtnItmShipgInstrn

      public void setSrcgProjQtnItmShipgInstrn(SrcgProjQtnItmShipgInstrn value)
      Overwrites the associated SrcgProjQtnItmShipgInstrn entity for the loaded navigation property _SrcgProjQtnItmShipgInstrn.
      Parameters:
      value - New SrcgProjQtnItmShipgInstrn entity.
    • builder

    • getSrcgQtnAllwdShipgInstrnUUID

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

      Original property name from the Odata EDM: SrcgQtnAllwdShipgInstrnUUID

      Returns:
      UUID of Allowed Shipping Instruction in Supplier Qtn (SP)
    • getSrcgProjQtnItmShipgInstrnUUID

      @Nullable public UUID getSrcgProjQtnItmShipgInstrnUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnItmShipgInstrnUUID

      Returns:
      Shipping Instruction UUID for Item in Supplier Qtn (SP)
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation 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
    • toString

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

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

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

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

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