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

public class SupplierListCompanyCode extends VdmEntity<SupplierListCompanyCode> implements VdmEntitySet
Company Code for Supplier List

Original entity name from the Odata EDM: SupplierListCompanyCode_Type

  • Field Details

  • Constructor Details

    • SupplierListCompanyCode

      public SupplierListCompanyCode()
    • SupplierListCompanyCode

      public SupplierListCompanyCode(@Nullable UUID companyCodeUUID, @Nullable String companyCode, @Nullable UUID supplierListUUID, @Nullable Boolean isDeleted, @Nullable String suplrListCoCodeProposalAction, @Nullable SupplierList to_SupplierListTP)
  • Method Details

    • getType

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

      public void setCompanyCodeUUID(@Nullable UUID companyCodeUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CompanyCodeUUID

      Parameters:
      companyCodeUUID - Company Code UUID
    • 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
    • setSupplierListUUID

      public void setSupplierListUUID(@Nullable UUID supplierListUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierListUUID

      Parameters:
      supplierListUUID - Supplier List UUID
    • setIsDeleted

      public void setIsDeleted(@Nullable Boolean isDeleted)
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Parameters:
      isDeleted - “Is Deleted” Indicator
    • setSuplrListCoCodeProposalAction

      public void setSuplrListCoCodeProposalAction(@Nullable String suplrListCoCodeProposalAction)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrListCoCodeProposalAction

      Parameters:
      suplrListCoCodeProposalAction - Company Code Proposal Action
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SupplierListCompanyCode>
    • getSupplierListTPIfPresent

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

      If the navigation property for an entity SupplierListCompanyCode 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 _SupplierListTP is already loaded, the result will contain the SupplierList entity. If not, an Option with result state empty is returned.
    • setSupplierListTP

      public void setSupplierListTP(SupplierList value)
      Overwrites the associated SupplierList entity for the loaded navigation property _SupplierListTP.
      Parameters:
      value - New SupplierList entity.
    • builder

    • getCompanyCodeUUID

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

      Original property name from the Odata EDM: CompanyCodeUUID

      Returns:
      Company Code UUID
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getSupplierListUUID

      @Nullable public UUID getSupplierListUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: SupplierListUUID

      Returns:
      Supplier List UUID
    • getIsDeleted

      @Nullable public Boolean getIsDeleted()
      Constraints: Not nullable

      Original property name from the Odata EDM: IsDeleted

      Returns:
      “Is Deleted” Indicator
    • getSuplrListCoCodeProposalAction

      @Nullable public String getSuplrListCoCodeProposalAction()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrListCoCodeProposalAction

      Returns:
      Company Code Proposal Action
    • toString

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

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

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

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

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