Class ChemicalComplianceInfo
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ChemicalComplianceInfo_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ChemicalComplianceInfo instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<ChemicalComplianceInfo,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ChemicalComplianceInfo>Selector for all available fields of ChemicalComplianceInfo.static final SimpleProperty.String<ChemicalComplianceInfo>static final SimpleProperty.String<ChemicalComplianceInfo>static final SimpleProperty.Guid<ChemicalComplianceInfo>static final SimpleProperty.String<ChemicalComplianceInfo>static final SimpleProperty.Boolean<ChemicalComplianceInfo>static final SimpleProperty.String<ChemicalComplianceInfo>static final SimpleProperty.Boolean<ChemicalComplianceInfo>static final SimpleProperty.Boolean<ChemicalComplianceInfo>static final SimpleProperty.Boolean<ChemicalComplianceInfo>static final SimpleProperty.Boolean<ChemicalComplianceInfo>static final SimpleProperty.String<ChemicalComplianceInfo>Use with available request builders to apply the _MaterialAssgmt navigation property to query operations.Use with available request builders to apply the _PurposeAssgmt navigation property to query operations.Use with available request builders to apply the _SupplierAssgmt navigation property to query operations.Use with available request builders to apply the _ToPackagedProductAssgmt navigation property to query operations.Use with available request builders to apply the _ToUnpackagedProductAssgmt 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
ConstructorsConstructorDescriptionChemicalComplianceInfo(UUID chmlCmplncInfoUUID, String chemicalComplianceInfo, String chmlCmplncInternalName, String chmlCmplncInfoType, String responsibleUnit, String dngrsGdsRespUnit, Boolean materialIsSold, Boolean materialIsTransported, Boolean materialIsSourced, Boolean materialIsProduced, Boolean chmlCmplncProdIsResearched, Collection<SAP__Message> _Messages, List<ChemicalComplianceInfoProduct> to_MaterialAssgmt, List<ChemicalComplianceInfoPurpose> to_PurposeAssgmt, List<ChemicalComplianceInfoSupplier> to_SupplierAssgmt, List<ChmlCmplncInfoPckgdProduct> to_ToPackagedProductAssgmt, List<ChmlCmplncInfoUnpckgdProduct> to_ToUnpackagedProductAssgmt) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMaterialAssgmt(ChemicalComplianceInfoProduct... entity) Adds elements to the list of associated ChemicalComplianceInfoProduct entities.voidaddPurposeAssgmt(ChemicalComplianceInfoPurpose... entity) Adds elements to the list of associated ChemicalComplianceInfoPurpose entities.voidaddSupplierAssgmt(ChemicalComplianceInfoSupplier... entity) Adds elements to the list of associated ChemicalComplianceInfoSupplier entities.voidAdds elements to the list of associated ChmlCmplncInfoPckgdProduct entities.voidAdds elements to the list of associated ChmlCmplncInfoUnpckgdProduct entities.builder()protected booleanstatic BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInformationProductResult_Type> createChemicalComplianceInformationMaterial(String chemicalComplianceInfo, String material, Boolean matlAssgmtIsPrimary) Action that can be applied to a collection of entities of this class.static BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInformationCreatePurposeResult_Type> createChemicalComplianceInformationPurpose(String chemicalComplianceInfo, String cmplncPrps) Action that can be applied to a collection of entities of this class.static BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInformationoCreateSupplierResult_Type> createChemicalComplianceInformationSupplier(String chemicalComplianceInfo, String supplier) Action that can be applied to a collection of entities of this class.createOrUpdateChemicalComplianceInformation(String chemicalComplianceInfo, String chmlCmplncInternalName, String responsibleUnit, String dngrsGdsRespUnit, Boolean materialIsSold, Boolean materialIsTransported, Boolean materialIsSourced, Boolean materialIsProduced, Boolean chmlCmplncProdIsResearched) Action that can be applied to a collection of entities of this class.createPackagedChemicalComplianceInformation(String pckgdChemicalComplianceInfo, String material, String unpckgdChemicalComplianceInfo, String responsibleUnit, String dngrsGdsRespUnit, Boolean materialIsSold, Boolean materialIsTransported, Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.deleteChemicalComplianceInformationMaterial(String chemicalComplianceInfo, String material) Action that can be applied to a collection of entities of this class.deletePackagedChemicalComplianceInformation(String pckgdChemicalComplianceInfo) Action that can be applied to a collection of entities of this class.booleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 132Constraints: Not nullableprotected StringConstraints: Not nullable, Maximum length: 10protected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<ChemicalComplianceInfoProduct>>Retrieval of associated ChemicalComplianceInfoProduct entities (one to many).Constraints: Not nullableConstraints: Not nullableConstraints: Not nullableConstraints: Not nullableio.vavr.control.Option<List<ChemicalComplianceInfoPurpose>>Retrieval of associated ChemicalComplianceInfoPurpose entities (one to many).Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<ChemicalComplianceInfoSupplier>>Retrieval of associated ChemicalComplianceInfoSupplier entities (one to many).io.vavr.control.Option<List<ChmlCmplncInfoPckgdProduct>>Retrieval of associated ChmlCmplncInfoPckgdProduct entities (one to many).io.vavr.control.Option<List<ChmlCmplncInfoUnpckgdProduct>>Retrieval of associated ChmlCmplncInfoUnpckgdProduct entities (one to many).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetChemicalComplianceInfo(String chemicalComplianceInfo) Constraints: Not nullable, Maximum length: 12voidsetChmlCmplncInfoType(String chmlCmplncInfoType) Constraints: Not nullable, Maximum length: 2voidsetChmlCmplncInfoUUID(UUID chmlCmplncInfoUUID) (Key Field) Constraints: Not nullablevoidsetChmlCmplncInternalName(String chmlCmplncInternalName) Constraints: Not nullable, Maximum length: 132voidsetChmlCmplncProdIsResearched(Boolean chmlCmplncProdIsResearched) Constraints: Not nullablevoidsetDngrsGdsRespUnit(String dngrsGdsRespUnit) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated ChemicalComplianceInfoProduct entities for the loaded navigation property _MaterialAssgmt.voidsetMaterialIsProduced(Boolean materialIsProduced) Constraints: Not nullablevoidsetMaterialIsSold(Boolean materialIsSold) Constraints: Not nullablevoidsetMaterialIsSourced(Boolean materialIsSourced) Constraints: Not nullablevoidsetMaterialIsTransported(Boolean materialIsTransported) Constraints: Not nullablesetPrimaryProductChemicalComplianceInformation(String chemicalComplianceInfo, String material) Action that can be applied to a collection of entities of this class.voidOverwrites the list of associated ChemicalComplianceInfoPurpose entities for the loaded navigation property _PurposeAssgmt.voidsetResponsibleUnit(String responsibleUnit) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated ChemicalComplianceInfoSupplier entities for the loaded navigation property _SupplierAssgmt.voidOverwrites the list of associated ChmlCmplncInfoPckgdProduct entities for the loaded navigation property _ToPackagedProductAssgmt.voidOverwrites the list of associated ChmlCmplncInfoUnpckgdProduct entities for the loaded navigation property _ToUnpackagedProductAssgmt.toString()updatePackagedChemicalComplianceInformation(String pckgdChemicalComplianceInfo, Boolean materialIsSold, Boolean materialIsTransported, Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.validateChemicalComplianceInformation(String chemicalComplianceInfo, String chmlCmplncInternalName, String responsibleUnit, String dngrsGdsRespUnit, Boolean materialIsSold, Boolean materialIsTransported, Boolean materialIsSourced, Boolean materialIsProduced, Boolean chmlCmplncProdIsResearched) Action that can be applied to a collection of entities of this class.validateChemicalComplianceInformationPurpose(String chemicalComplianceInfo, String cmplncPrps) Action that can be applied to a collection of entities of this class.validateChemicalComplianceInformationSupplier(String chemicalComplianceInfo, String supplier) Action that can be applied to a collection of entities of this class.validateCreationChemicalComplianceInformationMaterial(String chemicalComplianceInfo, String material, Boolean matlAssgmtIsPrimary) Action that can be applied to a collection of entities of this class.validateCreationPackagedChemicalComplianceInformation(String pckgdChemicalComplianceInfo, String material, String unpckgdChemicalComplianceInfo, String responsibleUnit, String dngrsGdsRespUnit, Boolean materialIsSold, Boolean materialIsTransported, Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.validateDeletionChemicalComplianceInformationMaterial(String chemicalComplianceInfo, String material) Action that can be applied to a collection of entities of this class.validateDeletionPackagedChemicalComplianceInformation(String pckgdChemicalComplianceInfo) Action that can be applied to a collection of entities of this class.validateSetPrimaryProductChemicalComplianceInformation(String chemicalComplianceInfo, String material) Action that can be applied to a collection of entities of this class.validateUpdatePackagedChemicalComplianceInformation(String pckgdChemicalComplianceInfo, Boolean materialIsSold, Boolean materialIsTransported, Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.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 ChemicalComplianceInfo. -
CHML_CMPLNC_INFO_UUID
-
CHEMICAL_COMPLIANCE_INFO
-
CHML_CMPLNC_INTERNAL_NAME
-
CHML_CMPLNC_INFO_TYPE
-
RESPONSIBLE_UNIT
-
DNGRS_GDS_RESP_UNIT
-
MATERIAL_IS_SOLD
-
MATERIAL_IS_TRANSPORTED
-
MATERIAL_IS_SOURCED
-
MATERIAL_IS_PRODUCED
-
CHML_CMPLNC_PROD_IS_RESEARCHED
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__MATERIAL_ASSGMT
public static final NavigationProperty.Collection<ChemicalComplianceInfo,ChemicalComplianceInfoProduct> TO__MATERIAL_ASSGMTUse with available request builders to apply the _MaterialAssgmt navigation property to query operations. -
TO__PURPOSE_ASSGMT
public static final NavigationProperty.Collection<ChemicalComplianceInfo,ChemicalComplianceInfoPurpose> TO__PURPOSE_ASSGMTUse with available request builders to apply the _PurposeAssgmt navigation property to query operations. -
TO__SUPPLIER_ASSGMT
public static final NavigationProperty.Collection<ChemicalComplianceInfo,ChemicalComplianceInfoSupplier> TO__SUPPLIER_ASSGMTUse with available request builders to apply the _SupplierAssgmt navigation property to query operations. -
TO__TO_PACKAGED_PRODUCT_ASSGMT
public static final NavigationProperty.Collection<ChemicalComplianceInfo,ChmlCmplncInfoPckgdProduct> TO__TO_PACKAGED_PRODUCT_ASSGMTUse with available request builders to apply the _ToPackagedProductAssgmt navigation property to query operations. -
TO__TO_UNPACKAGED_PRODUCT_ASSGMT
public static final NavigationProperty.Collection<ChemicalComplianceInfo,ChmlCmplncInfoUnpckgdProduct> TO__TO_UNPACKAGED_PRODUCT_ASSGMTUse with available request builders to apply the _ToUnpackagedProductAssgmt navigation property to query operations.
-
-
Constructor Details
-
ChemicalComplianceInfo
public ChemicalComplianceInfo() -
ChemicalComplianceInfo
public ChemicalComplianceInfo(@Nullable UUID chmlCmplncInfoUUID, @Nullable String chemicalComplianceInfo, @Nullable String chmlCmplncInternalName, @Nullable String chmlCmplncInfoType, @Nullable String responsibleUnit, @Nullable String dngrsGdsRespUnit, @Nullable Boolean materialIsSold, @Nullable Boolean materialIsTransported, @Nullable Boolean materialIsSourced, @Nullable Boolean materialIsProduced, @Nullable Boolean chmlCmplncProdIsResearched, @Nullable Collection<SAP__Message> _Messages, List<ChemicalComplianceInfoProduct> to_MaterialAssgmt, List<ChemicalComplianceInfoPurpose> to_PurposeAssgmt, List<ChemicalComplianceInfoSupplier> to_SupplierAssgmt, List<ChmlCmplncInfoPckgdProduct> to_ToPackagedProductAssgmt, List<ChmlCmplncInfoUnpckgdProduct> to_ToUnpackagedProductAssgmt)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ChemicalComplianceInfo>
-
setChmlCmplncInfoUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncInfoUUID
- Parameters:
chmlCmplncInfoUUID- Chemical Compliance Information
-
setChemicalComplianceInfo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChemicalComplianceInfo
- Parameters:
chemicalComplianceInfo- Internal Number
-
setChmlCmplncInternalName
Constraints: Not nullable, Maximum length: 132Original property name from the Odata EDM: ChmlCmplncInternalName
- Parameters:
chmlCmplncInternalName- Internal Name
-
setChmlCmplncInfoType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ChmlCmplncInfoType
- Parameters:
chmlCmplncInfoType- CCI Type
-
setResponsibleUnit
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibleUnit
- Parameters:
responsibleUnit- Responsible Unit
-
setDngrsGdsRespUnit
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: DngrsGdsRespUnit
- Parameters:
dngrsGdsRespUnit- Responsible Unit for Dangerous Goods
-
setMaterialIsSold
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsSold
- Parameters:
materialIsSold- Product is Sold
-
setMaterialIsTransported
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsTransported
- Parameters:
materialIsTransported- Product is Transported
-
setMaterialIsSourced
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsSourced
- Parameters:
materialIsSourced- Product is Sourced
-
setMaterialIsProduced
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsProduced
- Parameters:
materialIsProduced- Product is Produced
-
setChmlCmplncProdIsResearched
Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncProdIsResearched
- Parameters:
chmlCmplncProdIsResearched- Research and Development Sample
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ChemicalComplianceInfo>
-
getKey
- Overrides:
getKeyin classVdmObject<ChemicalComplianceInfo>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ChemicalComplianceInfo>
-
fromMap
- Overrides:
fromMapin classVdmObject<ChemicalComplianceInfo>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ChemicalComplianceInfo>
-
getMaterialAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<ChemicalComplianceInfoProduct>> getMaterialAssgmtIfPresent()Retrieval of associated ChemicalComplianceInfoProduct entities (one to many). This corresponds to the OData navigation property _MaterialAssgmt.If the navigation property for an entity ChemicalComplianceInfo 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 _MaterialAssgmt is already loaded, the result will
contain the ChemicalComplianceInfoProduct entities. If not, an
Optionwith result stateemptyis returned.
-
setMaterialAssgmt
Overwrites the list of associated ChemicalComplianceInfoProduct entities for the loaded navigation property _MaterialAssgmt.If the navigation property _MaterialAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
value- List of ChemicalComplianceInfoProduct entities.
-
addMaterialAssgmt
Adds elements to the list of associated ChemicalComplianceInfoProduct entities. This corresponds to the OData navigation property _MaterialAssgmt.If the navigation property _MaterialAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
entity- Array of ChemicalComplianceInfoProduct entities.
-
getPurposeAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<ChemicalComplianceInfoPurpose>> getPurposeAssgmtIfPresent()Retrieval of associated ChemicalComplianceInfoPurpose entities (one to many). This corresponds to the OData navigation property _PurposeAssgmt.If the navigation property for an entity ChemicalComplianceInfo 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 _PurposeAssgmt is already loaded, the result will
contain the ChemicalComplianceInfoPurpose entities. If not, an
Optionwith result stateemptyis returned.
-
setPurposeAssgmt
Overwrites the list of associated ChemicalComplianceInfoPurpose entities for the loaded navigation property _PurposeAssgmt.If the navigation property _PurposeAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
value- List of ChemicalComplianceInfoPurpose entities.
-
addPurposeAssgmt
Adds elements to the list of associated ChemicalComplianceInfoPurpose entities. This corresponds to the OData navigation property _PurposeAssgmt.If the navigation property _PurposeAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
entity- Array of ChemicalComplianceInfoPurpose entities.
-
getSupplierAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<ChemicalComplianceInfoSupplier>> getSupplierAssgmtIfPresent()Retrieval of associated ChemicalComplianceInfoSupplier entities (one to many). This corresponds to the OData navigation property _SupplierAssgmt.If the navigation property for an entity ChemicalComplianceInfo 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 _SupplierAssgmt is already loaded, the result will
contain the ChemicalComplianceInfoSupplier entities. If not, an
Optionwith result stateemptyis returned.
-
setSupplierAssgmt
Overwrites the list of associated ChemicalComplianceInfoSupplier entities for the loaded navigation property _SupplierAssgmt.If the navigation property _SupplierAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
value- List of ChemicalComplianceInfoSupplier entities.
-
addSupplierAssgmt
Adds elements to the list of associated ChemicalComplianceInfoSupplier entities. This corresponds to the OData navigation property _SupplierAssgmt.If the navigation property _SupplierAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
entity- Array of ChemicalComplianceInfoSupplier entities.
-
getToPackagedProductAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<ChmlCmplncInfoPckgdProduct>> getToPackagedProductAssgmtIfPresent()Retrieval of associated ChmlCmplncInfoPckgdProduct entities (one to many). This corresponds to the OData navigation property _ToPackagedProductAssgmt.If the navigation property for an entity ChemicalComplianceInfo 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 _ToPackagedProductAssgmt is already loaded, the result
will contain the ChmlCmplncInfoPckgdProduct entities. If not, an
Optionwith result stateemptyis returned.
-
setToPackagedProductAssgmt
Overwrites the list of associated ChmlCmplncInfoPckgdProduct entities for the loaded navigation property _ToPackagedProductAssgmt.If the navigation property _ToPackagedProductAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
value- List of ChmlCmplncInfoPckgdProduct entities.
-
addToPackagedProductAssgmt
Adds elements to the list of associated ChmlCmplncInfoPckgdProduct entities. This corresponds to the OData navigation property _ToPackagedProductAssgmt.If the navigation property _ToPackagedProductAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
entity- Array of ChmlCmplncInfoPckgdProduct entities.
-
getToUnpackagedProductAssgmtIfPresent
@Nonnull public io.vavr.control.Option<List<ChmlCmplncInfoUnpckgdProduct>> getToUnpackagedProductAssgmtIfPresent()Retrieval of associated ChmlCmplncInfoUnpckgdProduct entities (one to many). This corresponds to the OData navigation property _ToUnpackagedProductAssgmt.If the navigation property for an entity ChemicalComplianceInfo 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 _ToUnpackagedProductAssgmt is already loaded, the
result will contain the ChmlCmplncInfoUnpckgdProduct entities. If not, an
Optionwith result stateemptyis returned.
-
setToUnpackagedProductAssgmt
Overwrites the list of associated ChmlCmplncInfoUnpckgdProduct entities for the loaded navigation property _ToUnpackagedProductAssgmt.If the navigation property _ToUnpackagedProductAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
value- List of ChmlCmplncInfoUnpckgdProduct entities.
-
addToUnpackagedProductAssgmt
Adds elements to the list of associated ChmlCmplncInfoUnpckgdProduct entities. This corresponds to the OData navigation property _ToUnpackagedProductAssgmt.If the navigation property _ToUnpackagedProductAssgmt of a queried ChemicalComplianceInfo 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.
- Parameters:
entity- Array of ChmlCmplncInfoUnpckgdProduct entities.
-
deleteChemicalComplianceInformationMaterial
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> deleteChemicalComplianceInformationMaterial(@Nonnull String chemicalComplianceInfo, @Nonnull String material) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateChemicalComplianceInformationPurpose
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateChemicalComplianceInformationPurpose(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplncPrps) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
cmplncPrps- Constraints: Not nullable, Maximum length: 15Original parameter name from the Odata EDM: CmplncPrps
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
createOrUpdateChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInfo> createOrUpdateChemicalComplianceInformation(@Nonnull String chemicalComplianceInfo, @Nonnull String chmlCmplncInternalName, @Nonnull String responsibleUnit, @Nonnull String dngrsGdsRespUnit, @Nonnull Boolean materialIsSold, @Nonnull Boolean materialIsTransported, @Nonnull Boolean materialIsSourced, @Nonnull Boolean materialIsProduced, @Nonnull Boolean chmlCmplncProdIsResearched) Action that can be applied to a collection of entities of this class.- Parameters:
materialIsProduced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsProduced
materialIsSold- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSold
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
chmlCmplncInternalName- Constraints: Not nullable, Maximum length: 132Original parameter name from the Odata EDM: ChmlCmplncInternalName
materialIsSourced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSourced
dngrsGdsRespUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: DngrsGdsRespUnit
responsibleUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: ResponsibleUnit
chmlCmplncProdIsResearched- Constraints: Not nullableOriginal parameter name from the Odata EDM: ChmlCmplncProdIsResearched
materialIsTransported- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsTransported
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
createPackagedChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInfo> createPackagedChemicalComplianceInformation(@Nonnull String pckgdChemicalComplianceInfo, @Nonnull String material, @Nonnull String unpckgdChemicalComplianceInfo, @Nonnull String responsibleUnit, @Nonnull String dngrsGdsRespUnit, @Nonnull Boolean materialIsSold, @Nonnull Boolean materialIsTransported, @Nonnull Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.- Parameters:
materialIsSold- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSold
pckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: PckgdChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
materialIsSourced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSourced
dngrsGdsRespUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: DngrsGdsRespUnit
responsibleUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: ResponsibleUnit
unpckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: UnpckgdChemicalComplianceInfo
materialIsTransported- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsTransported
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
createChemicalComplianceInformationPurpose
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInformationCreatePurposeResult_Type> createChemicalComplianceInformationPurpose(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplncPrps) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
cmplncPrps- Constraints: Not nullable, Maximum length: 15Original parameter name from the Odata EDM: CmplncPrps
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
createChemicalComplianceInformationSupplier
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInformationoCreateSupplierResult_Type> createChemicalComplianceInformationSupplier(@Nonnull String chemicalComplianceInfo, @Nonnull String supplier) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
supplier- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: Supplier
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
setPrimaryProductChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> setPrimaryProductChemicalComplianceInformation(@Nonnull String chemicalComplianceInfo, @Nonnull String material) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateUpdatePackagedChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateUpdatePackagedChemicalComplianceInformation(@Nonnull String pckgdChemicalComplianceInfo, @Nonnull Boolean materialIsSold, @Nonnull Boolean materialIsTransported, @Nonnull Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.- Parameters:
materialIsSold- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSold
pckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: PckgdChemicalComplianceInfo
materialIsSourced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSourced
materialIsTransported- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsTransported
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateSetPrimaryProductChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateSetPrimaryProductChemicalComplianceInformation(@Nonnull String chemicalComplianceInfo, @Nonnull String material) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateChemicalComplianceInformation(@Nonnull String chemicalComplianceInfo, @Nonnull String chmlCmplncInternalName, @Nonnull String responsibleUnit, @Nonnull String dngrsGdsRespUnit, @Nonnull Boolean materialIsSold, @Nonnull Boolean materialIsTransported, @Nonnull Boolean materialIsSourced, @Nonnull Boolean materialIsProduced, @Nonnull Boolean chmlCmplncProdIsResearched) Action that can be applied to a collection of entities of this class.- Parameters:
materialIsProduced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsProduced
materialIsSold- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSold
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
chmlCmplncInternalName- Constraints: Not nullable, Maximum length: 132Original parameter name from the Odata EDM: ChmlCmplncInternalName
materialIsSourced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSourced
dngrsGdsRespUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: DngrsGdsRespUnit
responsibleUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: ResponsibleUnit
chmlCmplncProdIsResearched- Constraints: Not nullableOriginal parameter name from the Odata EDM: ChmlCmplncProdIsResearched
materialIsTransported- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsTransported
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateCreationChemicalComplianceInformationMaterial
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateCreationChemicalComplianceInformationMaterial(@Nonnull String chemicalComplianceInfo, @Nonnull String material, @Nonnull Boolean matlAssgmtIsPrimary) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
matlAssgmtIsPrimary- Constraints: Not nullableOriginal parameter name from the Odata EDM: MatlAssgmtIsPrimary
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
createChemicalComplianceInformationMaterial
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,ChemicalComplianceInformationProductResult_Type> createChemicalComplianceInformationMaterial(@Nonnull String chemicalComplianceInfo, @Nonnull String material, @Nonnull Boolean matlAssgmtIsPrimary) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
matlAssgmtIsPrimary- Constraints: Not nullableOriginal parameter name from the Odata EDM: MatlAssgmtIsPrimary
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateDeletionPackagedChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateDeletionPackagedChemicalComplianceInformation(@Nonnull String pckgdChemicalComplianceInfo) Action that can be applied to a collection of entities of this class.- Parameters:
pckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: PckgdChemicalComplianceInfo
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
updatePackagedChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> updatePackagedChemicalComplianceInformation(@Nonnull String pckgdChemicalComplianceInfo, @Nonnull Boolean materialIsSold, @Nonnull Boolean materialIsTransported, @Nonnull Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.- Parameters:
materialIsSold- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSold
pckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: PckgdChemicalComplianceInfo
materialIsSourced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSourced
materialIsTransported- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsTransported
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateDeletionChemicalComplianceInformationMaterial
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateDeletionChemicalComplianceInformationMaterial(@Nonnull String chemicalComplianceInfo, @Nonnull String material) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateChemicalComplianceInformationSupplier
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateChemicalComplianceInformationSupplier(@Nonnull String chemicalComplianceInfo, @Nonnull String supplier) Action that can be applied to a collection of entities of this class.- Parameters:
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
supplier- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: Supplier
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
deletePackagedChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> deletePackagedChemicalComplianceInformation(@Nonnull String pckgdChemicalComplianceInfo) Action that can be applied to a collection of entities of this class.- Parameters:
pckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: PckgdChemicalComplianceInfo
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
validateCreationPackagedChemicalComplianceInformation
@Nonnull public static BoundAction.CollectionToSingle<ChemicalComplianceInfo,Void> validateCreationPackagedChemicalComplianceInformation(@Nonnull String pckgdChemicalComplianceInfo, @Nonnull String material, @Nonnull String unpckgdChemicalComplianceInfo, @Nonnull String responsibleUnit, @Nonnull String dngrsGdsRespUnit, @Nonnull Boolean materialIsSold, @Nonnull Boolean materialIsTransported, @Nonnull Boolean materialIsSourced) Action that can be applied to a collection of entities of this class.- Parameters:
materialIsSold- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSold
pckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: PckgdChemicalComplianceInfo
material- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
materialIsSourced- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsSourced
dngrsGdsRespUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: DngrsGdsRespUnit
responsibleUnit- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: ResponsibleUnit
unpckgdChemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: UnpckgdChemicalComplianceInfo
materialIsTransported- Constraints: Not nullableOriginal parameter name from the Odata EDM: MaterialIsTransported
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getChmlCmplncInfoUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncInfoUUID
- Returns:
- Chemical Compliance Information
-
getChemicalComplianceInfo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChemicalComplianceInfo
- Returns:
- Internal Number
-
getChmlCmplncInternalName
Constraints: Not nullable, Maximum length: 132Original property name from the Odata EDM: ChmlCmplncInternalName
- Returns:
- Internal Name
-
getChmlCmplncInfoType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ChmlCmplncInfoType
- Returns:
- CCI Type
-
getResponsibleUnit
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibleUnit
- Returns:
- Responsible Unit
-
getDngrsGdsRespUnit
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: DngrsGdsRespUnit
- Returns:
- Responsible Unit for Dangerous Goods
-
getMaterialIsSold
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsSold
- Returns:
- Product is Sold
-
getMaterialIsTransported
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsTransported
- Returns:
- Product is Transported
-
getMaterialIsSourced
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsSourced
- Returns:
- Product is Sourced
-
getMaterialIsProduced
Constraints: Not nullableOriginal property name from the Odata EDM: MaterialIsProduced
- Returns:
- Product is Produced
-
getChmlCmplncProdIsResearched
Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCmplncProdIsResearched
- Returns:
- Research and Development Sample
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ChemicalComplianceInfo>
-
equals
- Overrides:
equalsin classVdmEntity<ChemicalComplianceInfo>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ChemicalComplianceInfo>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ChemicalComplianceInfo>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ChemicalComplianceInfo>
-