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

public class SrcgProjAllwdSuplrContact extends VdmEntity<SrcgProjAllwdSuplrContact> implements VdmEntitySet
Allowed Supplier Contact

Original entity name from the Odata EDM: SrcgProjAllwdSuplrContact_Type

  • Field Details

  • Constructor Details

    • SrcgProjAllwdSuplrContact

      public SrcgProjAllwdSuplrContact()
    • SrcgProjAllwdSuplrContact

      public SrcgProjAllwdSuplrContact(@Nullable UUID srcgProjAllwdSuplrContactUUID, @Nullable UUID sourcingProjectUUID, @Nullable String srcgProjAllwdSuplrContactCat, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject)
  • Method Details

    • getType

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

      public void setSrcgProjAllwdSuplrContactUUID(@Nullable UUID srcgProjAllwdSuplrContactUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjAllwdSuplrContactUUID

      Parameters:
      srcgProjAllwdSuplrContactUUID - Allowed Contact UUID for Sourcing Project
    • setSourcingProjectUUID

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

      Original property name from the Odata EDM: SourcingProjectUUID

      Parameters:
      sourcingProjectUUID - Sourcing Project UUID
    • setSrcgProjAllwdSuplrContactCat

      public void setSrcgProjAllwdSuplrContactCat(@Nullable String srcgProjAllwdSuplrContactCat)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SrcgProjAllwdSuplrContactCat

      Parameters:
      srcgProjAllwdSuplrContactCat - Contact Category for Supplier Quotation
    • 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<SrcgProjAllwdSuplrContact>
    • getKey

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

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

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

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

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

    • getSrcgProjAllwdSuplrContactUUID

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

      Original property name from the Odata EDM: SrcgProjAllwdSuplrContactUUID

      Returns:
      Allowed Contact UUID for Sourcing Project
    • getSourcingProjectUUID

      @Nullable public UUID getSourcingProjectUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectUUID

      Returns:
      Sourcing Project UUID
    • getSrcgProjAllwdSuplrContactCat

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

      Original property name from the Odata EDM: SrcgProjAllwdSuplrContactCat

      Returns:
      Contact Category for Supplier Quotation
    • 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<SrcgProjAllwdSuplrContact>
    • equals

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

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

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

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