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

public class SrcgProjQtnAllowedIncoterms extends VdmEntity<SrcgProjQtnAllowedIncoterms> implements VdmEntitySet
Allowed Incoterms

Original entity name from the Odata EDM: SrcgProjQtnAllowedIncoterms_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnAllowedIncoterms

      public SrcgProjQtnAllowedIncoterms()
    • SrcgProjQtnAllowedIncoterms

      public SrcgProjQtnAllowedIncoterms(@Nullable UUID srcgProjQtnAllwdIncotermsUUID, @Nullable UUID srcgProjQtnItemIncotermsUUID, @Nullable UUID sourcingProjectQuotationUUID, @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, @Nullable SrcgProjQtnItemIncoterms to_SrcgProjQtnItemIncoterms)
  • Method Details

    • getType

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

      public void setSrcgProjQtnAllwdIncotermsUUID(@Nullable UUID srcgProjQtnAllwdIncotermsUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnAllwdIncotermsUUID

      Parameters:
      srcgProjQtnAllwdIncotermsUUID - UUID of Allowed Incoterm for Item in Supplier Quotation (SP)
    • setSrcgProjQtnItemIncotermsUUID

      public void setSrcgProjQtnItemIncotermsUUID(@Nullable UUID srcgProjQtnItemIncotermsUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnItemIncotermsUUID

      Parameters:
      srcgProjQtnItemIncotermsUUID - Incoterms UUID of Item in Sourcing Project
    • 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
    • setIncotermsClassification

      public void setIncotermsClassification(@Nullable String incotermsClassification)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: IncotermsClassification

      Parameters:
      incotermsClassification - Incoterms (Part 1)
    • setIncotermsTransferLocation

      public void setIncotermsTransferLocation(@Nullable String incotermsTransferLocation)
      Constraints: Not nullable, Maximum length: 28

      Original property name from the Odata EDM: IncotermsTransferLocation

      Parameters:
      incotermsTransferLocation - Incoterms (Part 2)
    • setIncotermsVersion

      public void setIncotermsVersion(@Nullable String incotermsVersion)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: IncotermsVersion

      Parameters:
      incotermsVersion - Incoterms Version
    • setIncotermsLocation1

      public void setIncotermsLocation1(@Nullable String incotermsLocation1)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation1

      Parameters:
      incotermsLocation1 - Incoterms Location 1
    • setIncotermsLocation2

      public void setIncotermsLocation2(@Nullable String incotermsLocation2)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation2

      Parameters:
      incotermsLocation2 - Incoterms Location 2
    • 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<SrcgProjQtnAllowedIncoterms>
    • getKey

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SrcgProjQtnAllowedIncoterms>
    • 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 SrcgProjQtnAllowedIncoterms 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.
    • getSrcgProjQtnItemIncotermsIfPresent

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

      If the navigation property for an entity SrcgProjQtnAllowedIncoterms 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 _SrcgProjQtnItemIncoterms is already loaded, the result will contain the SrcgProjQtnItemIncoterms entity. If not, an Option with result state empty is returned.
    • setSrcgProjQtnItemIncoterms

      public void setSrcgProjQtnItemIncoterms(SrcgProjQtnItemIncoterms value)
      Overwrites the associated SrcgProjQtnItemIncoterms entity for the loaded navigation property _SrcgProjQtnItemIncoterms.
      Parameters:
      value - New SrcgProjQtnItemIncoterms entity.
    • builder

    • getSrcgProjQtnAllwdIncotermsUUID

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

      Original property name from the Odata EDM: SrcgProjQtnAllwdIncotermsUUID

      Returns:
      UUID of Allowed Incoterm for Item in Supplier Quotation (SP)
    • getSrcgProjQtnItemIncotermsUUID

      @Nullable public UUID getSrcgProjQtnItemIncotermsUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnItemIncotermsUUID

      Returns:
      Incoterms UUID of Item in Sourcing Project
    • 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
    • getIncotermsClassification

      @Nullable public String getIncotermsClassification()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: IncotermsClassification

      Returns:
      Incoterms (Part 1)
    • getIncotermsTransferLocation

      @Nullable public String getIncotermsTransferLocation()
      Constraints: Not nullable, Maximum length: 28

      Original property name from the Odata EDM: IncotermsTransferLocation

      Returns:
      Incoterms (Part 2)
    • getIncotermsVersion

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

      Original property name from the Odata EDM: IncotermsVersion

      Returns:
      Incoterms Version
    • getIncotermsLocation1

      @Nullable public String getIncotermsLocation1()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation1

      Returns:
      Incoterms Location 1
    • getIncotermsLocation2

      @Nullable public String getIncotermsLocation2()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: IncotermsLocation2

      Returns:
      Incoterms Location 2
    • 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<SrcgProjQtnAllowedIncoterms>
    • equals

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

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

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

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