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

public class ScrtyDepReqDocFlow_2 extends VdmEntity<ScrtyDepReqDocFlow_2> implements VdmEntitySet
Document Flow

Original entity name from the Odata EDM: A_ScrtyDepReqDocFlow_2_Type

  • Field Details

  • Constructor Details

    • ScrtyDepReqDocFlow_2

      public ScrtyDepReqDocFlow_2()
    • ScrtyDepReqDocFlow_2

      public ScrtyDepReqDocFlow_2(@Nullable String cASecurityDeposit, @Nullable String cADocumentNumber, @Nullable String cAScrtyDepositClearedDocument, @Nullable String cAAuthorizationGroup, @Nullable String cASecurityDepositDocument, @Nullable String cASecurityDepositDocCategory, @Nullable String cASecurityDepositDocCatText, @Nullable BigDecimal cAAmountInTransactionCurrency, @Nullable String transactionCurrency, @Nullable BigDecimal cAReleasedAmtInPaymentCurrency, @Nullable String paymentCurrency, @Nullable String createdByUser, @Nullable String createdByUserDescription, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable CASecurityDepositReqDetail_2 to_CAScrtyDepRequestDetail, List<CASecurityDeposit_2> to_CASecurityDeposit)
  • Method Details

    • getType

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

      public void setCASecurityDeposit(@Nullable String cASecurityDeposit)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CASecurityDeposit

      Parameters:
      cASecurityDeposit - Security Deposit
    • setCADocumentNumber

      public void setCADocumentNumber(@Nullable String cADocumentNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentNumber

      Parameters:
      cADocumentNumber - Document
    • setCAScrtyDepositClearedDocument

      public void setCAScrtyDepositClearedDocument(@Nullable String cAScrtyDepositClearedDocument)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CAScrtyDepositClearedDocument

      Parameters:
      cAScrtyDepositClearedDocument - Number of Cleared Document
    • setCAAuthorizationGroup

      public void setCAAuthorizationGroup(@Nullable String cAAuthorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CAAuthorizationGroup

      Parameters:
      cAAuthorizationGroup - Authorization Group
    • setCASecurityDepositDocument

      public void setCASecurityDepositDocument(@Nullable String cASecurityDepositDocument)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CASecurityDepositDocument

      Parameters:
      cASecurityDepositDocument - Document
    • setCASecurityDepositDocCategory

      public void setCASecurityDepositDocCategory(@Nullable String cASecurityDepositDocCategory)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CASecurityDepositDocCategory

      Parameters:
      cASecurityDepositDocCategory - Document Category of Security Deposit
    • setCASecurityDepositDocCatText

      public void setCASecurityDepositDocCatText(@Nullable String cASecurityDepositDocCatText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: CASecurityDepositDocCatText

      Parameters:
      cASecurityDepositDocCatText - Description of Document Category of Security Deposit
    • setCAAmountInTransactionCurrency

      public void setCAAmountInTransactionCurrency(@Nullable BigDecimal cAAmountInTransactionCurrency)
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CAAmountInTransactionCurrency

      Parameters:
      cAAmountInTransactionCurrency - Document Amount
    • setTransactionCurrency

      public void setTransactionCurrency(@Nullable String transactionCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TransactionCurrency

      Parameters:
      transactionCurrency - Transaction Currency
    • setCAReleasedAmtInPaymentCurrency

      public void setCAReleasedAmtInPaymentCurrency(@Nullable BigDecimal cAReleasedAmtInPaymentCurrency)
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAReleasedAmtInPaymentCurrency

      Parameters:
      cAReleasedAmtInPaymentCurrency - Released Amount of Cash Security Deposit
    • setPaymentCurrency

      public void setPaymentCurrency(@Nullable String paymentCurrency)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PaymentCurrency

      Parameters:
      paymentCurrency - Transaction Currency
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By
    • setCreatedByUserDescription

      public void setCreatedByUserDescription(@Nullable String createdByUserDescription)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CreatedByUserDescription

      Parameters:
      createdByUserDescription - User Description
    • setCreationDate

      public void setCreationDate(@Nullable LocalDate creationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setCreationTime

      public void setCreationTime(@Nullable LocalTime creationTime)
      Constraints: Not nullable

      Original property name from the Odata EDM: CreationTime

      Parameters:
      creationTime - Time at Which the Object Was Created
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity ScrtyDepReqDocFlow_2 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 _CAScrtyDepRequestDetail is already loaded, the result will contain the CASecurityDepositReqDetail_2 entity. If not, an Option with result state empty is returned.
    • setCAScrtyDepRequestDetail

      public void setCAScrtyDepRequestDetail(CASecurityDepositReqDetail_2 value)
      Overwrites the associated CASecurityDepositReqDetail_2 entity for the loaded navigation property _CAScrtyDepRequestDetail.
      Parameters:
      value - New CASecurityDepositReqDetail_2 entity.
    • getCASecurityDepositIfPresent

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

      If the navigation property for an entity ScrtyDepReqDocFlow_2 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 _CASecurityDeposit is already loaded, the result will contain the CASecurityDeposit_2 entities. If not, an Option with result state empty is returned.
    • setCASecurityDeposit

      public void setCASecurityDeposit(@Nonnull List<CASecurityDeposit_2> value)
      Overwrites the list of associated CASecurityDeposit_2 entities for the loaded navigation property _CASecurityDeposit.

      If the navigation property _CASecurityDeposit of a queried ScrtyDepReqDocFlow_2 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 CASecurityDeposit_2 entities.
    • addCASecurityDeposit

      public void addCASecurityDeposit(CASecurityDeposit_2... entity)
      Adds elements to the list of associated CASecurityDeposit_2 entities. This corresponds to the OData navigation property _CASecurityDeposit.

      If the navigation property _CASecurityDeposit of a queried ScrtyDepReqDocFlow_2 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 CASecurityDeposit_2 entities.
    • builder

      @Nonnull public static ScrtyDepReqDocFlow_2.ScrtyDepReqDocFlow_2Builder builder()
    • getCASecurityDeposit

      @Nullable public String getCASecurityDeposit()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CASecurityDeposit

      Returns:
      Security Deposit
    • getCADocumentNumber

      @Nullable public String getCADocumentNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CADocumentNumber

      Returns:
      Document
    • getCAScrtyDepositClearedDocument

      @Nullable public String getCAScrtyDepositClearedDocument()
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CAScrtyDepositClearedDocument

      Returns:
      Number of Cleared Document
    • getCAAuthorizationGroup

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

      Original property name from the Odata EDM: CAAuthorizationGroup

      Returns:
      Authorization Group
    • getCASecurityDepositDocument

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

      Original property name from the Odata EDM: CASecurityDepositDocument

      Returns:
      Document
    • getCASecurityDepositDocCategory

      @Nullable public String getCASecurityDepositDocCategory()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CASecurityDepositDocCategory

      Returns:
      Document Category of Security Deposit
    • getCASecurityDepositDocCatText

      @Nullable public String getCASecurityDepositDocCatText()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: CASecurityDepositDocCatText

      Returns:
      Description of Document Category of Security Deposit
    • getCAAmountInTransactionCurrency

      @Nullable public BigDecimal getCAAmountInTransactionCurrency()
      Constraints: Not nullable, Precision: 13, Scale: 0

      Original property name from the Odata EDM: CAAmountInTransactionCurrency

      Returns:
      Document Amount
    • getTransactionCurrency

      @Nullable public String getTransactionCurrency()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: TransactionCurrency

      Returns:
      Transaction Currency
    • getCAReleasedAmtInPaymentCurrency

      @Nullable public BigDecimal getCAReleasedAmtInPaymentCurrency()
      Constraints: Not nullable, Precision: 11, Scale: 0

      Original property name from the Odata EDM: CAReleasedAmtInPaymentCurrency

      Returns:
      Released Amount of Cash Security Deposit
    • getPaymentCurrency

      @Nullable public String getPaymentCurrency()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PaymentCurrency

      Returns:
      Transaction Currency
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By
    • getCreatedByUserDescription

      @Nullable public String getCreatedByUserDescription()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CreatedByUserDescription

      Returns:
      User Description
    • getCreationDate

      @Nullable public LocalDate getCreationDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getCreationTime

      @Nullable public LocalTime getCreationTime()
      Constraints: Not nullable

      Original property name from the Odata EDM: CreationTime

      Returns:
      Time at Which the Object Was Created
    • toString

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

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

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

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

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