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

public class SrcgProjQtnSupplierContact extends VdmEntity<SrcgProjQtnSupplierContact> implements VdmEntitySet
Supplier Contact

Original entity name from the Odata EDM: SrcgProjQtnSupplierContact_Type

  • Field Details

  • Constructor Details

    • SrcgProjQtnSupplierContact

      public SrcgProjQtnSupplierContact()
    • SrcgProjQtnSupplierContact

      public SrcgProjQtnSupplierContact(@Nullable UUID srcgProjQtnSupplierContactUUID, @Nullable UUID sourcingProjectQuotationUUID, @Nullable String srcgProjQtnSupplierContactCat, @Nullable String businessPartner, @Nullable SourcingProjectQuotation to_SourcingProjectQuotation)
  • Method Details

    • getType

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

      public void setSrcgProjQtnSupplierContactUUID(@Nullable UUID srcgProjQtnSupplierContactUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjQtnSupplierContactUUID

      Parameters:
      srcgProjQtnSupplierContactUUID - Contact UUID for Supplier Quotation 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
    • setSrcgProjQtnSupplierContactCat

      public void setSrcgProjQtnSupplierContactCat(@Nullable String srcgProjQtnSupplierContactCat)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SrcgProjQtnSupplierContactCat

      Parameters:
      srcgProjQtnSupplierContactCat - Contact Category for Supplier Quotation for Sourcing Project
    • setBusinessPartner

      public void setBusinessPartner(@Nullable String businessPartner)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • getEntityCollection

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

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

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

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

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

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

    • getSrcgProjQtnSupplierContactUUID

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

      Original property name from the Odata EDM: SrcgProjQtnSupplierContactUUID

      Returns:
      Contact UUID for Supplier Quotation in Sourcing Project
    • getSourcingProjectQuotationUUID

      @Nullable public UUID getSourcingProjectQuotationUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectQuotationUUID

      Returns:
      Supplier Quotation UUID
    • getSrcgProjQtnSupplierContactCat

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

      Original property name from the Odata EDM: SrcgProjQtnSupplierContactCat

      Returns:
      Contact Category for Supplier Quotation for Sourcing Project
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • toString

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

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

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

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

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