Class ClearingAccountingDocument

java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ClearingAccountingDocument>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.ClearingAccountingDocument

public class ClearingAccountingDocument extends VdmEntity<ClearingAccountingDocument>
Clearing Journal Entry (Deprecated) (Master Data)

Original entity name from the Odata EDM: ClearingAccountingDocument

  • Field Details

  • Constructor Details

    • ClearingAccountingDocument

      public ClearingAccountingDocument()
    • ClearingAccountingDocument

      public ClearingAccountingDocument(@Nullable String clearingAccountingDocument_ID, @Nullable String companyCode, @Nullable String companyCodeName, @Nullable String fiscalYear)
  • Method Details

    • getType

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

      public void setClearingAccountingDocument_ID(@Nullable String clearingAccountingDocument_ID)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ClearingAccountingDocument_ID

      Parameters:
      clearingAccountingDocument_ID - Clearing Journal Entry (Deprecated)
    • setCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Clearing Journal Entry (Deprecated) (Company Code)
    • setCompanyCodeName

      public void setCompanyCodeName(@Nullable String companyCodeName)
      Constraints: none

      Original property name from the Odata EDM: CompanyCodeName

      Parameters:
      companyCodeName - Company Code (Description) (Parent Description)
    • setFiscalYear

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

      Original property name from the Odata EDM: FiscalYear

      Parameters:
      fiscalYear - Clearing Journal Entry (Deprecated) (Fiscal Year)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ClearingAccountingDocumentField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> ClearingAccountingDocumentField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ClearingAccountingDocument>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ClearingAccountingDocument>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ClearingAccountingDocument>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ClearingAccountingDocument>
    • builder

    • getClearingAccountingDocument_ID

      @Nullable public String getClearingAccountingDocument_ID()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ClearingAccountingDocument_ID

      Returns:
      Clearing Journal Entry (Deprecated)
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Clearing Journal Entry (Deprecated) (Company Code)
    • getCompanyCodeName

      @Nullable public String getCompanyCodeName()
      Constraints: none

      Original property name from the Odata EDM: CompanyCodeName

      Returns:
      Company Code (Description) (Parent Description)
    • getFiscalYear

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

      Original property name from the Odata EDM: FiscalYear

      Returns:
      Clearing Journal Entry (Deprecated) (Fiscal Year)
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ClearingAccountingDocument>