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

public class ProjectBillingRequestItemJELnk extends VdmEntity<ProjectBillingRequestItemJELnk> implements VdmEntitySet
Proj Billg Req Item of Jrnl Entry Link

Original entity name from the Odata EDM: ProjectBillingRequestItemJELnk_Type

  • Field Details

  • Constructor Details

    • ProjectBillingRequestItemJELnk

      public ProjectBillingRequestItemJELnk()
    • ProjectBillingRequestItemJELnk

      public ProjectBillingRequestItemJELnk(@Nullable UUID projBillgElmntEntrItmUUID, @Nullable UUID projectBillingElementUUID, @Nullable String ledger, @Nullable String companyCode, @Nullable String fiscalYear, @Nullable String accountingDocument, @Nullable String ledgerGLLineItem, List<ProjectBillingRequestItem> to_ProjectBillingRequestItem)
  • Method Details

    • getType

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

      public void setProjBillgElmntEntrItmUUID(@Nullable UUID projBillgElmntEntrItmUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ProjBillgElmntEntrItmUUID

      Parameters:
      projBillgElmntEntrItmUUID - Project Billing Element Entry UUID
    • setProjectBillingElementUUID

      public void setProjectBillingElementUUID(@Nullable UUID projectBillingElementUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: ProjectBillingElementUUID

      Parameters:
      projectBillingElementUUID - Project Billing Element UUID
    • setLedger

      public void setLedger(@Nullable String ledger)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Ledger

      Parameters:
      ledger - Ledger in General Ledger Accounting
    • 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
    • setFiscalYear

      public void setFiscalYear(@Nullable String fiscalYear)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Parameters:
      fiscalYear - Fiscal Year
    • setAccountingDocument

      public void setAccountingDocument(@Nullable String accountingDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AccountingDocument

      Parameters:
      accountingDocument - Document Number of an Accounting Document
    • setLedgerGLLineItem

      public void setLedgerGLLineItem(@Nullable String ledgerGLLineItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: LedgerGLLineItem

      Parameters:
      ledgerGLLineItem - Six-Character Posting Item for Ledger
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<List<ProjectBillingRequestItem>> getProjectBillingRequestItemIfPresent()
      Retrieval of associated ProjectBillingRequestItem entities (one to many). This corresponds to the OData navigation property _ProjectBillingRequestItem.

      If the navigation property for an entity ProjectBillingRequestItemJELnk 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 _ProjectBillingRequestItem is already loaded, the result will contain the ProjectBillingRequestItem entities. If not, an Option with result state empty is returned.
    • setProjectBillingRequestItem

      public void setProjectBillingRequestItem(@Nonnull List<ProjectBillingRequestItem> value)
      Overwrites the list of associated ProjectBillingRequestItem entities for the loaded navigation property _ProjectBillingRequestItem.

      If the navigation property _ProjectBillingRequestItem of a queried ProjectBillingRequestItemJELnk is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of ProjectBillingRequestItem entities.
    • addProjectBillingRequestItem

      public void addProjectBillingRequestItem(ProjectBillingRequestItem... entity)
      Adds elements to the list of associated ProjectBillingRequestItem entities. This corresponds to the OData navigation property _ProjectBillingRequestItem.

      If the navigation property _ProjectBillingRequestItem of a queried ProjectBillingRequestItemJELnk is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of ProjectBillingRequestItem entities.
    • builder

    • getProjBillgElmntEntrItmUUID

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

      Original property name from the Odata EDM: ProjBillgElmntEntrItmUUID

      Returns:
      Project Billing Element Entry UUID
    • getProjectBillingElementUUID

      @Nullable public UUID getProjectBillingElementUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: ProjectBillingElementUUID

      Returns:
      Project Billing Element UUID
    • getLedger

      @Nullable public String getLedger()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Ledger

      Returns:
      Ledger in General Ledger Accounting
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getFiscalYear

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

      Original property name from the Odata EDM: FiscalYear

      Returns:
      Fiscal Year
    • getAccountingDocument

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

      Original property name from the Odata EDM: AccountingDocument

      Returns:
      Document Number of an Accounting Document
    • getLedgerGLLineItem

      @Nullable public String getLedgerGLLineItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: LedgerGLLineItem

      Returns:
      Six-Character Posting Item for Ledger
    • toString

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

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

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

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

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