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

public class SourcingProjectContact extends VdmEntity<SourcingProjectContact> implements VdmEntitySet
Contact

Original entity name from the Odata EDM: SourcingProjectContact_Type

  • Field Details

  • Constructor Details

    • SourcingProjectContact

      public SourcingProjectContact()
    • SourcingProjectContact

      public SourcingProjectContact(@Nullable UUID sourcingProjectContactUUID, @Nullable UUID sourcingProjectUUID, @Nullable String sourcingProjectContactCategory, @Nullable String businessPartner, @Nullable Boolean srcgProjCntctIsVisibleToSuplr, @Nullable String sourcingOrigin, @Nullable String sourcingScenario, @Nullable SourcingProject to_SourcingProject)
  • Method Details

    • getType

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

      public void setSourcingProjectContactUUID(@Nullable UUID sourcingProjectContactUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SourcingProjectContactUUID

      Parameters:
      sourcingProjectContactUUID - 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
    • setSourcingProjectContactCategory

      public void setSourcingProjectContactCategory(@Nullable String sourcingProjectContactCategory)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SourcingProjectContactCategory

      Parameters:
      sourcingProjectContactCategory - Contact Category 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
    • setSrcgProjCntctIsVisibleToSuplr

      public void setSrcgProjCntctIsVisibleToSuplr(@Nullable Boolean srcgProjCntctIsVisibleToSuplr)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjCntctIsVisibleToSuplr

      Parameters:
      srcgProjCntctIsVisibleToSuplr - Sourcing Project Contact Is Visible to Supplier
    • 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<SourcingProjectContact>
    • getKey

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

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

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

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

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

      @Nonnull public static SourcingProjectContact.SourcingProjectContactBuilder builder()
    • getSourcingProjectContactUUID

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

      Original property name from the Odata EDM: SourcingProjectContactUUID

      Returns:
      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
    • getSourcingProjectContactCategory

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

      Original property name from the Odata EDM: SourcingProjectContactCategory

      Returns:
      Contact Category 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
    • getSrcgProjCntctIsVisibleToSuplr

      @Nullable public Boolean getSrcgProjCntctIsVisibleToSuplr()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrcgProjCntctIsVisibleToSuplr

      Returns:
      Sourcing Project Contact Is Visible to Supplier
    • 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<SourcingProjectContact>
    • equals

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

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

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

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