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

public class FixedAsset extends VdmEntity<FixedAsset>
Asset Subnumber (Master Data)

Original entity name from the Odata EDM: FixedAsset

  • Field Details

    • ALL_FIELDS

      public static final FixedAssetSelectable ALL_FIELDS
      Selector for all available fields of FixedAsset.
    • FIXED_ASSET_ID

      public static final FixedAssetField<String> FIXED_ASSET_ID
      Use with available fluent helpers to apply the FixedAsset_ID field to query operations.
    • FIXED_ASSET_TEXT

      public static final FixedAssetField<String> FIXED_ASSET_TEXT
      Use with available fluent helpers to apply the FixedAssetText field to query operations.
    • COMPANY_CODE

      public static final FixedAssetField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • COMPANY_CODE_NAME

      public static final FixedAssetField<String> COMPANY_CODE_NAME
      Use with available fluent helpers to apply the CompanyCodeName field to query operations.
    • MASTER_FIXED_ASSET

      public static final FixedAssetField<String> MASTER_FIXED_ASSET
      Use with available fluent helpers to apply the MasterFixedAsset field to query operations.
  • Constructor Details

    • FixedAsset

      public FixedAsset()
    • FixedAsset

      public FixedAsset(@Nullable String fixedAsset_ID, @Nullable String fixedAssetText, @Nullable String companyCode, @Nullable String companyCodeName, @Nullable String masterFixedAsset)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: FixedAsset_ID

      Parameters:
      fixedAsset_ID - Asset Subnumber
    • setFixedAssetText

      public void setFixedAssetText(@Nullable String fixedAssetText)
      Constraints: none

      Original property name from the Odata EDM: FixedAssetText

      Parameters:
      fixedAssetText - Asset Subnumber (Description)
    • 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 - Asset Subnumber (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)
    • setMasterFixedAsset

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

      Original property name from the Odata EDM: MasterFixedAsset

      Parameters:
      masterFixedAsset - Asset Subnumber (Fixed Asset)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> FixedAssetField<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> FixedAssetField<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<FixedAsset>
    • setServicePathForFetch

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

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

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

      @Nonnull public static FixedAsset.FixedAssetBuilder builder()
    • getFixedAsset_ID

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

      Original property name from the Odata EDM: FixedAsset_ID

      Returns:
      Asset Subnumber
    • getFixedAssetText

      @Nullable public String getFixedAssetText()
      Constraints: none

      Original property name from the Odata EDM: FixedAssetText

      Returns:
      Asset Subnumber (Description)
    • getCompanyCode

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

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Asset Subnumber (Company Code)
    • getCompanyCodeName

      @Nullable public String getCompanyCodeName()
      Constraints: none

      Original property name from the Odata EDM: CompanyCodeName

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

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

      Original property name from the Odata EDM: MasterFixedAsset

      Returns:
      Asset Subnumber (Fixed Asset)
    • toString

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

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

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

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