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

public class BillOfMaterialUsageText extends VdmEntity<BillOfMaterialUsageText>
Usage Description

Original entity name from the Odata EDM: A_BillOfMaterialUsageTextType

  • Field Details

    • ALL_FIELDS

      public static final BillOfMaterialUsageTextSelectable ALL_FIELDS
      Selector for all available fields of BillOfMaterialUsageText.
    • LANGUAGE

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

      public static final BillOfMaterialUsageTextField<String> BILL_OF_MATERIAL_VARIANT_USAGE
      Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations.
    • BILL_OF_MATERIAL_VARIANT_USAGE_DESC

      public static final BillOfMaterialUsageTextField<String> BILL_OF_MATERIAL_VARIANT_USAGE_DESC
      Use with available fluent helpers to apply the BillOfMaterialVariantUsageDesc field to query operations.
  • Constructor Details

    • BillOfMaterialUsageText

      public BillOfMaterialUsageText()
    • BillOfMaterialUsageText

      public BillOfMaterialUsageText(@Nullable String language, @Nullable String billOfMaterialVariantUsage, @Nullable String billOfMaterialVariantUsageDesc)
  • Method Details

    • getType

      @Nonnull public Class<BillOfMaterialUsageText> getType()
      Specified by:
      getType in class VdmObject<BillOfMaterialUsageText>
    • 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
    • setBillOfMaterialVariantUsage

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

      Original property name from the Odata EDM: BillOfMaterialVariantUsage

      Parameters:
      billOfMaterialVariantUsage - BOM Usage
    • setBillOfMaterialVariantUsageDesc

      public void setBillOfMaterialVariantUsageDesc(@Nullable String billOfMaterialVariantUsageDesc)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: BillOfMaterialVariantUsageDesc

      Parameters:
      billOfMaterialVariantUsageDesc - BOM usage text
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BillOfMaterialUsageTextField<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> BillOfMaterialUsageTextField<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<BillOfMaterialUsageText>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<BillOfMaterialUsageText>
    • 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
    • getBillOfMaterialVariantUsage

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

      Original property name from the Odata EDM: BillOfMaterialVariantUsage

      Returns:
      BOM Usage
    • getBillOfMaterialVariantUsageDesc

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

      Original property name from the Odata EDM: BillOfMaterialVariantUsageDesc

      Returns:
      BOM usage text
    • toString

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

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

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

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