public class MaterialBOM extends VdmEntity<MaterialBOM>
Original entity name from the Odata EDM: MaterialBOMType
Modifier and Type | Class and Description |
---|---|
static class |
MaterialBOM.MaterialBOMBuilder
Helper class to allow for fluent creation of MaterialBOM instances.
|
Modifier and Type | Field and Description |
---|---|
static MaterialBOMSelectable |
ALL_FIELDS
Selector for all available fields of MaterialBOM.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL
Use with available fluent helpers to apply the BillOfMaterial field to query operations.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL_AUTHSN_GRP
Use with available fluent helpers to apply the BillOfMaterialAuthsnGrp field to query operations.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL_CATEGORY
Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL_HDR_DETAILS_TEXT
Use with available fluent helpers to apply the BillOfMaterialHdrDetailsText field to query operations.
|
static MaterialBOMField<UUID> |
BILL_OF_MATERIAL_HEADER_UUID
Use with available fluent helpers to apply the BillOfMaterialHeaderUUID field to query operations.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL_STATUS
Use with available fluent helpers to apply the BillOfMaterialStatus field to query operations.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL_VARIANT
Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL_VARIANT_USAGE
Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations.
|
static MaterialBOMField<String> |
BILL_OF_MATERIAL_VERSION
Use with available fluent helpers to apply the BillOfMaterialVersion field to query operations.
|
static MaterialBOMField<String> |
BOM_ALTERNATIVE_TEXT
Use with available fluent helpers to apply the BOMAlternativeText field to query operations.
|
static MaterialBOMField<String> |
BOM_GROUP
Use with available fluent helpers to apply the BOMGroup field to query operations.
|
static MaterialBOMField<String> |
BOM_HEADER_BASE_UNIT
Use with available fluent helpers to apply the BOMHeaderBaseUnit field to query operations.
|
static MaterialBOMField<String> |
BOM_HEADER_INTERNAL_CHANGE_COUNT
Use with available fluent helpers to apply the BOMHeaderInternalChangeCount field to query operations.
|
static MaterialBOMField<BigDecimal> |
BOM_HEADER_QUANTITY_IN_BASE_UNIT
Use with available fluent helpers to apply the BOMHeaderQuantityInBaseUnit field to query operations.
|
static MaterialBOMField<String> |
BOM_HEADER_TEXT
Use with available fluent helpers to apply the BOMHeaderText field to query operations.
|
static MaterialBOMField<String> |
BOM_IS_TO_BE_DELETED
Use with available fluent helpers to apply the BOMIsToBeDeleted field to query operations.
|
static MaterialBOMField<String> |
BOM_TECHNICAL_TYPE
Use with available fluent helpers to apply the BOMTechnicalType field to query operations.
|
static MaterialBOMField<String> |
BOM_USAGE_PRIORITY
Use with available fluent helpers to apply the BOMUsagePriority field to query operations.
|
static MaterialBOMField<String> |
BOM_VERSION_STATUS
Use with available fluent helpers to apply the BOMVersionStatus field to query operations.
|
static MaterialBOMField<String> |
CHG_TO_ENGINEERING_CHG_DOCUMENT
Use with available fluent helpers to apply the ChgToEngineeringChgDocument field to query operations.
|
static MaterialBOMField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static MaterialBOMField<Boolean> |
DOCUMENT_IS_CREATED_BY_CAD
Use with available fluent helpers to apply the DocumentIsCreatedByCAD field to query operations.
|
static MaterialBOMField<String> |
ENGINEERING_CHANGE_DOC_FOR_EDIT
Use with available fluent helpers to apply the EngineeringChangeDocForEdit field to query operations.
|
static MaterialBOMField<String> |
ENGINEERING_CHANGE_DOCUMENT
Use with available fluent helpers to apply the EngineeringChangeDocument field to query operations.
|
static MaterialBOMField<LocalDateTime> |
HEADER_VALIDITY_END_DATE
Use with available fluent helpers to apply the HeaderValidityEndDate field to query operations.
|
static MaterialBOMField<LocalDateTime> |
HEADER_VALIDITY_START_DATE
Use with available fluent helpers to apply the HeaderValidityStartDate field to query operations.
|
static MaterialBOMField<Boolean> |
IS_ALE
Use with available fluent helpers to apply the IsALE field to query operations.
|
static MaterialBOMField<Boolean> |
IS_CONFIGURED_MATERIAL
Use with available fluent helpers to apply the IsConfiguredMaterial field to query operations.
|
static MaterialBOMField<Boolean> |
IS_LATEST_BOM_VERSION
Use with available fluent helpers to apply the IsLatestBOMVersion field to query operations.
|
static MaterialBOMField<Boolean> |
IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the IsMarkedForDeletion field to query operations.
|
static MaterialBOMField<Boolean> |
IS_MULTIPLE_BOM_ALT
Use with available fluent helpers to apply the IsMultipleBOMAlt field to query operations.
|
static MaterialBOMField<Boolean> |
IS_VERSION_BILL_OF_MATERIAL
Use with available fluent helpers to apply the IsVersionBillOfMaterial field to query operations.
|
static MaterialBOMField<String> |
LABORATORY_OR_DESIGN_OFFICE
Use with available fluent helpers to apply the LaboratoryOrDesignOffice field to query operations.
|
static MaterialBOMField<LocalDateTime> |
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations.
|
static MaterialBOMField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static MaterialBOMField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static MaterialBOMField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static MaterialBOMField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static MaterialBOMField<String> |
PLANT_NAME
Use with available fluent helpers to apply the PlantName field to query operations.
|
static MaterialBOMField<String> |
PRODUCT_DESCRIPTION
Use with available fluent helpers to apply the ProductDescription field to query operations.
|
static MaterialBOMField<LocalDateTime> |
RECORD_CREATION_DATE
Use with available fluent helpers to apply the RecordCreationDate field to query operations.
|
static MaterialBOMField<String> |
SELECTED_BILL_OF_MATERIAL_VERSION
Use with available fluent helpers to apply the SelectedBillOfMaterialVersion field to query operations.
|
static MaterialBOMLink<MaterialBOMItem> |
TO_BILL_OF_MATERIAL_ITEM
Use with available fluent helpers to apply the to_BillOfMaterialItem navigation property to query
operations.
|
static MaterialBOMOneToOneLink<BillOfMaterialUsage> |
TO_BILL_OF_MATERIAL_USAGE
Use with available fluent helpers to apply the to_BillOfMaterialUsage navigation property to query
operations.
|
changedOriginalFields
Constructor and Description |
---|
MaterialBOM() |
MaterialBOM(String billOfMaterial,
String billOfMaterialCategory,
String billOfMaterialVariant,
String billOfMaterialVersion,
String engineeringChangeDocument,
String material,
String plant,
UUID billOfMaterialHeaderUUID,
String billOfMaterialVariantUsage,
String engineeringChangeDocForEdit,
Boolean isMultipleBOMAlt,
String bOMHeaderInternalChangeCount,
String bOMUsagePriority,
String billOfMaterialAuthsnGrp,
String bOMVersionStatus,
Boolean isVersionBillOfMaterial,
Boolean isLatestBOMVersion,
Boolean isConfiguredMaterial,
String bOMTechnicalType,
String bOMGroup,
String bOMHeaderText,
String bOMAlternativeText,
String billOfMaterialStatus,
LocalDateTime headerValidityStartDate,
LocalDateTime headerValidityEndDate,
String chgToEngineeringChgDocument,
Boolean isMarkedForDeletion,
Boolean isALE,
String bOMHeaderBaseUnit,
BigDecimal bOMHeaderQuantityInBaseUnit,
LocalDateTime recordCreationDate,
LocalDateTime lastChangeDate,
String createdByUser,
String lastChangedByUser,
String bOMIsToBeDeleted,
Boolean documentIsCreatedByCAD,
String laboratoryOrDesignOffice,
ZonedDateTime lastChangeDateTime,
String productDescription,
String plantName,
String billOfMaterialHdrDetailsText,
String selectedBillOfMaterialVersion,
List<MaterialBOMItem> toBillOfMaterialItem,
BillOfMaterialUsage toBillOfMaterialUsage) |
Modifier and Type | Method and Description |
---|---|
void |
addBillOfMaterialItem(MaterialBOMItem... entity)
Adds elements to the list of associated MaterialBOMItem entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static MaterialBOM.MaterialBOMBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<MaterialBOMItem> |
fetchBillOfMaterialItem()
Fetches the MaterialBOMItem entities (one to many) associated with this entity.
|
BillOfMaterialUsage |
fetchBillOfMaterialUsage()
Fetches the BillOfMaterialUsage entity (one to one) associated with this entity.
|
static <T> MaterialBOMField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBillOfMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getBillOfMaterialAuthsnGrp()
Constraints: Not nullable, Maximum length: 4
|
String |
getBillOfMaterialCategory()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
String |
getBillOfMaterialHdrDetailsText()
Constraints: Not nullable, Maximum length: 255
|
UUID |
getBillOfMaterialHeaderUUID()
Constraints: none
|
io.vavr.control.Option<List<MaterialBOMItem>> |
getBillOfMaterialItemIfPresent()
Retrieval of associated MaterialBOMItem entities (one to many).
|
List<MaterialBOMItem> |
getBillOfMaterialItemOrFetch()
Retrieval of associated MaterialBOMItem entities (one to many).
|
String |
getBillOfMaterialStatus()
Constraints: Not nullable, Maximum length: 2
|
io.vavr.control.Option<BillOfMaterialUsage> |
getBillOfMaterialUsageIfPresent()
Retrieval of associated BillOfMaterialUsage entity (one to one).
|
BillOfMaterialUsage |
getBillOfMaterialUsageOrFetch()
Retrieval of associated BillOfMaterialUsage entity (one to one).
|
String |
getBillOfMaterialVariant()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getBillOfMaterialVariantUsage()
Constraints: Not nullable, Maximum length: 1
|
String |
getBillOfMaterialVersion()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getBOMAlternativeText()
Constraints: Not nullable, Maximum length: 40
|
String |
getBOMGroup()
Constraints: Not nullable, Maximum length: 18
|
String |
getBOMHeaderBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getBOMHeaderInternalChangeCount()
Constraints: Not nullable, Maximum length: 8
|
BigDecimal |
getBOMHeaderQuantityInBaseUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getBOMHeaderText()
Constraints: Not nullable, Maximum length: 40
|
String |
getBOMIsToBeDeleted()
Constraints: Not nullable, Maximum length: 1
|
String |
getBOMTechnicalType()
Constraints: Not nullable, Maximum length: 1
|
String |
getBOMUsagePriority()
Constraints: Not nullable, Maximum length: 2
|
String |
getBOMVersionStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getChgToEngineeringChgDocument()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
Boolean |
getDocumentIsCreatedByCAD()
Constraints: none
|
String |
getEngineeringChangeDocForEdit()
Constraints: Not nullable, Maximum length: 12
|
String |
getEngineeringChangeDocument()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
LocalDateTime |
getHeaderValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getHeaderValidityStartDate()
Constraints: Not nullable, Precision: 0
|
Boolean |
getIsALE()
Constraints: none
|
Boolean |
getIsConfiguredMaterial()
Constraints: none
|
Boolean |
getIsLatestBOMVersion()
Constraints: none
|
Boolean |
getIsMarkedForDeletion()
Constraints: none
|
Boolean |
getIsMultipleBOMAlt()
Constraints: none
|
Boolean |
getIsVersionBillOfMaterial()
Constraints: none
|
protected Map<String,Object> |
getKey() |
String |
getLaboratoryOrDesignOffice()
Constraints: Not nullable, Maximum length: 3
|
LocalDateTime |
getLastChangeDate()
Constraints: Not nullable, Precision: 0
|
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getPlantName()
Constraints: Not nullable, Maximum length: 30
|
String |
getProductDescription()
Constraints: Not nullable, Maximum length: 40
|
LocalDateTime |
getRecordCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getSelectedBillOfMaterialVersion()
Constraints: Not nullable, Maximum length: 4
|
Class<MaterialBOM> |
getType() |
int |
hashCode() |
void |
setBillOfMaterial(String billOfMaterial)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setBillOfMaterialAuthsnGrp(String billOfMaterialAuthsnGrp)
Constraints: Not nullable, Maximum length: 4
|
void |
setBillOfMaterialCategory(String billOfMaterialCategory)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setBillOfMaterialHdrDetailsText(String billOfMaterialHdrDetailsText)
Constraints: Not nullable, Maximum length: 255
|
void |
setBillOfMaterialHeaderUUID(UUID billOfMaterialHeaderUUID)
Constraints: none
|
void |
setBillOfMaterialItem(List<MaterialBOMItem> value)
Overwrites the list of associated MaterialBOMItem entities for the loaded navigation property
to_BillOfMaterialItem.
|
void |
setBillOfMaterialStatus(String billOfMaterialStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setBillOfMaterialUsage(BillOfMaterialUsage value)
Overwrites the associated BillOfMaterialUsage entity for the loaded navigation property
to_BillOfMaterialUsage.
|
void |
setBillOfMaterialVariant(String billOfMaterialVariant)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setBillOfMaterialVariantUsage(String billOfMaterialVariantUsage)
Constraints: Not nullable, Maximum length: 1
|
void |
setBillOfMaterialVersion(String billOfMaterialVersion)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setBOMAlternativeText(String bOMAlternativeText)
Constraints: Not nullable, Maximum length: 40
|
void |
setBOMGroup(String bOMGroup)
Constraints: Not nullable, Maximum length: 18
|
void |
setBOMHeaderBaseUnit(String bOMHeaderBaseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setBOMHeaderInternalChangeCount(String bOMHeaderInternalChangeCount)
Constraints: Not nullable, Maximum length: 8
|
void |
setBOMHeaderQuantityInBaseUnit(BigDecimal bOMHeaderQuantityInBaseUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setBOMHeaderText(String bOMHeaderText)
Constraints: Not nullable, Maximum length: 40
|
void |
setBOMIsToBeDeleted(String bOMIsToBeDeleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setBOMTechnicalType(String bOMTechnicalType)
Constraints: Not nullable, Maximum length: 1
|
void |
setBOMUsagePriority(String bOMUsagePriority)
Constraints: Not nullable, Maximum length: 2
|
void |
setBOMVersionStatus(String bOMVersionStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setChgToEngineeringChgDocument(String chgToEngineeringChgDocument)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setDocumentIsCreatedByCAD(Boolean documentIsCreatedByCAD)
Constraints: none
|
void |
setEngineeringChangeDocForEdit(String engineeringChangeDocForEdit)
Constraints: Not nullable, Maximum length: 12
|
void |
setEngineeringChangeDocument(String engineeringChangeDocument)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
void |
setHeaderValidityEndDate(LocalDateTime headerValidityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setHeaderValidityStartDate(LocalDateTime headerValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setIsALE(Boolean isALE)
Constraints: none
|
void |
setIsConfiguredMaterial(Boolean isConfiguredMaterial)
Constraints: none
|
void |
setIsLatestBOMVersion(Boolean isLatestBOMVersion)
Constraints: none
|
void |
setIsMarkedForDeletion(Boolean isMarkedForDeletion)
Constraints: none
|
void |
setIsMultipleBOMAlt(Boolean isMultipleBOMAlt)
Constraints: none
|
void |
setIsVersionBillOfMaterial(Boolean isVersionBillOfMaterial)
Constraints: none
|
void |
setLaboratoryOrDesignOffice(String laboratoryOrDesignOffice)
Constraints: Not nullable, Maximum length: 3
|
void |
setLastChangeDate(LocalDateTime lastChangeDate)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPlantName(String plantName)
Constraints: Not nullable, Maximum length: 30
|
void |
setProductDescription(String productDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setRecordCreationDate(LocalDateTime recordCreationDate)
Constraints: Not nullable, Precision: 0
|
void |
setSelectedBillOfMaterialVersion(String selectedBillOfMaterialVersion)
Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final MaterialBOMSelectable ALL_FIELDS
public static final MaterialBOMField<String> BILL_OF_MATERIAL
public static final MaterialBOMField<String> BILL_OF_MATERIAL_CATEGORY
public static final MaterialBOMField<String> BILL_OF_MATERIAL_VARIANT
public static final MaterialBOMField<String> BILL_OF_MATERIAL_VERSION
public static final MaterialBOMField<String> ENGINEERING_CHANGE_DOCUMENT
public static final MaterialBOMField<String> MATERIAL
public static final MaterialBOMField<String> PLANT
public static final MaterialBOMField<UUID> BILL_OF_MATERIAL_HEADER_UUID
public static final MaterialBOMField<String> BILL_OF_MATERIAL_VARIANT_USAGE
public static final MaterialBOMField<String> ENGINEERING_CHANGE_DOC_FOR_EDIT
public static final MaterialBOMField<Boolean> IS_MULTIPLE_BOM_ALT
public static final MaterialBOMField<String> BOM_HEADER_INTERNAL_CHANGE_COUNT
public static final MaterialBOMField<String> BOM_USAGE_PRIORITY
public static final MaterialBOMField<String> BILL_OF_MATERIAL_AUTHSN_GRP
public static final MaterialBOMField<String> BOM_VERSION_STATUS
public static final MaterialBOMField<Boolean> IS_VERSION_BILL_OF_MATERIAL
public static final MaterialBOMField<Boolean> IS_LATEST_BOM_VERSION
public static final MaterialBOMField<Boolean> IS_CONFIGURED_MATERIAL
public static final MaterialBOMField<String> BOM_TECHNICAL_TYPE
public static final MaterialBOMField<String> BOM_GROUP
public static final MaterialBOMField<String> BOM_HEADER_TEXT
public static final MaterialBOMField<String> BOM_ALTERNATIVE_TEXT
public static final MaterialBOMField<String> BILL_OF_MATERIAL_STATUS
public static final MaterialBOMField<LocalDateTime> HEADER_VALIDITY_START_DATE
public static final MaterialBOMField<LocalDateTime> HEADER_VALIDITY_END_DATE
public static final MaterialBOMField<String> CHG_TO_ENGINEERING_CHG_DOCUMENT
public static final MaterialBOMField<Boolean> IS_MARKED_FOR_DELETION
public static final MaterialBOMField<Boolean> IS_ALE
public static final MaterialBOMField<String> BOM_HEADER_BASE_UNIT
public static final MaterialBOMField<BigDecimal> BOM_HEADER_QUANTITY_IN_BASE_UNIT
public static final MaterialBOMField<LocalDateTime> RECORD_CREATION_DATE
public static final MaterialBOMField<LocalDateTime> LAST_CHANGE_DATE
public static final MaterialBOMField<String> CREATED_BY_USER
public static final MaterialBOMField<String> LAST_CHANGED_BY_USER
public static final MaterialBOMField<String> BOM_IS_TO_BE_DELETED
public static final MaterialBOMField<Boolean> DOCUMENT_IS_CREATED_BY_CAD
public static final MaterialBOMField<String> LABORATORY_OR_DESIGN_OFFICE
public static final MaterialBOMField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final MaterialBOMField<String> PRODUCT_DESCRIPTION
public static final MaterialBOMField<String> PLANT_NAME
public static final MaterialBOMField<String> BILL_OF_MATERIAL_HDR_DETAILS_TEXT
public static final MaterialBOMField<String> SELECTED_BILL_OF_MATERIAL_VERSION
public static final MaterialBOMLink<MaterialBOMItem> TO_BILL_OF_MATERIAL_ITEM
public static final MaterialBOMOneToOneLink<BillOfMaterialUsage> TO_BILL_OF_MATERIAL_USAGE
public MaterialBOM()
public MaterialBOM(@Nullable String billOfMaterial, @Nullable String billOfMaterialCategory, @Nullable String billOfMaterialVariant, @Nullable String billOfMaterialVersion, @Nullable String engineeringChangeDocument, @Nullable String material, @Nullable String plant, @Nullable UUID billOfMaterialHeaderUUID, @Nullable String billOfMaterialVariantUsage, @Nullable String engineeringChangeDocForEdit, @Nullable Boolean isMultipleBOMAlt, @Nullable String bOMHeaderInternalChangeCount, @Nullable String bOMUsagePriority, @Nullable String billOfMaterialAuthsnGrp, @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 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 ZonedDateTime lastChangeDateTime, @Nullable String productDescription, @Nullable String plantName, @Nullable String billOfMaterialHdrDetailsText, @Nullable String selectedBillOfMaterialVersion, List<MaterialBOMItem> toBillOfMaterialItem, @Nullable BillOfMaterialUsage toBillOfMaterialUsage)
@Nonnull public Class<MaterialBOM> getType()
getType
in class VdmObject<MaterialBOM>
public void setBillOfMaterial(@Nullable String billOfMaterial)
Original property name from the Odata EDM: BillOfMaterial
billOfMaterial
- Bill of Materialpublic void setBillOfMaterialCategory(@Nullable String billOfMaterialCategory)
Original property name from the Odata EDM: BillOfMaterialCategory
billOfMaterialCategory
- BOM categorypublic void setBillOfMaterialVariant(@Nullable String billOfMaterialVariant)
Original property name from the Odata EDM: BillOfMaterialVariant
billOfMaterialVariant
- Alternative BOMpublic void setBillOfMaterialVersion(@Nullable String billOfMaterialVersion)
Original property name from the Odata EDM: BillOfMaterialVersion
billOfMaterialVersion
- BOM Versionpublic void setEngineeringChangeDocument(@Nullable String engineeringChangeDocument)
Original property name from the Odata EDM: EngineeringChangeDocument
engineeringChangeDocument
- Change Numberpublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Material Numberpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setBillOfMaterialHeaderUUID(@Nullable UUID billOfMaterialHeaderUUID)
Original property name from the Odata EDM: BillOfMaterialHeaderUUID
billOfMaterialHeaderUUID
- Global identification of a BOM header change statuspublic void setBillOfMaterialVariantUsage(@Nullable String billOfMaterialVariantUsage)
Original property name from the Odata EDM: BillOfMaterialVariantUsage
billOfMaterialVariantUsage
- BOM Usagepublic void setEngineeringChangeDocForEdit(@Nullable String engineeringChangeDocForEdit)
Original property name from the Odata EDM: EngineeringChangeDocForEdit
engineeringChangeDocForEdit
- Change Numberpublic void setIsMultipleBOMAlt(@Nullable Boolean isMultipleBOMAlt)
Original property name from the Odata EDM: IsMultipleBOMAlt
isMultipleBOMAlt
- Indicator: alternative determination for multiple BOMspublic void setBOMHeaderInternalChangeCount(@Nullable String bOMHeaderInternalChangeCount)
Original property name from the Odata EDM: BOMHeaderInternalChangeCount
bOMHeaderInternalChangeCount
- Internal counterpublic void setBOMUsagePriority(@Nullable String bOMUsagePriority)
Original property name from the Odata EDM: BOMUsagePriority
bOMUsagePriority
- CIM priority for selection IDpublic void setBillOfMaterialAuthsnGrp(@Nullable String billOfMaterialAuthsnGrp)
Original property name from the Odata EDM: BillOfMaterialAuthsnGrp
billOfMaterialAuthsnGrp
- Authorization group for bills of materialpublic void setBOMVersionStatus(@Nullable String bOMVersionStatus)
Original property name from the Odata EDM: BOMVersionStatus
bOMVersionStatus
- BOM Version Statuspublic void setIsVersionBillOfMaterial(@Nullable Boolean isVersionBillOfMaterial)
Original property name from the Odata EDM: IsVersionBillOfMaterial
isVersionBillOfMaterial
- Indicator: Relevant for Versioningpublic void setIsLatestBOMVersion(@Nullable Boolean isLatestBOMVersion)
Original property name from the Odata EDM: IsLatestBOMVersion
isLatestBOMVersion
- Indicator: Latest Released BOM Versionpublic void setIsConfiguredMaterial(@Nullable Boolean isConfiguredMaterial)
Original property name from the Odata EDM: IsConfiguredMaterial
isConfiguredMaterial
- Indicator: configurable BOMpublic void setBOMTechnicalType(@Nullable String bOMTechnicalType)
Original property name from the Odata EDM: BOMTechnicalType
bOMTechnicalType
- Technical typepublic void setBOMGroup(@Nullable String bOMGroup)
Original property name from the Odata EDM: BOMGroup
bOMGroup
- BOM grouppublic void setBOMHeaderText(@Nullable String bOMHeaderText)
Original property name from the Odata EDM: BOMHeaderText
bOMHeaderText
- BOM Descriptionpublic void setBOMAlternativeText(@Nullable String bOMAlternativeText)
Original property name from the Odata EDM: BOMAlternativeText
bOMAlternativeText
- Alternative BOM Textpublic void setBillOfMaterialStatus(@Nullable String billOfMaterialStatus)
Original property name from the Odata EDM: BillOfMaterialStatus
billOfMaterialStatus
- Bill of Material Statuspublic void setHeaderValidityStartDate(@Nullable LocalDateTime headerValidityStartDate)
Original property name from the Odata EDM: HeaderValidityStartDate
headerValidityStartDate
- Valid-From Datepublic void setHeaderValidityEndDate(@Nullable LocalDateTime headerValidityEndDate)
Original property name from the Odata EDM: HeaderValidityEndDate
headerValidityEndDate
- Valid-to datepublic void setChgToEngineeringChgDocument(@Nullable String chgToEngineeringChgDocument)
Original property name from the Odata EDM: ChgToEngineeringChgDocument
chgToEngineeringChgDocument
- Change Number Topublic void setIsMarkedForDeletion(@Nullable Boolean isMarkedForDeletion)
Original property name from the Odata EDM: IsMarkedForDeletion
isMarkedForDeletion
- Deletion Indicatorpublic void setIsALE(@Nullable Boolean isALE)
Original property name from the Odata EDM: IsALE
isALE
- ALE indicatorpublic void setBOMHeaderBaseUnit(@Nullable String bOMHeaderBaseUnit)
Original property name from the Odata EDM: BOMHeaderBaseUnit
bOMHeaderBaseUnit
- Base Unit of Measure for BOMpublic void setBOMHeaderQuantityInBaseUnit(@Nullable BigDecimal bOMHeaderQuantityInBaseUnit)
Original property name from the Odata EDM: BOMHeaderQuantityInBaseUnit
bOMHeaderQuantityInBaseUnit
- Base quantitypublic void setRecordCreationDate(@Nullable LocalDateTime recordCreationDate)
Original property name from the Odata EDM: RecordCreationDate
recordCreationDate
- Date Record Created Onpublic void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
Original property name from the Odata EDM: LastChangeDate
lastChangeDate
- Date of Last Changepublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- User who created recordpublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Name of person who changed objectpublic void setBOMIsToBeDeleted(@Nullable String bOMIsToBeDeleted)
Original property name from the Odata EDM: BOMIsToBeDeleted
bOMIsToBeDeleted
- Handling Deletion Flag During BOM Explosionpublic void setDocumentIsCreatedByCAD(@Nullable Boolean documentIsCreatedByCAD)
Original property name from the Odata EDM: DocumentIsCreatedByCAD
documentIsCreatedByCAD
- CAD Indicatorpublic void setLaboratoryOrDesignOffice(@Nullable String laboratoryOrDesignOffice)
Original property name from the Odata EDM: LaboratoryOrDesignOffice
laboratoryOrDesignOffice
- Laboratory/design officepublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)public void setProductDescription(@Nullable String productDescription)
Original property name from the Odata EDM: ProductDescription
productDescription
- Product Descriptionpublic void setPlantName(@Nullable String plantName)
Original property name from the Odata EDM: PlantName
plantName
- Plant Namepublic void setBillOfMaterialHdrDetailsText(@Nullable String billOfMaterialHdrDetailsText)
Original property name from the Odata EDM: BillOfMaterialHdrDetailsText
billOfMaterialHdrDetailsText
- The billOfMaterialHdrDetailsText to set.public void setSelectedBillOfMaterialVersion(@Nullable String selectedBillOfMaterialVersion)
Original property name from the Odata EDM: SelectedBillOfMaterialVersion
selectedBillOfMaterialVersion
- The selectedBillOfMaterialVersion to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<MaterialBOM>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<MaterialBOM>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<MaterialBOM>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<MaterialBOM>
@Nonnull public static <T> MaterialBOMField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> MaterialBOMField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<MaterialBOM>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<MaterialBOM>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<MaterialBOM>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<MaterialBOM>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<MaterialBOM>
@Nonnull public List<MaterialBOMItem> fetchBillOfMaterialItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<MaterialBOMItem> getBillOfMaterialItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_BillOfMaterialItem of a queried MaterialBOM 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<MaterialBOMItem>> getBillOfMaterialItemIfPresent()
If the navigation property for an entity MaterialBOM has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setBillOfMaterialItem(@Nonnull List<MaterialBOMItem> value)
If the navigation property to_BillOfMaterialItem of a queried MaterialBOM 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.
value
- List of MaterialBOMItem entities.public void addBillOfMaterialItem(MaterialBOMItem... entity)
If the navigation property to_BillOfMaterialItem of a queried MaterialBOM 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.
entity
- Array of MaterialBOMItem entities.@Nullable public BillOfMaterialUsage fetchBillOfMaterialUsage() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public BillOfMaterialUsage getBillOfMaterialUsageOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_BillOfMaterialUsage of a queried MaterialBOM 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<BillOfMaterialUsage> getBillOfMaterialUsageIfPresent()
If the navigation property for an entity MaterialBOM has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setBillOfMaterialUsage(BillOfMaterialUsage value)
value
- New BillOfMaterialUsage entity.@Nonnull public static MaterialBOM.MaterialBOMBuilder builder()
@Nullable public String getBillOfMaterial()
Original property name from the Odata EDM: BillOfMaterial
@Nullable public String getBillOfMaterialCategory()
Original property name from the Odata EDM: BillOfMaterialCategory
@Nullable public String getBillOfMaterialVariant()
Original property name from the Odata EDM: BillOfMaterialVariant
@Nullable public String getBillOfMaterialVersion()
Original property name from the Odata EDM: BillOfMaterialVersion
@Nullable public String getEngineeringChangeDocument()
Original property name from the Odata EDM: EngineeringChangeDocument
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public UUID getBillOfMaterialHeaderUUID()
Original property name from the Odata EDM: BillOfMaterialHeaderUUID
@Nullable public String getBillOfMaterialVariantUsage()
Original property name from the Odata EDM: BillOfMaterialVariantUsage
@Nullable public String getEngineeringChangeDocForEdit()
Original property name from the Odata EDM: EngineeringChangeDocForEdit
@Nullable public Boolean getIsMultipleBOMAlt()
Original property name from the Odata EDM: IsMultipleBOMAlt
@Nullable public String getBOMHeaderInternalChangeCount()
Original property name from the Odata EDM: BOMHeaderInternalChangeCount
@Nullable public String getBOMUsagePriority()
Original property name from the Odata EDM: BOMUsagePriority
@Nullable public String getBillOfMaterialAuthsnGrp()
Original property name from the Odata EDM: BillOfMaterialAuthsnGrp
@Nullable public String getBOMVersionStatus()
Original property name from the Odata EDM: BOMVersionStatus
@Nullable public Boolean getIsVersionBillOfMaterial()
Original property name from the Odata EDM: IsVersionBillOfMaterial
@Nullable public Boolean getIsLatestBOMVersion()
Original property name from the Odata EDM: IsLatestBOMVersion
@Nullable public Boolean getIsConfiguredMaterial()
Original property name from the Odata EDM: IsConfiguredMaterial
@Nullable public String getBOMTechnicalType()
Original property name from the Odata EDM: BOMTechnicalType
@Nullable public String getBOMGroup()
Original property name from the Odata EDM: BOMGroup
@Nullable public String getBOMHeaderText()
Original property name from the Odata EDM: BOMHeaderText
@Nullable public String getBOMAlternativeText()
Original property name from the Odata EDM: BOMAlternativeText
@Nullable public String getBillOfMaterialStatus()
Original property name from the Odata EDM: BillOfMaterialStatus
@Nullable public LocalDateTime getHeaderValidityStartDate()
Original property name from the Odata EDM: HeaderValidityStartDate
@Nullable public LocalDateTime getHeaderValidityEndDate()
Original property name from the Odata EDM: HeaderValidityEndDate
@Nullable public String getChgToEngineeringChgDocument()
Original property name from the Odata EDM: ChgToEngineeringChgDocument
@Nullable public Boolean getIsMarkedForDeletion()
Original property name from the Odata EDM: IsMarkedForDeletion
@Nullable public Boolean getIsALE()
Original property name from the Odata EDM: IsALE
@Nullable public String getBOMHeaderBaseUnit()
Original property name from the Odata EDM: BOMHeaderBaseUnit
@Nullable public BigDecimal getBOMHeaderQuantityInBaseUnit()
Original property name from the Odata EDM: BOMHeaderQuantityInBaseUnit
@Nullable public LocalDateTime getRecordCreationDate()
Original property name from the Odata EDM: RecordCreationDate
@Nullable public LocalDateTime getLastChangeDate()
Original property name from the Odata EDM: LastChangeDate
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public String getBOMIsToBeDeleted()
Original property name from the Odata EDM: BOMIsToBeDeleted
@Nullable public Boolean getDocumentIsCreatedByCAD()
Original property name from the Odata EDM: DocumentIsCreatedByCAD
@Nullable public String getLaboratoryOrDesignOffice()
Original property name from the Odata EDM: LaboratoryOrDesignOffice
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getProductDescription()
Original property name from the Odata EDM: ProductDescription
@Nullable public String getPlantName()
Original property name from the Odata EDM: PlantName
@Nullable public String getBillOfMaterialHdrDetailsText()
Original property name from the Odata EDM: BillOfMaterialHdrDetailsText
@Nullable public String getSelectedBillOfMaterialVersion()
Original property name from the Odata EDM: SelectedBillOfMaterialVersion
@Nonnull public String toString()
toString
in class VdmObject<MaterialBOM>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<MaterialBOM>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<MaterialBOM>
public int hashCode()
hashCode
in class VdmObject<MaterialBOM>
Copyright © 2021 SAP SE. All rights reserved.