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

public class SettlmtDocType extends VdmEntity<SettlmtDocType> implements VdmEntitySet
Settlement Document Types

Original entity name from the Odata EDM: SettlmtDocTypeType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setSettlmtDocType(@Nullable String settlmtDocType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SettlmtDocType

      Parameters:
      settlmtDocType - Settlement Document Type
    • setSettlmtDocCat

      public void setSettlmtDocCat(@Nullable String settlmtDocCat)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SettlmtDocCat

      Parameters:
      settlmtDocCat - Settlement Document Category
    • setSettlmtCat

      public void setSettlmtCat(@Nullable String settlmtCat)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SettlmtCat

      Parameters:
      settlmtCat - Settlement Category
    • setSettlmtBusProcVar

      public void setSettlmtBusProcVar(@Nullable String settlmtBusProcVar)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SettlmtBusProcVar

      Parameters:
      settlmtBusProcVar - Settlement Management Process Category
    • setSettlmtMgmtPrcgApplCat

      public void setSettlmtMgmtPrcgApplCat(@Nullable String settlmtMgmtPrcgApplCat)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SettlmtMgmtPrcgApplCat

      Parameters:
      settlmtMgmtPrcgApplCat - Application for Price Determination
    • setSettlmtTxCodeTxTypeChkCat

      public void setSettlmtTxCodeTxTypeChkCat(@Nullable String settlmtTxCodeTxTypeChkCat)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SettlmtTxCodeTxTypeChkCat

      Parameters:
      settlmtTxCodeTxTypeChkCat - Control of Tax Type Check for Tax Codes
    • setJournalEntryType

      public void setJournalEntryType(@Nullable String journalEntryType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: JournalEntryType

      Parameters:
      journalEntryType - Journal Entry Type for Settlement Management Document
    • setSettlmtDocTypeOfCollection

      public void setSettlmtDocTypeOfCollection(@Nullable String settlmtDocTypeOfCollection)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SettlmtDocTypeOfCollection

      Parameters:
      settlmtDocTypeOfCollection - Settlement Doc. Type for Collective Settlement
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SettlmtDocType 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 _SetlMgmtHdrTxtObjTypeAssgmt is already loaded, the result will contain the SetlMgmtHdrTxtObjTypeAssgmt entities. If not, an Option with result state empty is returned.
    • setSetlMgmtHdrTxtObjTypeAssgmt

      public void setSetlMgmtHdrTxtObjTypeAssgmt(@Nonnull List<SetlMgmtHdrTxtObjTypeAssgmt> value)
      Overwrites the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities for the loaded navigation property _SetlMgmtHdrTxtObjTypeAssgmt.

      If the navigation property _SetlMgmtHdrTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtHdrTxtObjTypeAssgmt entities.
    • addSetlMgmtHdrTxtObjTypeAssgmt

      public void addSetlMgmtHdrTxtObjTypeAssgmt(SetlMgmtHdrTxtObjTypeAssgmt... entity)
      Adds elements to the list of associated SetlMgmtHdrTxtObjTypeAssgmt entities. This corresponds to the OData navigation property _SetlMgmtHdrTxtObjTypeAssgmt.

      If the navigation property _SetlMgmtHdrTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtHdrTxtObjTypeAssgmt entities.
    • getSetlMgmtItmTxtObjTypeAssgmtIfPresent

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

      If the navigation property for an entity SettlmtDocType 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 _SetlMgmtItmTxtObjTypeAssgmt is already loaded, the result will contain the SetlMgmtItmTxtObjTypeAssgmt entities. If not, an Option with result state empty is returned.
    • setSetlMgmtItmTxtObjTypeAssgmt

      public void setSetlMgmtItmTxtObjTypeAssgmt(@Nonnull List<SetlMgmtItmTxtObjTypeAssgmt> value)
      Overwrites the list of associated SetlMgmtItmTxtObjTypeAssgmt entities for the loaded navigation property _SetlMgmtItmTxtObjTypeAssgmt.

      If the navigation property _SetlMgmtItmTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtItmTxtObjTypeAssgmt entities.
    • addSetlMgmtItmTxtObjTypeAssgmt

      public void addSetlMgmtItmTxtObjTypeAssgmt(SetlMgmtItmTxtObjTypeAssgmt... entity)
      Adds elements to the list of associated SetlMgmtItmTxtObjTypeAssgmt entities. This corresponds to the OData navigation property _SetlMgmtItmTxtObjTypeAssgmt.

      If the navigation property _SetlMgmtItmTxtObjTypeAssgmt of a queried SettlmtDocType 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 SetlMgmtItmTxtObjTypeAssgmt entities.
    • getSettlmtDocTypeOfCollectionIfPresent

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

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

      public void setSettlmtDocTypeOfCollection(SettlmtDocType value)
      Overwrites the associated SettlmtDocType entity for the loaded navigation property _SettlmtDocTypeOfCollection.
      Parameters:
      value - New SettlmtDocType entity.
    • builder

      @Nonnull public static SettlmtDocType.SettlmtDocTypeBuilder builder()
    • getSettlmtDocType

      @Nullable public String getSettlmtDocType()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SettlmtDocType

      Returns:
      Settlement Document Type
    • getSettlmtDocCat

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

      Original property name from the Odata EDM: SettlmtDocCat

      Returns:
      Settlement Document Category
    • getSettlmtCat

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

      Original property name from the Odata EDM: SettlmtCat

      Returns:
      Settlement Category
    • getSettlmtBusProcVar

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

      Original property name from the Odata EDM: SettlmtBusProcVar

      Returns:
      Settlement Management Process Category
    • getSettlmtMgmtPrcgApplCat

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

      Original property name from the Odata EDM: SettlmtMgmtPrcgApplCat

      Returns:
      Application for Price Determination
    • getSettlmtTxCodeTxTypeChkCat

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

      Original property name from the Odata EDM: SettlmtTxCodeTxTypeChkCat

      Returns:
      Control of Tax Type Check for Tax Codes
    • getJournalEntryType

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

      Original property name from the Odata EDM: JournalEntryType

      Returns:
      Journal Entry Type for Settlement Management Document
    • getSettlmtDocTypeOfCollection

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

      Original property name from the Odata EDM: SettlmtDocTypeOfCollection

      Returns:
      Settlement Doc. Type for Collective Settlement
    • toString

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

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

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

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

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