Class ProductQualityManagement
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ProductQualityManagement>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.product.ProductQualityManagement
- All Implemented Interfaces:
VdmEntitySet
public class ProductQualityManagement
extends VdmEntity<ProductQualityManagement>
implements VdmEntitySet
Product Quality Management
Original entity name from the Odata EDM: ProductQualityManagement_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductQualityManagement instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProductQualityManagement>Selector for all available fields of ProductQualityManagement.static final SimpleProperty.String<ProductQualityManagement>static final SimpleProperty.Boolean<ProductQualityManagement>static final NavigationProperty.Single<ProductQualityManagement,Product> Use with available request builders to apply the _Product navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductQualityManagement(String product, Boolean qltyMgmtInProcmtIsActive, Product to_Product) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 18io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Constraints: Not nullablegetType()inthashCode()voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetQltyMgmtInProcmtIsActive(Boolean qltyMgmtInProcmtIsActive) Constraints: Not nullabletoString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 ProductQualityManagement. -
PRODUCT
-
QLTY_MGMT_IN_PROCMT_IS_ACTIVE
-
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations.
-
-
Constructor Details
-
ProductQualityManagement
public ProductQualityManagement() -
ProductQualityManagement
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductQualityManagement>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setQltyMgmtInProcmtIsActive
Constraints: Not nullableOriginal property name from the Odata EDM: QltyMgmtInProcmtIsActive
- Parameters:
qltyMgmtInProcmtIsActive- QM in Procurement Is Active
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductQualityManagement>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductQualityManagement>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductQualityManagement>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductQualityManagement>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductQualityManagement>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProductQualityManagement 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 _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getQltyMgmtInProcmtIsActive
Constraints: Not nullableOriginal property name from the Odata EDM: QltyMgmtInProcmtIsActive
- Returns:
- QM in Procurement Is Active
-
toString
- Overrides:
toStringin classVdmObject<ProductQualityManagement>
-
equals
- Overrides:
equalsin classVdmEntity<ProductQualityManagement>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductQualityManagement>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductQualityManagement>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductQualityManagement>
-