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

public class BOMItemCategoryText extends VdmEntity<BOMItemCategoryText>
Item Category Description

Original entity name from the Odata EDM: A_BOMItemCategoryTextType

  • Field Details

    • ALL_FIELDS

      public static final BOMItemCategoryTextSelectable ALL_FIELDS
      Selector for all available fields of BOMItemCategoryText.
    • LANGUAGE

      public static final BOMItemCategoryTextField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • BILL_OF_MATERIAL_ITEM_CATEGORY

      public static final BOMItemCategoryTextField<String> BILL_OF_MATERIAL_ITEM_CATEGORY
      Use with available fluent helpers to apply the BillOfMaterialItemCategory field to query operations.
    • BILL_OF_MATERIAL_ITEM_CATEGORY_DESC

      public static final BOMItemCategoryTextField<String> BILL_OF_MATERIAL_ITEM_CATEGORY_DESC
      Use with available fluent helpers to apply the BillOfMaterialItemCategoryDesc field to query operations.
  • Constructor Details

    • BOMItemCategoryText

      public BOMItemCategoryText()
    • BOMItemCategoryText

      public BOMItemCategoryText(@Nullable String language, @Nullable String billOfMaterialItemCategory, @Nullable String billOfMaterialItemCategoryDesc)
  • Method Details

    • getType

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

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setBillOfMaterialItemCategory

      public void setBillOfMaterialItemCategory(@Nullable String billOfMaterialItemCategory)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BillOfMaterialItemCategory

      Parameters:
      billOfMaterialItemCategory - Item category (bill of material)
    • setBillOfMaterialItemCategoryDesc

      public void setBillOfMaterialItemCategoryDesc(@Nullable String billOfMaterialItemCategoryDesc)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: BillOfMaterialItemCategoryDesc

      Parameters:
      billOfMaterialItemCategoryDesc - Item Category Description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BOMItemCategoryTextField<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> BOMItemCategoryTextField<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<BOMItemCategoryText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BOMItemCategoryText.BOMItemCategoryTextBuilder builder()
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getBillOfMaterialItemCategory

      @Nullable public String getBillOfMaterialItemCategory()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BillOfMaterialItemCategory

      Returns:
      Item category (bill of material)
    • getBillOfMaterialItemCategoryDesc

      @Nullable public String getBillOfMaterialItemCategoryDesc()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: BillOfMaterialItemCategoryDesc

      Returns:
      Item Category Description
    • toString

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

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

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

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