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

public class BOMWhereUsed extends VdmEntity<BOMWhereUsed>
Where Used List

Original entity name from the Odata EDM: A_BOMWhereUsedType

  • Field Details

    • ALL_FIELDS

      public static final BOMWhereUsedSelectable ALL_FIELDS
      Selector for all available fields of BOMWhereUsed.
    • BILL_OF_MATERIAL_ITEM_UUID

      public static final BOMWhereUsedField<UUID> BILL_OF_MATERIAL_ITEM_UUID
      Use with available fluent helpers to apply the BillOfMaterialItemUUID field to query operations.
    • BILL_OF_MATERIAL_COMPONENT

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL_COMPONENT
      Use with available fluent helpers to apply the BillOfMaterialComponent field to query operations.
    • BILL_OF_MATERIAL_ITEM_NUMBER

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL_ITEM_NUMBER
      Use with available fluent helpers to apply the BillOfMaterialItemNumber field to query operations.
    • HEADER_CHANGE_DOCUMENT

      public static final BOMWhereUsedField<String> HEADER_CHANGE_DOCUMENT
      Use with available fluent helpers to apply the HeaderChangeDocument field to query operations.
    • BILL_OF_MATERIAL_CATEGORY

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL_CATEGORY
      Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations.
    • BILL_OF_MATERIAL

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL
      Use with available fluent helpers to apply the BillOfMaterial field to query operations.
    • BILL_OF_MATERIAL_VARIANT

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL_VARIANT
      Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations.
    • BILL_OF_MATERIAL_VERSION

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL_VERSION
      Use with available fluent helpers to apply the BillOfMaterialVersion field to query operations.
    • BILL_OF_MATERIAL_ITEM_CATEGORY

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

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL_ITEM_UNIT
      Use with available fluent helpers to apply the BillOfMaterialItemUnit field to query operations.
    • BILL_OF_MATERIAL_ITEM_QUANTITY

      public static final BOMWhereUsedField<BigDecimal> BILL_OF_MATERIAL_ITEM_QUANTITY
      Use with available fluent helpers to apply the BillOfMaterialItemQuantity field to query operations.
    • ENGINEERING_CHANGE_DOCUMENT

      public static final BOMWhereUsedField<String> ENGINEERING_CHANGE_DOCUMENT
      Use with available fluent helpers to apply the EngineeringChangeDocument field to query operations.
    • VALIDITY_START_DATE

      public static final BOMWhereUsedField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • VALIDITY_END_DATE

      public static final BOMWhereUsedField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • BILL_OF_MATERIAL_ITEM_NODE_NUMBER

      public static final BOMWhereUsedField<String> BILL_OF_MATERIAL_ITEM_NODE_NUMBER
      Use with available fluent helpers to apply the BillOfMaterialItemNodeNumber field to query operations.
    • BOM_ITEM_DESCRIPTION

      public static final BOMWhereUsedField<String> BOM_ITEM_DESCRIPTION
      Use with available fluent helpers to apply the BOMItemDescription field to query operations.
    • MATERIAL

      public static final BOMWhereUsedField<String> MATERIAL
      Use with available fluent helpers to apply the Material field to query operations.
    • MATERIAL_NAME

      public static final BOMWhereUsedField<String> MATERIAL_NAME
      Use with available fluent helpers to apply the MaterialName field to query operations.
    • PLANT_NAME

      public static final BOMWhereUsedField<String> PLANT_NAME
      Use with available fluent helpers to apply the PlantName field to query operations.
    • BILL_OF_MATERIAL_VARIANT_USAGE_DESC

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

      public static final BOMWhereUsedField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • BILL_OF_MATERIAL_VARIANT_USAGE

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

      public static final BOMWhereUsedField<String> BOM_VERSION_STATUS
      Use with available fluent helpers to apply the BOMVersionStatus field to query operations.
    • BOM_VERSION_STATUS_DESCRIPTION

      public static final BOMWhereUsedField<String> BOM_VERSION_STATUS_DESCRIPTION
      Use with available fluent helpers to apply the BOMVersionStatusDescription field to query operations.
  • Constructor Details

    • BOMWhereUsed

      public BOMWhereUsed()
    • BOMWhereUsed

      public BOMWhereUsed(@Nullable UUID billOfMaterialItemUUID, @Nullable String billOfMaterialComponent, @Nullable String billOfMaterialItemNumber, @Nullable String headerChangeDocument, @Nullable String billOfMaterialCategory, @Nullable String billOfMaterial, @Nullable String billOfMaterialVariant, @Nullable String billOfMaterialVersion, @Nullable String billOfMaterialItemCategory, @Nullable String billOfMaterialItemUnit, @Nullable BigDecimal billOfMaterialItemQuantity, @Nullable String engineeringChangeDocument, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String billOfMaterialItemNodeNumber, @Nullable String bOMItemDescription, @Nullable String material, @Nullable String materialName, @Nullable String plantName, @Nullable String billOfMaterialVariantUsageDesc, @Nullable String plant, @Nullable String billOfMaterialVariantUsage, @Nullable String bOMVersionStatus, @Nullable String bOMVersionStatusDescription)
  • Method Details

    • getType

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

      public void setBillOfMaterialItemUUID(@Nullable UUID billOfMaterialItemUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BillOfMaterialItemUUID

      Parameters:
      billOfMaterialItemUUID - Global identification of an item's change status
    • setBillOfMaterialComponent

      public void setBillOfMaterialComponent(@Nullable String billOfMaterialComponent)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BillOfMaterialComponent

      Parameters:
      billOfMaterialComponent - BOM component
    • setBillOfMaterialItemNumber

      public void setBillOfMaterialItemNumber(@Nullable String billOfMaterialItemNumber)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BillOfMaterialItemNumber

      Parameters:
      billOfMaterialItemNumber - BOM Item Number
    • setHeaderChangeDocument

      public void setHeaderChangeDocument(@Nullable String headerChangeDocument)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: HeaderChangeDocument

      Parameters:
      headerChangeDocument - Change Number
    • setBillOfMaterialCategory

      public void setBillOfMaterialCategory(@Nullable String billOfMaterialCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BillOfMaterialCategory

      Parameters:
      billOfMaterialCategory - BOM category
    • setBillOfMaterial

      public void setBillOfMaterial(@Nullable String billOfMaterial)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterial

      Parameters:
      billOfMaterial - Bill of Material
    • setBillOfMaterialVariant

      public void setBillOfMaterialVariant(@Nullable String billOfMaterialVariant)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillOfMaterialVariant

      Parameters:
      billOfMaterialVariant - Alternative BOM
    • setBillOfMaterialVersion

      public void setBillOfMaterialVersion(@Nullable String billOfMaterialVersion)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BillOfMaterialVersion

      Parameters:
      billOfMaterialVersion - BOM Version
    • setBillOfMaterialItemCategory

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

      Original property name from the Odata EDM: BillOfMaterialItemCategory

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

      public void setBillOfMaterialItemUnit(@Nullable String billOfMaterialItemUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BillOfMaterialItemUnit

      Parameters:
      billOfMaterialItemUnit - Component Unit of Measure
    • setBillOfMaterialItemQuantity

      public void setBillOfMaterialItemQuantity(@Nullable BigDecimal billOfMaterialItemQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: BillOfMaterialItemQuantity

      Parameters:
      billOfMaterialItemQuantity - Component Quantity
    • setEngineeringChangeDocument

      public void setEngineeringChangeDocument(@Nullable String engineeringChangeDocument)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: EngineeringChangeDocument

      Parameters:
      engineeringChangeDocument - Change Number
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid-to date
    • setBillOfMaterialItemNodeNumber

      public void setBillOfMaterialItemNodeNumber(@Nullable String billOfMaterialItemNodeNumber)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterialItemNodeNumber

      Parameters:
      billOfMaterialItemNodeNumber - BOM item node number
    • setBOMItemDescription

      public void setBOMItemDescription(@Nullable String bOMItemDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BOMItemDescription

      Parameters:
      bOMItemDescription - BOM Item Text (Line 1)
    • setMaterial

      public void setMaterial(@Nullable String material)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setMaterialName

      public void setMaterialName(@Nullable String materialName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaterialName

      Parameters:
      materialName - Material Description
    • setPlantName

      public void setPlantName(@Nullable String plantName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PlantName

      Parameters:
      plantName - Plant Name
    • 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
    • setPlant

      public void setPlant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setBillOfMaterialVariantUsage

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

      Original property name from the Odata EDM: BillOfMaterialVariantUsage

      Parameters:
      billOfMaterialVariantUsage - BOM Usage
    • setBOMVersionStatus

      public void setBOMVersionStatus(@Nullable String bOMVersionStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BOMVersionStatus

      Parameters:
      bOMVersionStatus - BOM Version Status
    • setBOMVersionStatusDescription

      public void setBOMVersionStatusDescription(@Nullable String bOMVersionStatusDescription)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BOMVersionStatusDescription

      Parameters:
      bOMVersionStatusDescription - Short Text for Fixed Values
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BOMWhereUsedField<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> BOMWhereUsedField<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<BOMWhereUsed>
    • setServicePathForFetch

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

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

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

      @Nonnull public static BOMWhereUsed.BOMWhereUsedBuilder builder()
    • getBillOfMaterialItemUUID

      @Nullable public UUID getBillOfMaterialItemUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BillOfMaterialItemUUID

      Returns:
      Global identification of an item's change status
    • getBillOfMaterialComponent

      @Nullable public String getBillOfMaterialComponent()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BillOfMaterialComponent

      Returns:
      BOM component
    • getBillOfMaterialItemNumber

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

      Original property name from the Odata EDM: BillOfMaterialItemNumber

      Returns:
      BOM Item Number
    • getHeaderChangeDocument

      @Nullable public String getHeaderChangeDocument()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: HeaderChangeDocument

      Returns:
      Change Number
    • getBillOfMaterialCategory

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

      Original property name from the Odata EDM: BillOfMaterialCategory

      Returns:
      BOM category
    • getBillOfMaterial

      @Nullable public String getBillOfMaterial()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterial

      Returns:
      Bill of Material
    • getBillOfMaterialVariant

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

      Original property name from the Odata EDM: BillOfMaterialVariant

      Returns:
      Alternative BOM
    • getBillOfMaterialVersion

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

      Original property name from the Odata EDM: BillOfMaterialVersion

      Returns:
      BOM Version
    • getBillOfMaterialItemCategory

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

      Original property name from the Odata EDM: BillOfMaterialItemCategory

      Returns:
      Item category (bill of material)
    • getBillOfMaterialItemUnit

      @Nullable public String getBillOfMaterialItemUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BillOfMaterialItemUnit

      Returns:
      Component Unit of Measure
    • getBillOfMaterialItemQuantity

      @Nullable public BigDecimal getBillOfMaterialItemQuantity()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: BillOfMaterialItemQuantity

      Returns:
      Component Quantity
    • getEngineeringChangeDocument

      @Nullable public String getEngineeringChangeDocument()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: EngineeringChangeDocument

      Returns:
      Change Number
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid-to date
    • getBillOfMaterialItemNodeNumber

      @Nullable public String getBillOfMaterialItemNodeNumber()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterialItemNodeNumber

      Returns:
      BOM item node number
    • getBOMItemDescription

      @Nullable public String getBOMItemDescription()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BOMItemDescription

      Returns:
      BOM Item Text (Line 1)
    • getMaterial

      @Nullable public String getMaterial()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getMaterialName

      @Nullable public String getMaterialName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaterialName

      Returns:
      Material Description
    • getPlantName

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

      Original property name from the Odata EDM: PlantName

      Returns:
      Plant Name
    • getBillOfMaterialVariantUsageDesc

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

      Original property name from the Odata EDM: BillOfMaterialVariantUsageDesc

      Returns:
      BOM usage text
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getBillOfMaterialVariantUsage

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

      Original property name from the Odata EDM: BillOfMaterialVariantUsage

      Returns:
      BOM Usage
    • getBOMVersionStatus

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

      Original property name from the Odata EDM: BOMVersionStatus

      Returns:
      BOM Version Status
    • getBOMVersionStatusDescription

      @Nullable public String getBOMVersionStatusDescription()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: BOMVersionStatusDescription

      Returns:
      Short Text for Fixed Values
    • toString

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

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

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

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