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

public class SuplrListPrpsdCompanyCode extends VdmEntity<SuplrListPrpsdCompanyCode> implements VdmEntitySet
Prpsd Company Code for Suplr List

Original entity name from the Odata EDM: SuplrListPrpsdCompanyCode_Type

  • Field Details

  • Constructor Details

    • SuplrListPrpsdCompanyCode

      public SuplrListPrpsdCompanyCode()
    • SuplrListPrpsdCompanyCode

      public SuplrListPrpsdCompanyCode(@Nullable UUID suplrListPrpsdCompanyCodeUUID, @Nullable String companyCode, @Nullable UUID supplierListUUID, @Nullable Boolean isDeleted, @Nullable String suplrListCoCodeProposedByUser, @Nullable OffsetDateTime suplrListCoCodePrpsdDateTime, @Nullable String suplrListCoCodeProposalText, @Nullable String suplrListCoCodeApprovalText, @Nullable String suplrListCoCodeProposalStatus, @Nullable String suplrListCoCodeProposalAction, @Nullable Collection<SAP__Message> _Messages, @Nullable SupplierList to_SupplierListTP)
  • Method Details

    • getType

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

      public void setSuplrListPrpsdCompanyCodeUUID(@Nullable UUID suplrListPrpsdCompanyCodeUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SuplrListPrpsdCompanyCodeUUID

      Parameters:
      suplrListPrpsdCompanyCodeUUID - Proposed 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
    • setSuplrListCoCodeProposedByUser

      public void setSuplrListCoCodeProposedByUser(@Nullable String suplrListCoCodeProposedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SuplrListCoCodeProposedByUser

      Parameters:
      suplrListCoCodeProposedByUser - Proposed Company Code Created By User
    • setSuplrListCoCodePrpsdDateTime

      public void setSuplrListCoCodePrpsdDateTime(@Nullable OffsetDateTime suplrListCoCodePrpsdDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: SuplrListCoCodePrpsdDateTime

      Parameters:
      suplrListCoCodePrpsdDateTime - Company Code Proposal Date and Time
    • setSuplrListCoCodeProposalText

      public void setSuplrListCoCodeProposalText(@Nullable String suplrListCoCodeProposalText)
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListCoCodeProposalText

      Parameters:
      suplrListCoCodeProposalText - Company Code Proposal Comments
    • setSuplrListCoCodeApprovalText

      public void setSuplrListCoCodeApprovalText(@Nullable String suplrListCoCodeApprovalText)
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListCoCodeApprovalText

      Parameters:
      suplrListCoCodeApprovalText - Company Code Approver Comments
    • setSuplrListCoCodeProposalStatus

      public void setSuplrListCoCodeProposalStatus(@Nullable String suplrListCoCodeProposalStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SuplrListCoCodeProposalStatus

      Parameters:
      suplrListCoCodeProposalStatus - Proposed Company Code Status
    • 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
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public static BoundAction.SingleToSingle<SuplrListPrpsdCompanyCode,SuplrListPrpsdCompanyCode> acceptCompanyCodeProposal(@Nonnull String suplrListCoCodeApprovalText)
      Action that can be applied to any entity object of this class.

      Parameters:
      suplrListCoCodeApprovalText - Constraints: Not nullable, Maximum length: 45

      Original parameter name from the Odata EDM: SuplrListCoCodeApprovalText

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • rejectCompanyCodeProposal

      @Nonnull public static BoundAction.SingleToSingle<SuplrListPrpsdCompanyCode,SuplrListPrpsdCompanyCode> rejectCompanyCodeProposal(@Nonnull String suplrListCoCodeApprovalText)
      Action that can be applied to any entity object of this class.

      Parameters:
      suplrListCoCodeApprovalText - Constraints: Not nullable, Maximum length: 45

      Original parameter name from the Odata EDM: SuplrListCoCodeApprovalText

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getSuplrListPrpsdCompanyCodeUUID

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

      Original property name from the Odata EDM: SuplrListPrpsdCompanyCodeUUID

      Returns:
      Proposed 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
    • getSuplrListCoCodeProposedByUser

      @Nullable public String getSuplrListCoCodeProposedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SuplrListCoCodeProposedByUser

      Returns:
      Proposed Company Code Created By User
    • getSuplrListCoCodePrpsdDateTime

      @Nullable public OffsetDateTime getSuplrListCoCodePrpsdDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: SuplrListCoCodePrpsdDateTime

      Returns:
      Company Code Proposal Date and Time
    • getSuplrListCoCodeProposalText

      @Nullable public String getSuplrListCoCodeProposalText()
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListCoCodeProposalText

      Returns:
      Company Code Proposal Comments
    • getSuplrListCoCodeApprovalText

      @Nullable public String getSuplrListCoCodeApprovalText()
      Constraints: Not nullable, Maximum length: 45

      Original property name from the Odata EDM: SuplrListCoCodeApprovalText

      Returns:
      Company Code Approver Comments
    • getSuplrListCoCodeProposalStatus

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

      Original property name from the Odata EDM: SuplrListCoCodeProposalStatus

      Returns:
      Proposed Company Code Status
    • getSuplrListCoCodeProposalAction

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

      Original property name from the Odata EDM: SuplrListCoCodeProposalAction

      Returns:
      Company Code Proposal Action
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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