Class ChmlCmplncInfoPckgdProduct
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ChmlCmplncInfoPckgdProduct_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ChmlCmplncInfoPckgdProduct instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ChmlCmplncInfoPckgdProduct>Selector for all available fields of ChmlCmplncInfoPckgdProduct.static final SimpleProperty.Guid<ChmlCmplncInfoPckgdProduct>static final SimpleProperty.Guid<ChmlCmplncInfoPckgdProduct>Use with available request builders to apply the _ToPackagedProduct navigation property to query operations.Use with available request builders to apply the _ToUnpackagedProduct navigation property to query operations.static final SimpleProperty.Guid<ChmlCmplncInfoPckgdProduct>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionChmlCmplncInfoPckgdProduct(UUID pckgdProductAssgmtUUID, UUID pckgdChmlCmplncInfoUUID, UUID unpckgdChmlCmplncInfoUUID, ChemicalComplianceInfo to_ToPackagedProduct, ChemicalComplianceInfo to_ToUnpackagedProduct) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable(Key Field) Constraints: Not nullableio.vavr.control.Option<ChemicalComplianceInfo>Retrieval of associated ChemicalComplianceInfo entity (one to one).io.vavr.control.Option<ChemicalComplianceInfo>Retrieval of associated ChemicalComplianceInfo entity (one to one).getType()Constraints: Not nullableinthashCode()voidsetPckgdChmlCmplncInfoUUID(UUID pckgdChmlCmplncInfoUUID) Constraints: Not nullablevoidsetPckgdProductAssgmtUUID(UUID pckgdProductAssgmtUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ToPackagedProduct.voidOverwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ToUnpackagedProduct.voidsetUnpckgdChmlCmplncInfoUUID(UUID unpckgdChmlCmplncInfoUUID) 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 ChmlCmplncInfoPckgdProduct. -
PCKGD_PRODUCT_ASSGMT_UUID
-
PCKGD_CHML_CMPLNC_INFO_UUID
-
UNPCKGD_CHML_CMPLNC_INFO_UUID
-
TO__TO_PACKAGED_PRODUCT
public static final NavigationProperty.Single<ChmlCmplncInfoPckgdProduct,ChemicalComplianceInfo> TO__TO_PACKAGED_PRODUCTUse with available request builders to apply the _ToPackagedProduct navigation property to query operations. -
TO__TO_UNPACKAGED_PRODUCT
public static final NavigationProperty.Single<ChmlCmplncInfoPckgdProduct,ChemicalComplianceInfo> TO__TO_UNPACKAGED_PRODUCTUse with available request builders to apply the _ToUnpackagedProduct navigation property to query operations.
-
-
Constructor Details
-
ChmlCmplncInfoPckgdProduct
public ChmlCmplncInfoPckgdProduct() -
ChmlCmplncInfoPckgdProduct
public ChmlCmplncInfoPckgdProduct(@Nullable UUID pckgdProductAssgmtUUID, @Nullable UUID pckgdChmlCmplncInfoUUID, @Nullable UUID unpckgdChmlCmplncInfoUUID, @Nullable ChemicalComplianceInfo to_ToPackagedProduct, @Nullable ChemicalComplianceInfo to_ToUnpackagedProduct)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ChmlCmplncInfoPckgdProduct>
-
setPckgdProductAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PckgdProductAssgmtUUID
- Parameters:
pckgdProductAssgmtUUID- Product Assignment
-
setPckgdChmlCmplncInfoUUID
Constraints: Not nullableOriginal property name from the Odata EDM: PckgdChmlCmplncInfoUUID
- Parameters:
pckgdChmlCmplncInfoUUID- Chemical Compliance Information for Packaged Product
-
setUnpckgdChmlCmplncInfoUUID
Constraints: Not nullableOriginal property name from the Odata EDM: UnpckgdChmlCmplncInfoUUID
- Parameters:
unpckgdChmlCmplncInfoUUID- Chemical Compliance Information for Unpackaged Product
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ChmlCmplncInfoPckgdProduct>
-
getKey
- Overrides:
getKeyin classVdmObject<ChmlCmplncInfoPckgdProduct>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ChmlCmplncInfoPckgdProduct>
-
fromMap
- Overrides:
fromMapin classVdmObject<ChmlCmplncInfoPckgdProduct>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ChmlCmplncInfoPckgdProduct>
-
getToPackagedProductIfPresent
Retrieval of associated ChemicalComplianceInfo entity (one to one). This corresponds to the OData navigation property _ToPackagedProduct.If the navigation property for an entity ChmlCmplncInfoPckgdProduct 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 _ToPackagedProduct is already loaded, the result will
contain the ChemicalComplianceInfo entity. If not, an
Optionwith result stateemptyis returned.
-
setToPackagedProduct
Overwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ToPackagedProduct.- Parameters:
value- New ChemicalComplianceInfo entity.
-
getToUnpackagedProductIfPresent
Retrieval of associated ChemicalComplianceInfo entity (one to one). This corresponds to the OData navigation property _ToUnpackagedProduct.If the navigation property for an entity ChmlCmplncInfoPckgdProduct 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 _ToUnpackagedProduct is already loaded, the result will
contain the ChemicalComplianceInfo entity. If not, an
Optionwith result stateemptyis returned.
-
setToUnpackagedProduct
Overwrites the associated ChemicalComplianceInfo entity for the loaded navigation property _ToUnpackagedProduct.- Parameters:
value- New ChemicalComplianceInfo entity.
-
builder
-
getPckgdProductAssgmtUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PckgdProductAssgmtUUID
- Returns:
- Product Assignment
-
getPckgdChmlCmplncInfoUUID
Constraints: Not nullableOriginal property name from the Odata EDM: PckgdChmlCmplncInfoUUID
- Returns:
- Chemical Compliance Information for Packaged Product
-
getUnpckgdChmlCmplncInfoUUID
Constraints: Not nullableOriginal property name from the Odata EDM: UnpckgdChmlCmplncInfoUUID
- Returns:
- Chemical Compliance Information for Unpackaged Product
-
toString
- Overrides:
toStringin classVdmObject<ChmlCmplncInfoPckgdProduct>
-
equals
- Overrides:
equalsin classVdmEntity<ChmlCmplncInfoPckgdProduct>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ChmlCmplncInfoPckgdProduct>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ChmlCmplncInfoPckgdProduct>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ChmlCmplncInfoPckgdProduct>
-