Class SafetyDataSheetAssessment
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SafetyDataSheetAssessment_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SafetyDataSheetAssessment instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<SafetyDataSheetAssessment,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<SafetyDataSheetAssessment>Selector for all available fields of SafetyDataSheetAssessment.static final SimpleProperty.String<SafetyDataSheetAssessment>static final SimpleProperty.Guid<SafetyDataSheetAssessment>static final SimpleProperty.String<SafetyDataSheetAssessment>static final SimpleProperty.String<SafetyDataSheetAssessment>static final SimpleProperty.String<SafetyDataSheetAssessment>static final SimpleProperty.Guid<SafetyDataSheetAssessment>static final SimpleProperty.String<SafetyDataSheetAssessment>static final SimpleProperty.Guid<SafetyDataSheetAssessment>static final SimpleProperty.String<SafetyDataSheetAssessment>static final SimpleProperty.String<SafetyDataSheetAssessment>static final NavigationProperty.Collection<SafetyDataSheetAssessment,SafetyDataSheetAssessmentCntry> Use with available request builders to apply the _SftyDtaShtAssmtCntry navigation property to query operations.Use with available request builders to apply the _SftyDtaShtAssmtDoc navigation property to query operations.static final SimpleProperty.DateTime<SafetyDataSheetAssessment>static final SimpleProperty.DateTime<SafetyDataSheetAssessment>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSafetyDataSheetAssessment(UUID cmplRqRsltUUID, UUID cmplRqVersUUID, UUID chmlCmplncInfoUUID, String chemicalComplianceInfo, String cmplRqVers, String complianceRequirement, String cmplRqRsltProcessingStatus, String cmplRqRsltProcessor, String releasedByUser, OffsetDateTime validityStartDateTime, OffsetDateTime validityEndDateTime, String cmplRqRsltCmplncSts, Collection<SAP__Message> _Messages, List<SafetyDataSheetAssessmentCntry> to_SftyDtaShtAssmtCntry, List<SafetyDataSheetAssessmentDoc> to_SftyDtaShtAssmtDoc) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SafetyDataSheetAssessmentCntry entities.voidAdds elements to the list of associated SafetyDataSheetAssessmentDoc entities.builder()protected booleancreateNewVersion(String chemicalComplianceInfo, String cmplRqVers) Action that can be applied to a collection of entities of this class.deleteInProgressVersion(String chemicalComplianceInfo, String cmplRqVers) Action that can be applied to a collection of entities of this class.booleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 12Constraints: NullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 40Constraints: NullableConstraints: Not nullable, Maximum length: 30protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<SafetyDataSheetAssessmentCntry>>Retrieval of associated SafetyDataSheetAssessmentCntry entities (one to many).io.vavr.control.Option<List<SafetyDataSheetAssessmentDoc>>Retrieval of associated SafetyDataSheetAssessmentDoc entities (one to many).getType()Constraints: NullableConstraints: NullableinthashCode()Action that can be applied to a collection of entities of this class.voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetChemicalComplianceInfo(String chemicalComplianceInfo) Constraints: Not nullable, Maximum length: 12voidsetChmlCmplncInfoUUID(UUID chmlCmplncInfoUUID) Constraints: NullablevoidsetCmplRqRsltCmplncSts(String cmplRqRsltCmplncSts) Constraints: Not nullable, Maximum length: 2voidsetCmplRqRsltProcessingStatus(String cmplRqRsltProcessingStatus) Constraints: Not nullable, Maximum length: 2voidsetCmplRqRsltProcessor(String cmplRqRsltProcessor) Constraints: Not nullable, Maximum length: 10voidsetCmplRqRsltUUID(UUID cmplRqRsltUUID) (Key Field) Constraints: Not nullablevoidsetCmplRqVers(String cmplRqVers) Constraints: Not nullable, Maximum length: 40voidsetCmplRqVersUUID(UUID cmplRqVersUUID) Constraints: NullablevoidsetComplianceRequirement(String complianceRequirement) Constraints: Not nullable, Maximum length: 30voidsetReleasedByUser(String releasedByUser) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated SafetyDataSheetAssessmentCntry entities for the loaded navigation property _SftyDtaShtAssmtCntry.voidOverwrites the list of associated SafetyDataSheetAssessmentDoc entities for the loaded navigation property _SftyDtaShtAssmtDoc.voidsetValidityEndDateTime(OffsetDateTime validityEndDateTime) Constraints: NullablevoidsetValidityStartDateTime(OffsetDateTime validityStartDateTime) Constraints: NullabletoString()updateSafetyDataSheetDocumentDetails(String chemicalComplianceInfo, String cmplRqVers, Collection<D_SftyDtaShtAssmtDocDetsP> _SftyDtaShtAssmtDoc) 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 SafetyDataSheetAssessment. -
CMPL_RQ_RSLT_UUID
-
CMPL_RQ_VERS_UUID
-
CHML_CMPLNC_INFO_UUID
-
CHEMICAL_COMPLIANCE_INFO
-
CMPL_RQ_VERS
-
COMPLIANCE_REQUIREMENT
-
CMPL_RQ_RSLT_PROCESSING_STATUS
-
CMPL_RQ_RSLT_PROCESSOR
-
RELEASED_BY_USER
-
VALIDITY_START_DATE_TIME
-
VALIDITY_END_DATE_TIME
-
CMPL_RQ_RSLT_CMPLNC_STS
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__SFTY_DTA_SHT_ASSMT_CNTRY
public static final NavigationProperty.Collection<SafetyDataSheetAssessment,SafetyDataSheetAssessmentCntry> TO__SFTY_DTA_SHT_ASSMT_CNTRYUse with available request builders to apply the _SftyDtaShtAssmtCntry navigation property to query operations. -
TO__SFTY_DTA_SHT_ASSMT_DOC
public static final NavigationProperty.Collection<SafetyDataSheetAssessment,SafetyDataSheetAssessmentDoc> TO__SFTY_DTA_SHT_ASSMT_DOCUse with available request builders to apply the _SftyDtaShtAssmtDoc navigation property to query operations.
-
-
Constructor Details
-
SafetyDataSheetAssessment
public SafetyDataSheetAssessment() -
SafetyDataSheetAssessment
public SafetyDataSheetAssessment(@Nullable UUID cmplRqRsltUUID, @Nullable UUID cmplRqVersUUID, @Nullable UUID chmlCmplncInfoUUID, @Nullable String chemicalComplianceInfo, @Nullable String cmplRqVers, @Nullable String complianceRequirement, @Nullable String cmplRqRsltProcessingStatus, @Nullable String cmplRqRsltProcessor, @Nullable String releasedByUser, @Nullable OffsetDateTime validityStartDateTime, @Nullable OffsetDateTime validityEndDateTime, @Nullable String cmplRqRsltCmplncSts, @Nullable Collection<SAP__Message> _Messages, List<SafetyDataSheetAssessmentCntry> to_SftyDtaShtAssmtCntry, List<SafetyDataSheetAssessmentDoc> to_SftyDtaShtAssmtDoc)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SafetyDataSheetAssessment>
-
setCmplRqRsltUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Parameters:
cmplRqRsltUUID- Compliance Assessment UUID
-
setCmplRqVersUUID
Constraints: NullableOriginal property name from the Odata EDM: CmplRqVersUUID
- Parameters:
cmplRqVersUUID- Compliance Requirement UUID
-
setChmlCmplncInfoUUID
Constraints: 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
-
setCmplRqVers
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CmplRqVers
- Parameters:
cmplRqVers- Compliance Requirement ID
-
setComplianceRequirement
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ComplianceRequirement
- Parameters:
complianceRequirement- Compliance Requirement
-
setCmplRqRsltProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CmplRqRsltProcessingStatus
- Parameters:
cmplRqRsltProcessingStatus- Processing Status
-
setCmplRqRsltProcessor
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CmplRqRsltProcessor
- Parameters:
cmplRqRsltProcessor- Processor
-
setReleasedByUser
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReleasedByUser
- Parameters:
releasedByUser- Released By
-
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
-
setCmplRqRsltCmplncSts
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CmplRqRsltCmplncSts
- Parameters:
cmplRqRsltCmplncSts- Calculated Compliance Status
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SafetyDataSheetAssessment>
-
getKey
- Overrides:
getKeyin classVdmObject<SafetyDataSheetAssessment>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SafetyDataSheetAssessment>
-
fromMap
- Overrides:
fromMapin classVdmObject<SafetyDataSheetAssessment>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SafetyDataSheetAssessment>
-
getSftyDtaShtAssmtCntryIfPresent
@Nonnull public io.vavr.control.Option<List<SafetyDataSheetAssessmentCntry>> getSftyDtaShtAssmtCntryIfPresent()Retrieval of associated SafetyDataSheetAssessmentCntry entities (one to many). This corresponds to the OData navigation property _SftyDtaShtAssmtCntry.If the navigation property for an entity SafetyDataSheetAssessment 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 _SftyDtaShtAssmtCntry is already loaded, the result
will contain the SafetyDataSheetAssessmentCntry entities. If not, an
Optionwith result stateemptyis returned.
-
setSftyDtaShtAssmtCntry
Overwrites the list of associated SafetyDataSheetAssessmentCntry entities for the loaded navigation property _SftyDtaShtAssmtCntry.If the navigation property _SftyDtaShtAssmtCntry of a queried SafetyDataSheetAssessment 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 SafetyDataSheetAssessmentCntry entities.
-
addSftyDtaShtAssmtCntry
Adds elements to the list of associated SafetyDataSheetAssessmentCntry entities. This corresponds to the OData navigation property _SftyDtaShtAssmtCntry.If the navigation property _SftyDtaShtAssmtCntry of a queried SafetyDataSheetAssessment 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 SafetyDataSheetAssessmentCntry entities.
-
getSftyDtaShtAssmtDocIfPresent
@Nonnull public io.vavr.control.Option<List<SafetyDataSheetAssessmentDoc>> getSftyDtaShtAssmtDocIfPresent()Retrieval of associated SafetyDataSheetAssessmentDoc entities (one to many). This corresponds to the OData navigation property _SftyDtaShtAssmtDoc.If the navigation property for an entity SafetyDataSheetAssessment 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 _SftyDtaShtAssmtDoc is already loaded, the result will
contain the SafetyDataSheetAssessmentDoc entities. If not, an
Optionwith result stateemptyis returned.
-
setSftyDtaShtAssmtDoc
Overwrites the list of associated SafetyDataSheetAssessmentDoc entities for the loaded navigation property _SftyDtaShtAssmtDoc.If the navigation property _SftyDtaShtAssmtDoc of a queried SafetyDataSheetAssessment 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 SafetyDataSheetAssessmentDoc entities.
-
addSftyDtaShtAssmtDoc
Adds elements to the list of associated SafetyDataSheetAssessmentDoc entities. This corresponds to the OData navigation property _SftyDtaShtAssmtDoc.If the navigation property _SftyDtaShtAssmtDoc of a queried SafetyDataSheetAssessment 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 SafetyDataSheetAssessmentDoc entities.
-
release
@Nonnull public static BoundAction.CollectionToSingle<SafetyDataSheetAssessment,Void> release(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplRqVers) 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
cmplRqVers- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: CmplRqVers
- 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.
-
deleteInProgressVersion
@Nonnull public static BoundAction.CollectionToSingle<SafetyDataSheetAssessment,Void> deleteInProgressVersion(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplRqVers) 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
cmplRqVers- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: CmplRqVers
- 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.
-
createNewVersion
@Nonnull public static BoundAction.CollectionToSingle<SafetyDataSheetAssessment,D_SftyDtaShtAssmtR> createNewVersion(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplRqVers) 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
cmplRqVers- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: CmplRqVers
- 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.
-
updateSafetyDataSheetDocumentDetails
@Nonnull public static BoundAction.CollectionToSingle<SafetyDataSheetAssessment,Void> updateSafetyDataSheetDocumentDetails(@Nonnull String chemicalComplianceInfo, @Nonnull String cmplRqVers, @Nonnull Collection<D_SftyDtaShtAssmtDocDetsP> _SftyDtaShtAssmtDoc) Action that can be applied to a collection of entities of this class.- Parameters:
_SftyDtaShtAssmtDoc- Constraints: Not nullableOriginal parameter name from the Odata EDM: _SftyDtaShtAssmtDoc
chemicalComplianceInfo- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ChemicalComplianceInfo
cmplRqVers- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: CmplRqVers
- 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
-
getCmplRqRsltUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CmplRqRsltUUID
- Returns:
- Compliance Assessment UUID
-
getCmplRqVersUUID
Constraints: NullableOriginal property name from the Odata EDM: CmplRqVersUUID
- Returns:
- Compliance Requirement UUID
-
getChmlCmplncInfoUUID
Constraints: 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
-
getCmplRqVers
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CmplRqVers
- Returns:
- Compliance Requirement ID
-
getComplianceRequirement
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ComplianceRequirement
- Returns:
- Compliance Requirement
-
getCmplRqRsltProcessingStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CmplRqRsltProcessingStatus
- Returns:
- Processing Status
-
getCmplRqRsltProcessor
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CmplRqRsltProcessor
- Returns:
- Processor
-
getReleasedByUser
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReleasedByUser
- Returns:
- Released By
-
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
-
getCmplRqRsltCmplncSts
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CmplRqRsltCmplncSts
- Returns:
- Calculated Compliance Status
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<SafetyDataSheetAssessment>
-
equals
- Overrides:
equalsin classVdmEntity<SafetyDataSheetAssessment>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SafetyDataSheetAssessment>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SafetyDataSheetAssessment>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SafetyDataSheetAssessment>
-