Class MBOMItmObjDpnAssignment
Original entity name from the Odata EDM: MBOMItmObjDpnAssignmentType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MBOMItmObjDpnAssignment instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MBOMItmObjDpnAssignmentSelectableSelector for all available fields of MBOMItmObjDpnAssignment.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the BillOfMaterial field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the BillOfMaterialItemNodeNumber field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the BillOfMaterialVersion field to query operations.static final MBOMItmObjDpnAssignmentField<Boolean>Use with available fluent helpers to apply the Delete_mc field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the HeaderChangeDocument field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the Material field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the ObjDpnProcessingSequenceValue field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the ObjectDependencyName field to query operations.static final MBOMItmObjDpnAssignmentField<String>Use with available fluent helpers to apply the Plant field to query operations.static final MBOMItmObjDpnAssignmentOneToOneLink<MaterialBOM>Use with available fluent helpers to apply the to_BillOfMaterial navigation property to query operations.static final MBOMItmObjDpnAssignmentOneToOneLink<MaterialBOMItem>Use with available fluent helpers to apply the to_BillOfMaterialItem navigation property to query operations.static final MBOMItmObjDpnAssignmentField<Boolean>Use with available fluent helpers to apply the Update_mc field to query operations.static final MBOMItmObjDpnAssignmentField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final MBOMItmObjDpnAssignmentField<LocalDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionMBOMItmObjDpnAssignment(Boolean delete_mc, Boolean update_mc, String billOfMaterial, String billOfMaterialCategory, String billOfMaterialVariant, String billOfMaterialVersion, String headerChangeDocument, String material, String plant, String billOfMaterialItemNodeNumber, String objectDependencyName, String objDpnProcessingSequenceValue, LocalDateTime validityStartDate, LocalDateTime validityEndDate, MaterialBOMItem toBillOfMaterialItem, MaterialBOM toBillOfMaterial) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the MaterialBOM entity (one to one) associated with this entity.Fetches the MaterialBOMItem entity (one to one) associated with this entity.static <T,DomainT>
MBOMItmObjDpnAssignmentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> MBOMItmObjDpnAssignmentField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<MaterialBOM>Retrieval of associated MaterialBOM entity (one to one).io.vavr.control.Option<MaterialBOMItem>Retrieval of associated MaterialBOMItem entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 8Retrieval of associated MaterialBOMItem entity (one to one).Retrieval of associated MaterialBOM entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 4protected StringConstraints: noneprotected String(Key Field) Constraints: Not nullable, Maximum length: 12getKey()(Key Field) Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 30getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4getType()Constraints: noneConstraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetBillOfMaterial(MaterialBOM value) Overwrites the associated MaterialBOM entity for the loaded navigation property to_BillOfMaterial.voidsetBillOfMaterial(String billOfMaterial) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetBillOfMaterialCategory(String billOfMaterialCategory) (Key Field) Constraints: Not nullable, Maximum length: 1voidOverwrites the associated MaterialBOMItem entity for the loaded navigation property to_BillOfMaterialItem.voidsetBillOfMaterialItemNodeNumber(String billOfMaterialItemNodeNumber) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetBillOfMaterialVariant(String billOfMaterialVariant) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetBillOfMaterialVersion(String billOfMaterialVersion) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetDelete_mc(Boolean delete_mc) Constraints: nonevoidsetHeaderChangeDocument(String headerChangeDocument) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetMaterial(String material) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetObjDpnProcessingSequenceValue(String objDpnProcessingSequenceValue) Constraints: Not nullable, Maximum length: 4voidsetObjectDependencyName(String objectDependencyName) (Key Field) Constraints: Not nullable, Maximum length: 30void(Key Field) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetUpdate_mc(Boolean update_mc) Constraints: nonevoidsetValidityEndDate(LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0toString()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 MBOMItmObjDpnAssignment. -
DELETE_MC
Use with available fluent helpers to apply the Delete_mc field to query operations. -
UPDATE_MC
Use with available fluent helpers to apply the Update_mc field to query operations. -
BILL_OF_MATERIAL
Use with available fluent helpers to apply the BillOfMaterial field to query operations. -
BILL_OF_MATERIAL_CATEGORY
Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations. -
BILL_OF_MATERIAL_VARIANT
Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations. -
BILL_OF_MATERIAL_VERSION
Use with available fluent helpers to apply the BillOfMaterialVersion field to query operations. -
HEADER_CHANGE_DOCUMENT
Use with available fluent helpers to apply the HeaderChangeDocument 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. -
BILL_OF_MATERIAL_ITEM_NODE_NUMBER
Use with available fluent helpers to apply the BillOfMaterialItemNodeNumber field to query operations. -
OBJECT_DEPENDENCY_NAME
Use with available fluent helpers to apply the ObjectDependencyName field to query operations. -
OBJ_DPN_PROCESSING_SEQUENCE_VALUE
Use with available fluent helpers to apply the ObjDpnProcessingSequenceValue field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate 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
Use with available fluent helpers to apply the to_BillOfMaterial navigation property to query operations.
-
-
Constructor Details
-
MBOMItmObjDpnAssignment
public MBOMItmObjDpnAssignment() -
MBOMItmObjDpnAssignment
public MBOMItmObjDpnAssignment(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable String billOfMaterial, @Nullable String billOfMaterialCategory, @Nullable String billOfMaterialVariant, @Nullable String billOfMaterialVersion, @Nullable String headerChangeDocument, @Nullable String material, @Nullable String plant, @Nullable String billOfMaterialItemNodeNumber, @Nullable String objectDependencyName, @Nullable String objDpnProcessingSequenceValue, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable MaterialBOMItem toBillOfMaterialItem, @Nullable MaterialBOM toBillOfMaterial)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MBOMItmObjDpnAssignment>
-
setDelete_mc
Constraints: noneOriginal property name from the Odata EDM: Delete_mc
- Parameters:
delete_mc- Dyn. Method Control
-
setUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Parameters:
update_mc- Dyn. Method Control
-
setBillOfMaterial
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillOfMaterial
- Parameters:
billOfMaterial- Bill of Material
-
setBillOfMaterialCategory
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialCategory
- Parameters:
billOfMaterialCategory- BOM category
-
setBillOfMaterialVariant
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillOfMaterialVariant
- Parameters:
billOfMaterialVariant- Alternative BOM
-
setBillOfMaterialVersion
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillOfMaterialVersion
- Parameters:
billOfMaterialVersion- BOM Version
-
setHeaderChangeDocument
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: HeaderChangeDocument
- Parameters:
headerChangeDocument- Change Number
-
setMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setBillOfMaterialItemNodeNumber
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillOfMaterialItemNodeNumber
- Parameters:
billOfMaterialItemNodeNumber- BOM item node number
-
setObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Parameters:
objectDependencyName- Name of Dependency
-
setObjDpnProcessingSequenceValue
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ObjDpnProcessingSequenceValue
- Parameters:
objDpnProcessingSequenceValue- Counter for sorting object allocations
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Valid-From Date
-
setValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Valid-to date
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MBOMItmObjDpnAssignment>
-
getKey
- Overrides:
getKeyin classVdmObject<MBOMItmObjDpnAssignment>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MBOMItmObjDpnAssignment>
-
fromMap
- Overrides:
fromMapin classVdmObject<MBOMItmObjDpnAssignment>
-
field
@Nonnull public static <T> MBOMItmObjDpnAssignmentField<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> MBOMItmObjDpnAssignmentField<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<MBOMItmObjDpnAssignment>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<MBOMItmObjDpnAssignment>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<MBOMItmObjDpnAssignment>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MBOMItmObjDpnAssignment>
-
fetchBillOfMaterialItem
Fetches the MaterialBOMItem entity (one to one) 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:
- The single associated MaterialBOMItem 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.
-
getBillOfMaterialItemOrFetch
Retrieval of associated MaterialBOMItem entity (one to one). This corresponds to the OData navigation property to_BillOfMaterialItem.If the navigation property to_BillOfMaterialItem of a queried MBOMItmObjDpnAssignment 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 MaterialBOMItem 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.
-
getBillOfMaterialItemIfPresent
Retrieval of associated MaterialBOMItem entity (one to one). This corresponds to the OData navigation property to_BillOfMaterialItem.If the navigation property for an entity MBOMItmObjDpnAssignment 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 MaterialBOMItem entity. If not, an
Optionwith result stateemptyis returned.
-
setBillOfMaterialItem
Overwrites the associated MaterialBOMItem entity for the loaded navigation property to_BillOfMaterialItem.- Parameters:
value- New MaterialBOMItem entity.
-
fetchBillOfMaterial
Fetches the MaterialBOM entity (one to one) associated with this entity. This corresponds to the OData navigation property to_BillOfMaterial.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated MaterialBOM 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.
-
getBillOfMaterialOrFetch
Retrieval of associated MaterialBOM entity (one to one). This corresponds to the OData navigation property to_BillOfMaterial.If the navigation property to_BillOfMaterial of a queried MBOMItmObjDpnAssignment 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 MaterialBOM 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.
-
getBillOfMaterialIfPresent
Retrieval of associated MaterialBOM entity (one to one). This corresponds to the OData navigation property to_BillOfMaterial.If the navigation property for an entity MBOMItmObjDpnAssignment 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_BillOfMaterial is already loaded, the result will
contain the MaterialBOM entity. If not, an
Optionwith result stateemptyis returned.
-
setBillOfMaterial
Overwrites the associated MaterialBOM entity for the loaded navigation property to_BillOfMaterial.- Parameters:
value- New MaterialBOM entity.
-
builder
-
getDelete_mc
Constraints: noneOriginal property name from the Odata EDM: Delete_mc
- Returns:
- Dyn. Method Control
-
getUpdate_mc
Constraints: noneOriginal property name from the Odata EDM: Update_mc
- Returns:
- Dyn. Method Control
-
getBillOfMaterial
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillOfMaterial
- Returns:
- Bill of Material
-
getBillOfMaterialCategory
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialCategory
- Returns:
- BOM category
-
getBillOfMaterialVariant
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillOfMaterialVariant
- Returns:
- Alternative BOM
-
getBillOfMaterialVersion
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillOfMaterialVersion
- Returns:
- BOM Version
-
getHeaderChangeDocument
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: HeaderChangeDocument
- Returns:
- Change Number
-
getMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getBillOfMaterialItemNodeNumber
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: BillOfMaterialItemNodeNumber
- Returns:
- BOM item node number
-
getObjectDependencyName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ObjectDependencyName
- Returns:
- Name of Dependency
-
getObjDpnProcessingSequenceValue
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ObjDpnProcessingSequenceValue
- Returns:
- Counter for sorting object allocations
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Valid-From Date
-
getValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Valid-to date
-
toString
- Overrides:
toStringin classVdmObject<MBOMItmObjDpnAssignment>
-
equals
- Overrides:
equalsin classVdmEntity<MBOMItmObjDpnAssignment>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MBOMItmObjDpnAssignment>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MBOMItmObjDpnAssignment>
-