Class ProductAnalyticalComposition
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProductAnalyticalComposition_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProductAnalyticalComposition instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ProductAnalyticalComposition>Selector for all available fields of ProductAnalyticalComposition.static final SimpleProperty.String<ProductAnalyticalComposition>static final SimpleProperty.String<ProductAnalyticalComposition>static final SimpleProperty.String<ProductAnalyticalComposition>static final SimpleProperty.Guid<ProductAnalyticalComposition>static final SimpleProperty.String<ProductAnalyticalComposition>Use with available request builders to apply the _Component navigation property to query operations.static final SimpleProperty.DateTime<ProductAnalyticalComposition>static final SimpleProperty.DateTime<ProductAnalyticalComposition>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProductAnalyticalComposition(UUID chmlCompositionUUID, String chemicalComplianceInfo, String prodCmplncLegalArea, String chmlCompositionStatus, OffsetDateTime validityStartDateTime, OffsetDateTime validityEndDateTime, String chmlCmplncProdCatztnPhrs, Collection<SAP__Message> _Messages, List<ProductAnalyticalComponent> to_Component) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(ProductAnalyticalComponent... entity) Adds elements to the list of associated ProductAnalyticalComponent entities.builder()protected booleancreateAndReleaseVersion(String chemicalComplianceInfo, Collection<D_ProdAnlytlCmpstnCreateCompP> _Components, String prodCmplncLegalArea, String chmlCmplncProdCatztnPhrs) 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: 30Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableio.vavr.control.Option<List<ProductAnalyticalComponent>>Retrieval of associated ProductAnalyticalComponent entities (one to many).protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 10getType()Constraints: NullableConstraints: NullableinthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetChemicalComplianceInfo(String chemicalComplianceInfo) Constraints: Not nullable, Maximum length: 12voidsetChmlCmplncProdCatztnPhrs(String chmlCmplncProdCatztnPhrs) Constraints: Not nullable, Maximum length: 30voidsetChmlCompositionStatus(String chmlCompositionStatus) Constraints: Not nullable, Maximum length: 2voidsetChmlCompositionUUID(UUID chmlCompositionUUID) (Key Field) Constraints: Not nullablevoidOverwrites the list of associated ProductAnalyticalComponent entities for the loaded navigation property _Component.voidsetProdCmplncLegalArea(String prodCmplncLegalArea) Constraints: Not nullable, Maximum length: 10voidsetValidityEndDateTime(OffsetDateTime validityEndDateTime) Constraints: NullablevoidsetValidityStartDateTime(OffsetDateTime validityStartDateTime) Constraints: NullabletoString()validate(String chemicalComplianceInfo, Collection<D_ProdAnlytlCmpstnCreateCompP> _Components, String prodCmplncLegalArea, String chmlCmplncProdCatztnPhrs) 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 ProductAnalyticalComposition. -
CHML_COMPOSITION_UUID
-
CHEMICAL_COMPLIANCE_INFO
-
PROD_CMPLNC_LEGAL_AREA
-
CHML_COMPOSITION_STATUS
-
VALIDITY_START_DATE_TIME
-
VALIDITY_END_DATE_TIME
-
CHML_CMPLNC_PROD_CATZTN_PHRS
public static final SimpleProperty.String<ProductAnalyticalComposition> CHML_CMPLNC_PROD_CATZTN_PHRS -
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__COMPONENT
public static final NavigationProperty.Collection<ProductAnalyticalComposition,ProductAnalyticalComponent> TO__COMPONENTUse with available request builders to apply the _Component navigation property to query operations.
-
-
Constructor Details
-
ProductAnalyticalComposition
public ProductAnalyticalComposition() -
ProductAnalyticalComposition
public ProductAnalyticalComposition(@Nullable UUID chmlCompositionUUID, @Nullable String chemicalComplianceInfo, @Nullable String prodCmplncLegalArea, @Nullable String chmlCompositionStatus, @Nullable OffsetDateTime validityStartDateTime, @Nullable OffsetDateTime validityEndDateTime, @Nullable String chmlCmplncProdCatztnPhrs, @Nullable Collection<SAP__Message> _Messages, List<ProductAnalyticalComponent> to_Component)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProductAnalyticalComposition>
-
setChmlCompositionUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCompositionUUID
- Parameters:
chmlCompositionUUID- Chemical Composition
-
setChemicalComplianceInfo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChemicalComplianceInfo
- Parameters:
chemicalComplianceInfo- Chemical Compliance Information
-
setProdCmplncLegalArea
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProdCmplncLegalArea
- Parameters:
prodCmplncLegalArea- Legal Area
-
setChmlCompositionStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ChmlCompositionStatus
- Parameters:
chmlCompositionStatus- Processing Status for Chemical Composition
-
setValidityStartDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDateTime
- Parameters:
validityStartDateTime- Valid-From Date Time Stamp
-
setValidityEndDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDateTime
- Parameters:
validityEndDateTime- Valid-To Date Time Stamp
-
setChmlCmplncProdCatztnPhrs
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ChmlCmplncProdCatztnPhrs
- Parameters:
chmlCmplncProdCatztnPhrs- Chemical Product Categorization
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProductAnalyticalComposition>
-
getKey
- Overrides:
getKeyin classVdmObject<ProductAnalyticalComposition>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProductAnalyticalComposition>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProductAnalyticalComposition>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProductAnalyticalComposition>
-
getComponentIfPresent
Retrieval of associated ProductAnalyticalComponent entities (one to many). This corresponds to the OData navigation property _Component.If the navigation property for an entity ProductAnalyticalComposition 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 _Component is already loaded, the result will contain
the ProductAnalyticalComponent entities. If not, an
Optionwith result stateemptyis returned.
-
setComponent
Overwrites the list of associated ProductAnalyticalComponent entities for the loaded navigation property _Component.If the navigation property _Component of a queried ProductAnalyticalComposition 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 ProductAnalyticalComponent entities.
-
addComponent
Adds elements to the list of associated ProductAnalyticalComponent entities. This corresponds to the OData navigation property _Component.If the navigation property _Component of a queried ProductAnalyticalComposition 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 ProductAnalyticalComponent entities.
-
validate
@Nonnull public static BoundAction.CollectionToSingle<ProductAnalyticalComposition,Void> validate(@Nonnull String chemicalComplianceInfo, @Nonnull Collection<D_ProdAnlytlCmpstnCreateCompP> _Components, @Nonnull String prodCmplncLegalArea, @Nonnull String chmlCmplncProdCatztnPhrs) Action that can be applied to a collection of entities of this class.- Parameters:
_Components- Constraints: Not nullableOriginal parameter name from the Odata EDM: _Components
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
chmlCmplncProdCatztnPhrs- Constraints: Not nullable, Maximum length: 30Original parameter name from the Odata EDM: ChmlCmplncProdCatztnPhrs
prodCmplncLegalArea- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: ProdCmplncLegalArea
- 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.
-
createAndReleaseVersion
@Nonnull public static BoundAction.CollectionToSingle<ProductAnalyticalComposition,ProductAnalyticalComposition> createAndReleaseVersion(@Nonnull String chemicalComplianceInfo, @Nonnull Collection<D_ProdAnlytlCmpstnCreateCompP> _Components, @Nonnull String prodCmplncLegalArea, @Nonnull String chmlCmplncProdCatztnPhrs) Action that can be applied to a collection of entities of this class.- Parameters:
_Components- Constraints: Not nullableOriginal parameter name from the Odata EDM: _Components
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
chmlCmplncProdCatztnPhrs- Constraints: Not nullable, Maximum length: 30Original parameter name from the Odata EDM: ChmlCmplncProdCatztnPhrs
prodCmplncLegalArea- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: ProdCmplncLegalArea
- 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
-
getChmlCompositionUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ChmlCompositionUUID
- Returns:
- Chemical Composition
-
getChemicalComplianceInfo
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ChemicalComplianceInfo
- Returns:
- Chemical Compliance Information
-
getProdCmplncLegalArea
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProdCmplncLegalArea
- Returns:
- Legal Area
-
getChmlCompositionStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ChmlCompositionStatus
- Returns:
- Processing Status for Chemical Composition
-
getValidityStartDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityStartDateTime
- Returns:
- Valid-From Date Time Stamp
-
getValidityEndDateTime
Constraints: NullableOriginal property name from the Odata EDM: ValidityEndDateTime
- Returns:
- Valid-To Date Time Stamp
-
getChmlCmplncProdCatztnPhrs
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ChmlCmplncProdCatztnPhrs
- Returns:
- Chemical Product Categorization
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ProductAnalyticalComposition>
-
equals
- Overrides:
equalsin classVdmEntity<ProductAnalyticalComposition>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProductAnalyticalComposition>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProductAnalyticalComposition>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProductAnalyticalComposition>
-