Class BillOfMaterial
Original entity name from the Odata EDM: A_BillOfMaterialType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of BillOfMaterial instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BillOfMaterialSelectableSelector for all available fields of BillOfMaterial.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BillOfMaterial field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BillOfMaterialAuthsnGrp field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations.static final BillOfMaterialField<UUID>Use with available fluent helpers to apply the BillOfMaterialHeaderUUID field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BillOfMaterialStatus field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BillOfMaterialVersion field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMAlternativeText field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMGroup field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMHeaderBaseUnit field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMHeaderInternalChangeCount field to query operations.static final BillOfMaterialField<BigDecimal>Use with available fluent helpers to apply the BOMHeaderQuantityInBaseUnit field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMHeaderText field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMIsToBeDeleted field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMTechnicalType field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMUsagePriority field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the BOMVersionStatus field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the ChgToEngineeringChgDocument field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final BillOfMaterialField<Boolean>Use with available fluent helpers to apply the DocumentIsCreatedByCAD field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the EngineeringChangeDocForEdit field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the EngineeringChangeDocument field to query operations.static final BillOfMaterialField<LocalDateTime>Use with available fluent helpers to apply the HeaderValidityEndDate field to query operations.static final BillOfMaterialField<LocalDateTime>Use with available fluent helpers to apply the HeaderValidityStartDate field to query operations.static final BillOfMaterialField<Boolean>Use with available fluent helpers to apply the IsALE field to query operations.static final BillOfMaterialField<Boolean>Use with available fluent helpers to apply the IsConfiguredMaterial field to query operations.static final BillOfMaterialField<Boolean>Use with available fluent helpers to apply the IsLatestBOMVersion field to query operations.static final BillOfMaterialField<Boolean>Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.static final BillOfMaterialField<Boolean>Use with available fluent helpers to apply the IsMultipleBOMAlt field to query operations.static final BillOfMaterialField<Boolean>Use with available fluent helpers to apply the IsVersionBillOfMaterial field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the LaboratoryOrDesignOffice field to query operations.static final BillOfMaterialField<LocalDateTime>Use with available fluent helpers to apply the LastChangeDate field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the Material field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the Plant field to query operations.static final BillOfMaterialField<LocalDateTime>Use with available fluent helpers to apply the RecordCreationDate field to query operations.static final BillOfMaterialField<String>Use with available fluent helpers to apply the SelectedBillOfMaterialVersion field to query operations.static final BillOfMaterialLink<BillOfMaterialItem>Use with available fluent helpers to apply the to_BillOfMaterialItem navigation property to query operations.static final BillOfMaterialOneToOneLink<BillOfMaterialUsage>Use with available fluent helpers to apply the to_BillOfMaterialUsage navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionBillOfMaterial(UUID billOfMaterialHeaderUUID, String billOfMaterialVariantUsage, String billOfMaterialCategory, String billOfMaterial, String billOfMaterialVariant, String material, String plant, Boolean isMultipleBOMAlt, String bOMHeaderInternalChangeCount, String bOMUsagePriority, String billOfMaterialAuthsnGrp, String billOfMaterialVersion, String bOMVersionStatus, Boolean isVersionBillOfMaterial, Boolean isLatestBOMVersion, Boolean isConfiguredMaterial, String bOMTechnicalType, String bOMGroup, String bOMHeaderText, String bOMAlternativeText, String billOfMaterialStatus, LocalDateTime headerValidityStartDate, LocalDateTime headerValidityEndDate, String engineeringChangeDocument, String engineeringChangeDocForEdit, String chgToEngineeringChgDocument, Boolean isMarkedForDeletion, Boolean isALE, String bOMHeaderBaseUnit, BigDecimal bOMHeaderQuantityInBaseUnit, LocalDateTime recordCreationDate, LocalDateTime lastChangeDate, String createdByUser, String lastChangedByUser, String bOMIsToBeDeleted, Boolean documentIsCreatedByCAD, String laboratoryOrDesignOffice, String selectedBillOfMaterialVersion, List<BillOfMaterialItem> toBillOfMaterialItem, BillOfMaterialUsage toBillOfMaterialUsage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBillOfMaterialItem(BillOfMaterialItem... entity) Adds elements to the list of associated BillOfMaterialItem entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the BillOfMaterialItem entities (one to many) associated with this entity.Fetches the BillOfMaterialUsage entity (one to one) associated with this entity.static <T,DomainT>
BillOfMaterialField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BillOfMaterialField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullableio.vavr.control.Option<List<BillOfMaterialItem>>Retrieval of associated BillOfMaterialItem entities (one to many).Retrieval of associated BillOfMaterialItem entities (one to many).Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<BillOfMaterialUsage>Retrieval of associated BillOfMaterialUsage entity (one to one).Retrieval of associated BillOfMaterialUsage entity (one to one).Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 12protected StringConstraints: noneConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 12protected StringConstraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0getIsALE()Constraints: noneConstraints: noneConstraints: noneConstraints: noneConstraints: noneConstraints: nonegetKey()Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 40getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetBillOfMaterial(String billOfMaterial) Constraints: Not nullable, Maximum length: 8voidsetBillOfMaterialAuthsnGrp(String billOfMaterialAuthsnGrp) Constraints: Not nullable, Maximum length: 4voidsetBillOfMaterialCategory(String billOfMaterialCategory) Constraints: Not nullable, Maximum length: 1voidsetBillOfMaterialHeaderUUID(UUID billOfMaterialHeaderUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated BillOfMaterialItem entities for the loaded navigation property to_BillOfMaterialItem.voidsetBillOfMaterialStatus(String billOfMaterialStatus) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated BillOfMaterialUsage entity for the loaded navigation property to_BillOfMaterialUsage.voidsetBillOfMaterialVariant(String billOfMaterialVariant) Constraints: Not nullable, Maximum length: 2voidsetBillOfMaterialVariantUsage(String billOfMaterialVariantUsage) Constraints: Not nullable, Maximum length: 1voidsetBillOfMaterialVersion(String billOfMaterialVersion) Constraints: Not nullable, Maximum length: 4voidsetBOMAlternativeText(String bOMAlternativeText) Constraints: Not nullable, Maximum length: 40voidsetBOMGroup(String bOMGroup) Constraints: Not nullable, Maximum length: 18voidsetBOMHeaderBaseUnit(String bOMHeaderBaseUnit) Constraints: Not nullable, Maximum length: 3voidsetBOMHeaderInternalChangeCount(String bOMHeaderInternalChangeCount) Constraints: Not nullable, Maximum length: 8voidsetBOMHeaderQuantityInBaseUnit(BigDecimal bOMHeaderQuantityInBaseUnit) Constraints: Not nullable, Precision: 13, Scale: 3voidsetBOMHeaderText(String bOMHeaderText) Constraints: Not nullable, Maximum length: 40voidsetBOMIsToBeDeleted(String bOMIsToBeDeleted) Constraints: Not nullable, Maximum length: 1voidsetBOMTechnicalType(String bOMTechnicalType) Constraints: Not nullable, Maximum length: 1voidsetBOMUsagePriority(String bOMUsagePriority) Constraints: Not nullable, Maximum length: 2voidsetBOMVersionStatus(String bOMVersionStatus) Constraints: Not nullable, Maximum length: 2voidsetChgToEngineeringChgDocument(String chgToEngineeringChgDocument) Constraints: Not nullable, Maximum length: 12voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetDocumentIsCreatedByCAD(Boolean documentIsCreatedByCAD) Constraints: nonevoidsetEngineeringChangeDocForEdit(String engineeringChangeDocForEdit) Constraints: Not nullable, Maximum length: 12voidsetEngineeringChangeDocument(String engineeringChangeDocument) Constraints: Not nullable, Maximum length: 12voidsetHeaderValidityEndDate(LocalDateTime headerValidityEndDate) Constraints: Not nullable, Precision: 0voidsetHeaderValidityStartDate(LocalDateTime headerValidityStartDate) Constraints: Not nullable, Precision: 0voidConstraints: nonevoidsetIsConfiguredMaterial(Boolean isConfiguredMaterial) Constraints: nonevoidsetIsLatestBOMVersion(Boolean isLatestBOMVersion) Constraints: nonevoidsetIsMarkedForDeletion(Boolean isMarkedForDeletion) Constraints: nonevoidsetIsMultipleBOMAlt(Boolean isMultipleBOMAlt) Constraints: nonevoidsetIsVersionBillOfMaterial(Boolean isVersionBillOfMaterial) Constraints: nonevoidsetLaboratoryOrDesignOffice(String laboratoryOrDesignOffice) Constraints: Not nullable, Maximum length: 3voidsetLastChangeDate(LocalDateTime lastChangeDate) Constraints: Not nullable, Precision: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetMaterial(String material) Constraints: Not nullable, Maximum length: 40voidConstraints: Not nullable, Maximum length: 4voidsetRecordCreationDate(LocalDateTime recordCreationDate) Constraints: Not nullable, Precision: 0voidsetSelectedBillOfMaterialVersion(String selectedBillOfMaterialVersion) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of BillOfMaterial. -
BILL_OF_MATERIAL_HEADER_UUID
Use with available fluent helpers to apply the BillOfMaterialHeaderUUID field to query operations. -
BILL_OF_MATERIAL_VARIANT_USAGE
Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations. -
BILL_OF_MATERIAL_CATEGORY
Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations. -
BILL_OF_MATERIAL
Use with available fluent helpers to apply the BillOfMaterial field to query operations. -
BILL_OF_MATERIAL_VARIANT
Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
IS_MULTIPLE_BOM_ALT
Use with available fluent helpers to apply the IsMultipleBOMAlt field to query operations. -
BOM_HEADER_INTERNAL_CHANGE_COUNT
Use with available fluent helpers to apply the BOMHeaderInternalChangeCount field to query operations. -
BOM_USAGE_PRIORITY
Use with available fluent helpers to apply the BOMUsagePriority field to query operations. -
BILL_OF_MATERIAL_AUTHSN_GRP
Use with available fluent helpers to apply the BillOfMaterialAuthsnGrp field to query operations. -
BILL_OF_MATERIAL_VERSION
Use with available fluent helpers to apply the BillOfMaterialVersion field to query operations. -
BOM_VERSION_STATUS
Use with available fluent helpers to apply the BOMVersionStatus field to query operations. -
IS_VERSION_BILL_OF_MATERIAL
Use with available fluent helpers to apply the IsVersionBillOfMaterial field to query operations. -
IS_LATEST_BOM_VERSION
Use with available fluent helpers to apply the IsLatestBOMVersion field to query operations. -
IS_CONFIGURED_MATERIAL
Use with available fluent helpers to apply the IsConfiguredMaterial field to query operations. -
BOM_TECHNICAL_TYPE
Use with available fluent helpers to apply the BOMTechnicalType field to query operations. -
BOM_GROUP
Use with available fluent helpers to apply the BOMGroup field to query operations. -
BOM_HEADER_TEXT
Use with available fluent helpers to apply the BOMHeaderText field to query operations. -
BOM_ALTERNATIVE_TEXT
Use with available fluent helpers to apply the BOMAlternativeText field to query operations. -
BILL_OF_MATERIAL_STATUS
Use with available fluent helpers to apply the BillOfMaterialStatus field to query operations. -
HEADER_VALIDITY_START_DATE
Use with available fluent helpers to apply the HeaderValidityStartDate field to query operations. -
HEADER_VALIDITY_END_DATE
Use with available fluent helpers to apply the HeaderValidityEndDate field to query operations. -
ENGINEERING_CHANGE_DOCUMENT
Use with available fluent helpers to apply the EngineeringChangeDocument field to query operations. -
ENGINEERING_CHANGE_DOC_FOR_EDIT
Use with available fluent helpers to apply the EngineeringChangeDocForEdit field to query operations. -
CHG_TO_ENGINEERING_CHG_DOCUMENT
Use with available fluent helpers to apply the ChgToEngineeringChgDocument field to query operations. -
IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations. -
IS_ALE
Use with available fluent helpers to apply the IsALE field to query operations. -
BOM_HEADER_BASE_UNIT
Use with available fluent helpers to apply the BOMHeaderBaseUnit field to query operations. -
BOM_HEADER_QUANTITY_IN_BASE_UNIT
Use with available fluent helpers to apply the BOMHeaderQuantityInBaseUnit field to query operations. -
RECORD_CREATION_DATE
Use with available fluent helpers to apply the RecordCreationDate field to query operations. -
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
BOM_IS_TO_BE_DELETED
Use with available fluent helpers to apply the BOMIsToBeDeleted field to query operations. -
DOCUMENT_IS_CREATED_BY_CAD
Use with available fluent helpers to apply the DocumentIsCreatedByCAD field to query operations. -
LABORATORY_OR_DESIGN_OFFICE
Use with available fluent helpers to apply the LaboratoryOrDesignOffice field to query operations. -
SELECTED_BILL_OF_MATERIAL_VERSION
Use with available fluent helpers to apply the SelectedBillOfMaterialVersion field to query operations. -
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
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
- Specified by:
getTypein classVdmObject<BillOfMaterial>
-
setBillOfMaterialHeaderUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: BillOfMaterialHeaderUUID
- Parameters:
billOfMaterialHeaderUUID- Global identification of a BOM header change status
-
setBillOfMaterialVariantUsage
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialVariantUsage
- Parameters:
billOfMaterialVariantUsage- BOM Usage
-
setBillOfMaterialCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialCategory
- Parameters:
billOfMaterialCategory- BOM category
-
setBillOfMaterial
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillOfMaterial
- Parameters:
billOfMaterial- Bill of Material
-
setBillOfMaterialVariant
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillOfMaterialVariant
- Parameters:
billOfMaterialVariant- Alternative BOM
-
setMaterial
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setIsMultipleBOMAlt
Constraints: noneOriginal property name from the Odata EDM: IsMultipleBOMAlt
- Parameters:
isMultipleBOMAlt- Indicator: alternative determination for multiple BOMs
-
setBOMHeaderInternalChangeCount
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BOMHeaderInternalChangeCount
- Parameters:
bOMHeaderInternalChangeCount- Internal counter
-
setBOMUsagePriority
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BOMUsagePriority
- Parameters:
bOMUsagePriority- CIM priority for selection ID
-
setBillOfMaterialAuthsnGrp
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillOfMaterialAuthsnGrp
- Parameters:
billOfMaterialAuthsnGrp- Authorization group for bills of material
-
setBillOfMaterialVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillOfMaterialVersion
- Parameters:
billOfMaterialVersion- BOM Version
-
setBOMVersionStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BOMVersionStatus
- Parameters:
bOMVersionStatus- BOM Version Status
-
setIsVersionBillOfMaterial
Constraints: noneOriginal property name from the Odata EDM: IsVersionBillOfMaterial
- Parameters:
isVersionBillOfMaterial- Indicator: Relevant for Versioning
-
setIsLatestBOMVersion
Constraints: noneOriginal property name from the Odata EDM: IsLatestBOMVersion
- Parameters:
isLatestBOMVersion- Indicator: Latest Released BOM Version
-
setIsConfiguredMaterial
Constraints: noneOriginal property name from the Odata EDM: IsConfiguredMaterial
- Parameters:
isConfiguredMaterial- Product is Configurable
-
setBOMTechnicalType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BOMTechnicalType
- Parameters:
bOMTechnicalType- Technical type
-
setBOMGroup
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: BOMGroup
- Parameters:
bOMGroup- BOM group
-
setBOMHeaderText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BOMHeaderText
- Parameters:
bOMHeaderText- BOM Description
-
setBOMAlternativeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BOMAlternativeText
- Parameters:
bOMAlternativeText- Alternative BOM Text
-
setBillOfMaterialStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillOfMaterialStatus
- Parameters:
billOfMaterialStatus- Bill of Material Status
-
setHeaderValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: HeaderValidityStartDate
- Parameters:
headerValidityStartDate- Valid-From Date
-
setHeaderValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: HeaderValidityEndDate
- Parameters:
headerValidityEndDate- Valid-to date
-
setEngineeringChangeDocument
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: EngineeringChangeDocument
- Parameters:
engineeringChangeDocument- Change Number
-
setEngineeringChangeDocForEdit
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: EngineeringChangeDocForEdit
- Parameters:
engineeringChangeDocForEdit- Change Number
-
setChgToEngineeringChgDocument
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChgToEngineeringChgDocument
- Parameters:
chgToEngineeringChgDocument- Change Number To
-
setIsMarkedForDeletion
Constraints: noneOriginal property name from the Odata EDM: IsMarkedForDeletion
- Parameters:
isMarkedForDeletion- Deletion Indicator
-
setIsALE
Constraints: noneOriginal property name from the Odata EDM: IsALE
- Parameters:
isALE- ALE indicator
-
setBOMHeaderBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BOMHeaderBaseUnit
- Parameters:
bOMHeaderBaseUnit- Base Unit of Measure for BOM
-
setBOMHeaderQuantityInBaseUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: BOMHeaderQuantityInBaseUnit
- Parameters:
bOMHeaderQuantityInBaseUnit- Base quantity
-
setRecordCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: RecordCreationDate
- Parameters:
recordCreationDate- Date Record Created On
-
setLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- Last Changed On
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- User Who Created Record
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Name of Person Who Changed Object
-
setBOMIsToBeDeleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BOMIsToBeDeleted
- Parameters:
bOMIsToBeDeleted- Handling Deletion Flag During BOM Explosion
-
setDocumentIsCreatedByCAD
Constraints: noneOriginal property name from the Odata EDM: DocumentIsCreatedByCAD
- Parameters:
documentIsCreatedByCAD- CAD Indicator
-
setLaboratoryOrDesignOffice
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LaboratoryOrDesignOffice
- Parameters:
laboratoryOrDesignOffice- Laboratory/design office
-
setSelectedBillOfMaterialVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SelectedBillOfMaterialVersion
- Parameters:
selectedBillOfMaterialVersion- The selectedBillOfMaterialVersion to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BillOfMaterial>
-
getKey
- Overrides:
getKeyin classVdmObject<BillOfMaterial>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BillOfMaterial>
-
fromMap
- Overrides:
fromMapin classVdmObject<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<BillOfMaterial>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BillOfMaterial>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BillOfMaterial>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BillOfMaterial>
-
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
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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_BillOfMaterialItem is already loaded, the result
will contain the BillOfMaterialItem entities. If not, an
Optionwith result stateemptyis returned.
-
setBillOfMaterialItem
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
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
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
nullif 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
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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_BillOfMaterialUsage is already loaded, the result
will contain the BillOfMaterialUsage entity. If not, an
Optionwith result stateemptyis returned.
-
setBillOfMaterialUsage
Overwrites the associated BillOfMaterialUsage entity for the loaded navigation property to_BillOfMaterialUsage.- Parameters:
value- New BillOfMaterialUsage entity.
-
builder
-
getBillOfMaterialHeaderUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: BillOfMaterialHeaderUUID
- Returns:
- Global identification of a BOM header change status
-
getBillOfMaterialVariantUsage
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialVariantUsage
- Returns:
- BOM Usage
-
getBillOfMaterialCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialCategory
- Returns:
- BOM category
-
getBillOfMaterial
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillOfMaterial
- Returns:
- Bill of Material
-
getBillOfMaterialVariant
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillOfMaterialVariant
- Returns:
- Alternative BOM
-
getMaterial
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getIsMultipleBOMAlt
Constraints: noneOriginal property name from the Odata EDM: IsMultipleBOMAlt
- Returns:
- Indicator: alternative determination for multiple BOMs
-
getBOMHeaderInternalChangeCount
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BOMHeaderInternalChangeCount
- Returns:
- Internal counter
-
getBOMUsagePriority
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BOMUsagePriority
- Returns:
- CIM priority for selection ID
-
getBillOfMaterialAuthsnGrp
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillOfMaterialAuthsnGrp
- Returns:
- Authorization group for bills of material
-
getBillOfMaterialVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillOfMaterialVersion
- Returns:
- BOM Version
-
getBOMVersionStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BOMVersionStatus
- Returns:
- BOM Version Status
-
getIsVersionBillOfMaterial
Constraints: noneOriginal property name from the Odata EDM: IsVersionBillOfMaterial
- Returns:
- Indicator: Relevant for Versioning
-
getIsLatestBOMVersion
Constraints: noneOriginal property name from the Odata EDM: IsLatestBOMVersion
- Returns:
- Indicator: Latest Released BOM Version
-
getIsConfiguredMaterial
Constraints: noneOriginal property name from the Odata EDM: IsConfiguredMaterial
- Returns:
- Product is Configurable
-
getBOMTechnicalType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BOMTechnicalType
- Returns:
- Technical type
-
getBOMGroup
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: BOMGroup
- Returns:
- BOM group
-
getBOMHeaderText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BOMHeaderText
- Returns:
- BOM Description
-
getBOMAlternativeText
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BOMAlternativeText
- Returns:
- Alternative BOM Text
-
getBillOfMaterialStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillOfMaterialStatus
- Returns:
- Bill of Material Status
-
getHeaderValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: HeaderValidityStartDate
- Returns:
- Valid-From Date
-
getHeaderValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: HeaderValidityEndDate
- Returns:
- Valid-to date
-
getEngineeringChangeDocument
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: EngineeringChangeDocument
- Returns:
- Change Number
-
getEngineeringChangeDocForEdit
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: EngineeringChangeDocForEdit
- Returns:
- Change Number
-
getChgToEngineeringChgDocument
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChgToEngineeringChgDocument
- Returns:
- Change Number To
-
getIsMarkedForDeletion
Constraints: noneOriginal property name from the Odata EDM: IsMarkedForDeletion
- Returns:
- Deletion Indicator
-
getIsALE
Constraints: noneOriginal property name from the Odata EDM: IsALE
- Returns:
- ALE indicator
-
getBOMHeaderBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BOMHeaderBaseUnit
- Returns:
- Base Unit of Measure for BOM
-
getBOMHeaderQuantityInBaseUnit
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: BOMHeaderQuantityInBaseUnit
- Returns:
- Base quantity
-
getRecordCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: RecordCreationDate
- Returns:
- Date Record Created On
-
getLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Returns:
- Last Changed On
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- User Who Created Record
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Name of Person Who Changed Object
-
getBOMIsToBeDeleted
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BOMIsToBeDeleted
- Returns:
- Handling Deletion Flag During BOM Explosion
-
getDocumentIsCreatedByCAD
Constraints: noneOriginal property name from the Odata EDM: DocumentIsCreatedByCAD
- Returns:
- CAD Indicator
-
getLaboratoryOrDesignOffice
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LaboratoryOrDesignOffice
- Returns:
- Laboratory/design office
-
getSelectedBillOfMaterialVersion
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SelectedBillOfMaterialVersion
- Returns:
- The selectedBillOfMaterialVersion contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<BillOfMaterial>
-
equals
- Overrides:
equalsin classVdmEntity<BillOfMaterial>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BillOfMaterial>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BillOfMaterial>
-