Class ChemicalComplianceInfoProduct
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<ChemicalComplianceInfoProduct>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.chemicalcomplianceinfo.ChemicalComplianceInfoProduct
- All Implemented Interfaces:
VdmEntitySet
public class ChemicalComplianceInfoProduct
extends VdmEntity<ChemicalComplianceInfoProduct>
implements VdmEntitySet
Chml Cmplnc Info Product Assignment
Original entity name from the Odata EDM: ChemicalComplianceInfoProduct_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ChemicalComplianceInfoProduct instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ChemicalComplianceInfoProduct>Selector for all available fields of ChemicalComplianceInfoProduct.static final SimpleProperty.Guid<ChemicalComplianceInfoProduct>static final SimpleProperty.String<ChemicalComplianceInfoProduct>static final SimpleProperty.Boolean<ChemicalComplianceInfoProduct>Use with available request builders to apply the _ChmlCmplncInfo 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
ConstructorsConstructorDescriptionChemicalComplianceInfoProduct(UUID chmlCmplncMatlAssgmtUUID, String material, Boolean matlAssgmtIsPrimary, ChemicalComplianceInfo to_ChmlCmplncInfo) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<ChemicalComplianceInfo>Retrieval of associated ChemicalComplianceInfo entity (one to one).(Key Field) Constraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 18Constraints: Not nullablegetType()inthashCode()voidOverwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ChmlCmplncInfo.voidsetChmlCmplncMatlAssgmtUUID(UUID chmlCmplncMatlAssgmtUUID) (Key Field) Constraints: Not nullablevoidsetMaterial(String material) Constraints: Not nullable, Maximum length: 18voidsetMatlAssgmtIsPrimary(Boolean matlAssgmtIsPrimary) 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 ChemicalComplianceInfoProduct. -
CHML_CMPLNC_MATL_ASSGMT_UUID
-
MATERIAL
-
MATL_ASSGMT_IS_PRIMARY
-
TO__CHML_CMPLNC_INFO
public static final NavigationProperty.Single<ChemicalComplianceInfoProduct,ChemicalComplianceInfo> TO__CHML_CMPLNC_INFOUse with available request builders to apply the _ChmlCmplncInfo navigation property to query operations.
-
-
Constructor Details
-
ChemicalComplianceInfoProduct
public ChemicalComplianceInfoProduct() -
ChemicalComplianceInfoProduct
public ChemicalComplianceInfoProduct(@Nullable UUID chmlCmplncMatlAssgmtUUID, @Nullable String material, @Nullable Boolean matlAssgmtIsPrimary, @Nullable ChemicalComplianceInfo to_ChmlCmplncInfo)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ChemicalComplianceInfoProduct>
-
setChmlCmplncMatlAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncMatlAssgmtUUID
- Parameters:
chmlCmplncMatlAssgmtUUID- Product Assignment
-
setMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Parameters:
material- Product
-
setMatlAssgmtIsPrimary
Constraints: Not nullableOriginal property name from the Odata EDM: MatlAssgmtIsPrimary
- Parameters:
matlAssgmtIsPrimary- Name Representing the Product
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ChemicalComplianceInfoProduct>
-
getKey
- Overrides:
getKeyin classVdmObject<ChemicalComplianceInfoProduct>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ChemicalComplianceInfoProduct>
-
fromMap
- Overrides:
fromMapin classVdmObject<ChemicalComplianceInfoProduct>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ChemicalComplianceInfoProduct>
-
getChmlCmplncInfoIfPresent
Retrieval of associated ChemicalComplianceInfo entity (one to one). This corresponds to the OData navigation property _ChmlCmplncInfo.If the navigation property for an entity ChemicalComplianceInfoProduct 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 _ChmlCmplncInfo is already loaded, the result will
contain the ChemicalComplianceInfo entity. If not, an
Optionwith result stateemptyis returned.
-
setChmlCmplncInfo
Overwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ChmlCmplncInfo.- Parameters:
value- New ChemicalComplianceInfo entity.
-
builder
-
getChmlCmplncMatlAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncMatlAssgmtUUID
- Returns:
- Product Assignment
-
getMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Returns:
- Product
-
getMatlAssgmtIsPrimary
Constraints: Not nullableOriginal property name from the Odata EDM: MatlAssgmtIsPrimary
- Returns:
- Name Representing the Product
-
toString
- Overrides:
toStringin classVdmObject<ChemicalComplianceInfoProduct>
-
equals
- Overrides:
equalsin classVdmEntity<ChemicalComplianceInfoProduct>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ChemicalComplianceInfoProduct>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ChemicalComplianceInfoProduct>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ChemicalComplianceInfoProduct>
-