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

public class BillOfMaterial extends VdmEntity<BillOfMaterial>
Bill of Material

Original entity name from the Odata EDM: A_BillOfMaterialType

  • Field Details

    • ALL_FIELDS

      public static final BillOfMaterialSelectable ALL_FIELDS
      Selector for all available fields of BillOfMaterial.
    • BILL_OF_MATERIAL_HEADER_UUID

      public static final BillOfMaterialField<UUID> BILL_OF_MATERIAL_HEADER_UUID
      Use with available fluent helpers to apply the BillOfMaterialHeaderUUID field to query operations.
    • BILL_OF_MATERIAL_VARIANT_USAGE

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

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

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

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

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

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

      public static final BillOfMaterialField<Boolean> IS_MULTIPLE_BOM_ALT
      Use with available fluent helpers to apply the IsMultipleBOMAlt field to query operations.
    • BOM_HEADER_INTERNAL_CHANGE_COUNT

      public static final BillOfMaterialField<String> BOM_HEADER_INTERNAL_CHANGE_COUNT
      Use with available fluent helpers to apply the BOMHeaderInternalChangeCount field to query operations.
    • BOM_USAGE_PRIORITY

      public static final BillOfMaterialField<String> BOM_USAGE_PRIORITY
      Use with available fluent helpers to apply the BOMUsagePriority field to query operations.
    • BILL_OF_MATERIAL_AUTHSN_GRP

      public static final BillOfMaterialField<String> BILL_OF_MATERIAL_AUTHSN_GRP
      Use with available fluent helpers to apply the BillOfMaterialAuthsnGrp field to query operations.
    • BILL_OF_MATERIAL_VERSION

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

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

      public static final BillOfMaterialField<Boolean> IS_VERSION_BILL_OF_MATERIAL
      Use with available fluent helpers to apply the IsVersionBillOfMaterial field to query operations.
    • IS_LATEST_BOM_VERSION

      public static final BillOfMaterialField<Boolean> IS_LATEST_BOM_VERSION
      Use with available fluent helpers to apply the IsLatestBOMVersion field to query operations.
    • IS_CONFIGURED_MATERIAL

      public static final BillOfMaterialField<Boolean> IS_CONFIGURED_MATERIAL
      Use with available fluent helpers to apply the IsConfiguredMaterial field to query operations.
    • BOM_TECHNICAL_TYPE

      public static final BillOfMaterialField<String> BOM_TECHNICAL_TYPE
      Use with available fluent helpers to apply the BOMTechnicalType field to query operations.
    • BOM_GROUP

      public static final BillOfMaterialField<String> BOM_GROUP
      Use with available fluent helpers to apply the BOMGroup field to query operations.
    • BOM_HEADER_TEXT

      public static final BillOfMaterialField<String> BOM_HEADER_TEXT
      Use with available fluent helpers to apply the BOMHeaderText field to query operations.
    • BOM_ALTERNATIVE_TEXT

      public static final BillOfMaterialField<String> BOM_ALTERNATIVE_TEXT
      Use with available fluent helpers to apply the BOMAlternativeText field to query operations.
    • BILL_OF_MATERIAL_STATUS

      public static final BillOfMaterialField<String> BILL_OF_MATERIAL_STATUS
      Use with available fluent helpers to apply the BillOfMaterialStatus field to query operations.
    • HEADER_VALIDITY_START_DATE

      public static final BillOfMaterialField<LocalDateTime> HEADER_VALIDITY_START_DATE
      Use with available fluent helpers to apply the HeaderValidityStartDate field to query operations.
    • HEADER_VALIDITY_END_DATE

      public static final BillOfMaterialField<LocalDateTime> HEADER_VALIDITY_END_DATE
      Use with available fluent helpers to apply the HeaderValidityEndDate field to query operations.
    • ENGINEERING_CHANGE_DOCUMENT

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

      public static final BillOfMaterialField<String> ENGINEERING_CHANGE_DOC_FOR_EDIT
      Use with available fluent helpers to apply the EngineeringChangeDocForEdit field to query operations.
    • CHG_TO_ENGINEERING_CHG_DOCUMENT

      public static final BillOfMaterialField<String> CHG_TO_ENGINEERING_CHG_DOCUMENT
      Use with available fluent helpers to apply the ChgToEngineeringChgDocument field to query operations.
    • IS_MARKED_FOR_DELETION

      public static final BillOfMaterialField<Boolean> IS_MARKED_FOR_DELETION
      Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.
    • IS_ALE

      public static final BillOfMaterialField<Boolean> IS_ALE
      Use with available fluent helpers to apply the IsALE field to query operations.
    • BOM_HEADER_BASE_UNIT

      public static final BillOfMaterialField<String> BOM_HEADER_BASE_UNIT
      Use with available fluent helpers to apply the BOMHeaderBaseUnit field to query operations.
    • BOM_HEADER_QUANTITY_IN_BASE_UNIT

      public static final BillOfMaterialField<BigDecimal> BOM_HEADER_QUANTITY_IN_BASE_UNIT
      Use with available fluent helpers to apply the BOMHeaderQuantityInBaseUnit field to query operations.
    • RECORD_CREATION_DATE

      public static final BillOfMaterialField<LocalDateTime> RECORD_CREATION_DATE
      Use with available fluent helpers to apply the RecordCreationDate field to query operations.
    • LAST_CHANGE_DATE

      public static final BillOfMaterialField<LocalDateTime> LAST_CHANGE_DATE
      Use with available fluent helpers to apply the LastChangeDate field to query operations.
    • CREATED_BY_USER

      public static final BillOfMaterialField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • LAST_CHANGED_BY_USER

      public static final BillOfMaterialField<String> LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the LastChangedByUser field to query operations.
    • BOM_IS_TO_BE_DELETED

      public static final BillOfMaterialField<String> BOM_IS_TO_BE_DELETED
      Use with available fluent helpers to apply the BOMIsToBeDeleted field to query operations.
    • DOCUMENT_IS_CREATED_BY_CAD

      public static final BillOfMaterialField<Boolean> DOCUMENT_IS_CREATED_BY_CAD
      Use with available fluent helpers to apply the DocumentIsCreatedByCAD field to query operations.
    • LABORATORY_OR_DESIGN_OFFICE

      public static final BillOfMaterialField<String> LABORATORY_OR_DESIGN_OFFICE
      Use with available fluent helpers to apply the LaboratoryOrDesignOffice field to query operations.
    • SELECTED_BILL_OF_MATERIAL_VERSION

      public static final BillOfMaterialField<String> SELECTED_BILL_OF_MATERIAL_VERSION
      Use with available fluent helpers to apply the SelectedBillOfMaterialVersion field to query operations.
    • TO_BILL_OF_MATERIAL_ITEM

      public static final BillOfMaterialLink<BillOfMaterialItem> TO_BILL_OF_MATERIAL_ITEM
      Use with available fluent helpers to apply the to_BillOfMaterialItem navigation property to query operations.
    • TO_BILL_OF_MATERIAL_USAGE

      public static final BillOfMaterialOneToOneLink<BillOfMaterialUsage> TO_BILL_OF_MATERIAL_USAGE
      Use with available fluent helpers to apply the to_BillOfMaterialUsage navigation property to query operations.
  • Constructor Details

    • BillOfMaterial

      public BillOfMaterial()
    • BillOfMaterial

      public BillOfMaterial(@Nullable UUID billOfMaterialHeaderUUID, @Nullable String billOfMaterialVariantUsage, @Nullable String billOfMaterialCategory, @Nullable String billOfMaterial, @Nullable String billOfMaterialVariant, @Nullable String material, @Nullable String plant, @Nullable Boolean isMultipleBOMAlt, @Nullable String bOMHeaderInternalChangeCount, @Nullable String bOMUsagePriority, @Nullable String billOfMaterialAuthsnGrp, @Nullable String billOfMaterialVersion, @Nullable String bOMVersionStatus, @Nullable Boolean isVersionBillOfMaterial, @Nullable Boolean isLatestBOMVersion, @Nullable Boolean isConfiguredMaterial, @Nullable String bOMTechnicalType, @Nullable String bOMGroup, @Nullable String bOMHeaderText, @Nullable String bOMAlternativeText, @Nullable String billOfMaterialStatus, @Nullable LocalDateTime headerValidityStartDate, @Nullable LocalDateTime headerValidityEndDate, @Nullable String engineeringChangeDocument, @Nullable String engineeringChangeDocForEdit, @Nullable String chgToEngineeringChgDocument, @Nullable Boolean isMarkedForDeletion, @Nullable Boolean isALE, @Nullable String bOMHeaderBaseUnit, @Nullable BigDecimal bOMHeaderQuantityInBaseUnit, @Nullable LocalDateTime recordCreationDate, @Nullable LocalDateTime lastChangeDate, @Nullable String createdByUser, @Nullable String lastChangedByUser, @Nullable String bOMIsToBeDeleted, @Nullable Boolean documentIsCreatedByCAD, @Nullable String laboratoryOrDesignOffice, @Nullable String selectedBillOfMaterialVersion, List<BillOfMaterialItem> toBillOfMaterialItem, @Nullable BillOfMaterialUsage toBillOfMaterialUsage)
  • Method Details

    • getType

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

      public void setBillOfMaterialHeaderUUID(@Nullable UUID billOfMaterialHeaderUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BillOfMaterialHeaderUUID

      Parameters:
      billOfMaterialHeaderUUID - Global identification of a BOM header change status
    • 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
    • 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
    • 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
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setIsMultipleBOMAlt

      public void setIsMultipleBOMAlt(@Nullable Boolean isMultipleBOMAlt)
      Constraints: none

      Original property name from the Odata EDM: IsMultipleBOMAlt

      Parameters:
      isMultipleBOMAlt - Indicator: alternative determination for multiple BOMs
    • setBOMHeaderInternalChangeCount

      public void setBOMHeaderInternalChangeCount(@Nullable String bOMHeaderInternalChangeCount)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BOMHeaderInternalChangeCount

      Parameters:
      bOMHeaderInternalChangeCount - Internal counter
    • setBOMUsagePriority

      public void setBOMUsagePriority(@Nullable String bOMUsagePriority)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BOMUsagePriority

      Parameters:
      bOMUsagePriority - CIM priority for selection ID
    • setBillOfMaterialAuthsnGrp

      public void setBillOfMaterialAuthsnGrp(@Nullable String billOfMaterialAuthsnGrp)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BillOfMaterialAuthsnGrp

      Parameters:
      billOfMaterialAuthsnGrp - Authorization group for bills of material
    • 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
    • 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
    • setIsVersionBillOfMaterial

      public void setIsVersionBillOfMaterial(@Nullable Boolean isVersionBillOfMaterial)
      Constraints: none

      Original property name from the Odata EDM: IsVersionBillOfMaterial

      Parameters:
      isVersionBillOfMaterial - Indicator: Relevant for Versioning
    • setIsLatestBOMVersion

      public void setIsLatestBOMVersion(@Nullable Boolean isLatestBOMVersion)
      Constraints: none

      Original property name from the Odata EDM: IsLatestBOMVersion

      Parameters:
      isLatestBOMVersion - Indicator: Latest Released BOM Version
    • setIsConfiguredMaterial

      public void setIsConfiguredMaterial(@Nullable Boolean isConfiguredMaterial)
      Constraints: none

      Original property name from the Odata EDM: IsConfiguredMaterial

      Parameters:
      isConfiguredMaterial - Product is Configurable
    • setBOMTechnicalType

      public void setBOMTechnicalType(@Nullable String bOMTechnicalType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BOMTechnicalType

      Parameters:
      bOMTechnicalType - Technical type
    • setBOMGroup

      public void setBOMGroup(@Nullable String bOMGroup)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: BOMGroup

      Parameters:
      bOMGroup - BOM group
    • setBOMHeaderText

      public void setBOMHeaderText(@Nullable String bOMHeaderText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BOMHeaderText

      Parameters:
      bOMHeaderText - BOM Description
    • setBOMAlternativeText

      public void setBOMAlternativeText(@Nullable String bOMAlternativeText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BOMAlternativeText

      Parameters:
      bOMAlternativeText - Alternative BOM Text
    • setBillOfMaterialStatus

      public void setBillOfMaterialStatus(@Nullable String billOfMaterialStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillOfMaterialStatus

      Parameters:
      billOfMaterialStatus - Bill of Material Status
    • setHeaderValidityStartDate

      public void setHeaderValidityStartDate(@Nullable LocalDateTime headerValidityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: HeaderValidityStartDate

      Parameters:
      headerValidityStartDate - Valid-From Date
    • setHeaderValidityEndDate

      public void setHeaderValidityEndDate(@Nullable LocalDateTime headerValidityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: HeaderValidityEndDate

      Parameters:
      headerValidityEndDate - Valid-to date
    • 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
    • setEngineeringChangeDocForEdit

      public void setEngineeringChangeDocForEdit(@Nullable String engineeringChangeDocForEdit)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: EngineeringChangeDocForEdit

      Parameters:
      engineeringChangeDocForEdit - Change Number
    • setChgToEngineeringChgDocument

      public void setChgToEngineeringChgDocument(@Nullable String chgToEngineeringChgDocument)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChgToEngineeringChgDocument

      Parameters:
      chgToEngineeringChgDocument - Change Number To
    • setIsMarkedForDeletion

      public void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
      Constraints: none

      Original property name from the Odata EDM: IsMarkedForDeletion

      Parameters:
      isMarkedForDeletion - Deletion Indicator
    • setIsALE

      public void setIsALE(@Nullable Boolean isALE)
      Constraints: none

      Original property name from the Odata EDM: IsALE

      Parameters:
      isALE - ALE indicator
    • setBOMHeaderBaseUnit

      public void setBOMHeaderBaseUnit(@Nullable String bOMHeaderBaseUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: BOMHeaderBaseUnit

      Parameters:
      bOMHeaderBaseUnit - Base Unit of Measure for BOM
    • setBOMHeaderQuantityInBaseUnit

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

      Original property name from the Odata EDM: BOMHeaderQuantityInBaseUnit

      Parameters:
      bOMHeaderQuantityInBaseUnit - Base quantity
    • setRecordCreationDate

      public void setRecordCreationDate(@Nullable LocalDateTime recordCreationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RecordCreationDate

      Parameters:
      recordCreationDate - Date Record Created On
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - User Who Created Record
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Name of Person Who Changed Object
    • setBOMIsToBeDeleted

      public void setBOMIsToBeDeleted(@Nullable String bOMIsToBeDeleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BOMIsToBeDeleted

      Parameters:
      bOMIsToBeDeleted - Handling Deletion Flag During BOM Explosion
    • setDocumentIsCreatedByCAD

      public void setDocumentIsCreatedByCAD(@Nullable Boolean documentIsCreatedByCAD)
      Constraints: none

      Original property name from the Odata EDM: DocumentIsCreatedByCAD

      Parameters:
      documentIsCreatedByCAD - CAD Indicator
    • setLaboratoryOrDesignOffice

      public void setLaboratoryOrDesignOffice(@Nullable String laboratoryOrDesignOffice)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LaboratoryOrDesignOffice

      Parameters:
      laboratoryOrDesignOffice - Laboratory/design office
    • setSelectedBillOfMaterialVersion

      public void setSelectedBillOfMaterialVersion(@Nullable String selectedBillOfMaterialVersion)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SelectedBillOfMaterialVersion

      Parameters:
      selectedBillOfMaterialVersion - The selectedBillOfMaterialVersion to set.
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BillOfMaterialField<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> BillOfMaterialField<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<BillOfMaterial>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<BillOfMaterial>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<BillOfMaterial>
    • fetchBillOfMaterialItem

      @Nonnull public List<BillOfMaterialItem> fetchBillOfMaterialItem()
      Fetches the BillOfMaterialItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_BillOfMaterialItem.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated BillOfMaterialItem entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBillOfMaterialItemOrFetch

      @Nonnull public List<BillOfMaterialItem> getBillOfMaterialItemOrFetch()
      Retrieval of associated BillOfMaterialItem entities (one to many). This corresponds to the OData navigation property to_BillOfMaterialItem.

      If the navigation property to_BillOfMaterialItem of a queried BillOfMaterial is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated BillOfMaterialItem entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBillOfMaterialItemIfPresent

      @Nonnull public io.vavr.control.Option<List<BillOfMaterialItem>> getBillOfMaterialItemIfPresent()
      Retrieval of associated BillOfMaterialItem entities (one to many). This corresponds to the OData navigation property to_BillOfMaterialItem.

      If the navigation property for an entity BillOfMaterial has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_BillOfMaterialItem is already loaded, the result will contain the BillOfMaterialItem entities. If not, an Option with result state empty is returned.
    • setBillOfMaterialItem

      public void setBillOfMaterialItem(@Nonnull List<BillOfMaterialItem> value)
      Overwrites the list of associated BillOfMaterialItem entities for the loaded navigation property to_BillOfMaterialItem.

      If the navigation property to_BillOfMaterialItem of a queried BillOfMaterial is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of BillOfMaterialItem entities.
    • addBillOfMaterialItem

      public void addBillOfMaterialItem(BillOfMaterialItem... entity)
      Adds elements to the list of associated BillOfMaterialItem entities. This corresponds to the OData navigation property to_BillOfMaterialItem.

      If the navigation property to_BillOfMaterialItem of a queried BillOfMaterial is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of BillOfMaterialItem entities.
    • fetchBillOfMaterialUsage

      @Nullable public BillOfMaterialUsage fetchBillOfMaterialUsage()
      Fetches the BillOfMaterialUsage entity (one to one) associated with this entity. This corresponds to the OData navigation property to_BillOfMaterialUsage.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated BillOfMaterialUsage entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBillOfMaterialUsageOrFetch

      @Nullable public BillOfMaterialUsage getBillOfMaterialUsageOrFetch()
      Retrieval of associated BillOfMaterialUsage entity (one to one). This corresponds to the OData navigation property to_BillOfMaterialUsage.

      If the navigation property to_BillOfMaterialUsage of a queried BillOfMaterial is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated BillOfMaterialUsage entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBillOfMaterialUsageIfPresent

      @Nonnull public io.vavr.control.Option<BillOfMaterialUsage> getBillOfMaterialUsageIfPresent()
      Retrieval of associated BillOfMaterialUsage entity (one to one). This corresponds to the OData navigation property to_BillOfMaterialUsage.

      If the navigation property for an entity BillOfMaterial has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_BillOfMaterialUsage is already loaded, the result will contain the BillOfMaterialUsage entity. If not, an Option with result state empty is returned.
    • setBillOfMaterialUsage

      public void setBillOfMaterialUsage(BillOfMaterialUsage value)
      Overwrites the associated BillOfMaterialUsage entity for the loaded navigation property to_BillOfMaterialUsage.
      Parameters:
      value - New BillOfMaterialUsage entity.
    • builder

      @Nonnull public static BillOfMaterial.BillOfMaterialBuilder builder()
    • getBillOfMaterialHeaderUUID

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

      Original property name from the Odata EDM: BillOfMaterialHeaderUUID

      Returns:
      Global identification of a BOM header change status
    • getBillOfMaterialVariantUsage

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

      Original property name from the Odata EDM: BillOfMaterialVariantUsage

      Returns:
      BOM Usage
    • 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
    • getMaterial

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

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getIsMultipleBOMAlt

      @Nullable public Boolean getIsMultipleBOMAlt()
      Constraints: none

      Original property name from the Odata EDM: IsMultipleBOMAlt

      Returns:
      Indicator: alternative determination for multiple BOMs
    • getBOMHeaderInternalChangeCount

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

      Original property name from the Odata EDM: BOMHeaderInternalChangeCount

      Returns:
      Internal counter
    • getBOMUsagePriority

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

      Original property name from the Odata EDM: BOMUsagePriority

      Returns:
      CIM priority for selection ID
    • getBillOfMaterialAuthsnGrp

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

      Original property name from the Odata EDM: BillOfMaterialAuthsnGrp

      Returns:
      Authorization group for bills of material
    • getBillOfMaterialVersion

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

      Original property name from the Odata EDM: BillOfMaterialVersion

      Returns:
      BOM Version
    • getBOMVersionStatus

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

      Original property name from the Odata EDM: BOMVersionStatus

      Returns:
      BOM Version Status
    • getIsVersionBillOfMaterial

      @Nullable public Boolean getIsVersionBillOfMaterial()
      Constraints: none

      Original property name from the Odata EDM: IsVersionBillOfMaterial

      Returns:
      Indicator: Relevant for Versioning
    • getIsLatestBOMVersion

      @Nullable public Boolean getIsLatestBOMVersion()
      Constraints: none

      Original property name from the Odata EDM: IsLatestBOMVersion

      Returns:
      Indicator: Latest Released BOM Version
    • getIsConfiguredMaterial

      @Nullable public Boolean getIsConfiguredMaterial()
      Constraints: none

      Original property name from the Odata EDM: IsConfiguredMaterial

      Returns:
      Product is Configurable
    • getBOMTechnicalType

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

      Original property name from the Odata EDM: BOMTechnicalType

      Returns:
      Technical type
    • getBOMGroup

      @Nullable public String getBOMGroup()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: BOMGroup

      Returns:
      BOM group
    • getBOMHeaderText

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

      Original property name from the Odata EDM: BOMHeaderText

      Returns:
      BOM Description
    • getBOMAlternativeText

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

      Original property name from the Odata EDM: BOMAlternativeText

      Returns:
      Alternative BOM Text
    • getBillOfMaterialStatus

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

      Original property name from the Odata EDM: BillOfMaterialStatus

      Returns:
      Bill of Material Status
    • getHeaderValidityStartDate

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

      Original property name from the Odata EDM: HeaderValidityStartDate

      Returns:
      Valid-From Date
    • getHeaderValidityEndDate

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

      Original property name from the Odata EDM: HeaderValidityEndDate

      Returns:
      Valid-to date
    • getEngineeringChangeDocument

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

      Original property name from the Odata EDM: EngineeringChangeDocument

      Returns:
      Change Number
    • getEngineeringChangeDocForEdit

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

      Original property name from the Odata EDM: EngineeringChangeDocForEdit

      Returns:
      Change Number
    • getChgToEngineeringChgDocument

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

      Original property name from the Odata EDM: ChgToEngineeringChgDocument

      Returns:
      Change Number To
    • getIsMarkedForDeletion

      @Nullable public Boolean getIsMarkedForDeletion()
      Constraints: none

      Original property name from the Odata EDM: IsMarkedForDeletion

      Returns:
      Deletion Indicator
    • getIsALE

      @Nullable public Boolean getIsALE()
      Constraints: none

      Original property name from the Odata EDM: IsALE

      Returns:
      ALE indicator
    • getBOMHeaderBaseUnit

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

      Original property name from the Odata EDM: BOMHeaderBaseUnit

      Returns:
      Base Unit of Measure for BOM
    • getBOMHeaderQuantityInBaseUnit

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

      Original property name from the Odata EDM: BOMHeaderQuantityInBaseUnit

      Returns:
      Base quantity
    • getRecordCreationDate

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

      Original property name from the Odata EDM: RecordCreationDate

      Returns:
      Date Record Created On
    • getLastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      User Who Created Record
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getBOMIsToBeDeleted

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

      Original property name from the Odata EDM: BOMIsToBeDeleted

      Returns:
      Handling Deletion Flag During BOM Explosion
    • getDocumentIsCreatedByCAD

      @Nullable public Boolean getDocumentIsCreatedByCAD()
      Constraints: none

      Original property name from the Odata EDM: DocumentIsCreatedByCAD

      Returns:
      CAD Indicator
    • getLaboratoryOrDesignOffice

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

      Original property name from the Odata EDM: LaboratoryOrDesignOffice

      Returns:
      Laboratory/design office
    • getSelectedBillOfMaterialVersion

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

      Original property name from the Odata EDM: SelectedBillOfMaterialVersion

      Returns:
      The selectedBillOfMaterialVersion contained in this entity.
    • toString

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

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

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

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