java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SafetyDataSheetAssessment>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.safetydatasheetassessment.SafetyDataSheetAssessment
All Implemented Interfaces:
VdmEntitySet

public class SafetyDataSheetAssessment extends VdmEntity<SafetyDataSheetAssessment> implements VdmEntitySet
Safety Data Sheet (SDS) Assessment

Original entity name from the Odata EDM: SafetyDataSheetAssessment_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<SafetyDataSheetAssessment> getType()
      Specified by:
      getType in class VdmObject<SafetyDataSheetAssessment>
    • setCmplRqRsltUUID

      public void setCmplRqRsltUUID(@Nullable UUID cmplRqRsltUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CmplRqRsltUUID

      Parameters:
      cmplRqRsltUUID - Compliance Assessment UUID
    • setCmplRqVersUUID

      public void setCmplRqVersUUID(@Nullable UUID cmplRqVersUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: CmplRqVersUUID

      Parameters:
      cmplRqVersUUID - Compliance Requirement UUID
    • setChmlCmplncInfoUUID

      public void setChmlCmplncInfoUUID(@Nullable UUID chmlCmplncInfoUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: ChmlCmplncInfoUUID

      Parameters:
      chmlCmplncInfoUUID - Chemical Compliance Information
    • setChemicalComplianceInfo

      public void setChemicalComplianceInfo(@Nullable String chemicalComplianceInfo)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChemicalComplianceInfo

      Parameters:
      chemicalComplianceInfo - Internal Number
    • setCmplRqVers

      public void setCmplRqVers(@Nullable String cmplRqVers)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CmplRqVers

      Parameters:
      cmplRqVers - Compliance Requirement ID
    • setComplianceRequirement

      public void setComplianceRequirement(@Nullable String complianceRequirement)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ComplianceRequirement

      Parameters:
      complianceRequirement - Compliance Requirement
    • setCmplRqRsltProcessingStatus

      public void setCmplRqRsltProcessingStatus(@Nullable String cmplRqRsltProcessingStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CmplRqRsltProcessingStatus

      Parameters:
      cmplRqRsltProcessingStatus - Processing Status
    • setCmplRqRsltProcessor

      public void setCmplRqRsltProcessor(@Nullable String cmplRqRsltProcessor)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CmplRqRsltProcessor

      Parameters:
      cmplRqRsltProcessor - Processor
    • setReleasedByUser

      public void setReleasedByUser(@Nullable String releasedByUser)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReleasedByUser

      Parameters:
      releasedByUser - Released By
    • setValidityStartDateTime

      public void setValidityStartDateTime(@Nullable OffsetDateTime validityStartDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDateTime

      Parameters:
      validityStartDateTime - Valid-From Date Time Stamp
    • setValidityEndDateTime

      public void setValidityEndDateTime(@Nullable OffsetDateTime validityEndDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDateTime

      Parameters:
      validityEndDateTime - Valid-To Date Time Stamp
    • setCmplRqRsltCmplncSts

      public void setCmplRqRsltCmplncSts(@Nullable String cmplRqRsltCmplncSts)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CmplRqRsltCmplncSts

      Parameters:
      cmplRqRsltCmplncSts - Calculated Compliance Status
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<SafetyDataSheetAssessment>
    • getKey

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SafetyDataSheetAssessment>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<SafetyDataSheetAssessment>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<SafetyDataSheetAssessment>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SafetyDataSheetAssessment>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<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 Option result state will be empty.

      Returns:
      If the information for navigation property _SftyDtaShtAssmtCntry is already loaded, the result will contain the SafetyDataSheetAssessmentCntry entities. If not, an Option with result state empty is returned.
    • setSftyDtaShtAssmtCntry

      public void setSftyDtaShtAssmtCntry(@Nonnull List<SafetyDataSheetAssessmentCntry> value)
      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

      public void addSftyDtaShtAssmtCntry(SafetyDataSheetAssessmentCntry... entity)
      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 Option result state will be empty.

      Returns:
      If the information for navigation property _SftyDtaShtAssmtDoc is already loaded, the result will contain the SafetyDataSheetAssessmentDoc entities. If not, an Option with result state empty is returned.
    • setSftyDtaShtAssmtDoc

      public void setSftyDtaShtAssmtDoc(@Nonnull List<SafetyDataSheetAssessmentDoc> value)
      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

      public void addSftyDtaShtAssmtDoc(SafetyDataSheetAssessmentDoc... entity)
      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: 12

      Original parameter name from the Odata EDM: ChemicalComplianceInfo

      cmplRqVers - Constraints: Not nullable, Maximum length: 40

      Original 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: 12

      Original parameter name from the Odata EDM: ChemicalComplianceInfo

      cmplRqVers - Constraints: Not nullable, Maximum length: 40

      Original 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: 12

      Original parameter name from the Odata EDM: ChemicalComplianceInfo

      cmplRqVers - Constraints: Not nullable, Maximum length: 40

      Original 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 nullable

      Original parameter name from the Odata EDM: _SftyDtaShtAssmtDoc

      chemicalComplianceInfo - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ChemicalComplianceInfo

      cmplRqVers - Constraints: Not nullable, Maximum length: 40

      Original 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

      @Nullable public UUID getCmplRqRsltUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CmplRqRsltUUID

      Returns:
      Compliance Assessment UUID
    • getCmplRqVersUUID

      @Nullable public UUID getCmplRqVersUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: CmplRqVersUUID

      Returns:
      Compliance Requirement UUID
    • getChmlCmplncInfoUUID

      @Nullable public UUID getChmlCmplncInfoUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: ChmlCmplncInfoUUID

      Returns:
      Chemical Compliance Information
    • getChemicalComplianceInfo

      @Nullable public String getChemicalComplianceInfo()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChemicalComplianceInfo

      Returns:
      Internal Number
    • getCmplRqVers

      @Nullable public String getCmplRqVers()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CmplRqVers

      Returns:
      Compliance Requirement ID
    • getComplianceRequirement

      @Nullable public String getComplianceRequirement()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ComplianceRequirement

      Returns:
      Compliance Requirement
    • getCmplRqRsltProcessingStatus

      @Nullable public String getCmplRqRsltProcessingStatus()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CmplRqRsltProcessingStatus

      Returns:
      Processing Status
    • getCmplRqRsltProcessor

      @Nullable public String getCmplRqRsltProcessor()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CmplRqRsltProcessor

      Returns:
      Processor
    • getReleasedByUser

      @Nullable public String getReleasedByUser()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReleasedByUser

      Returns:
      Released By
    • getValidityStartDateTime

      @Nullable public OffsetDateTime getValidityStartDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityStartDateTime

      Returns:
      Valid-From Date Time Stamp
    • getValidityEndDateTime

      @Nullable public OffsetDateTime getValidityEndDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: ValidityEndDateTime

      Returns:
      Valid-To Date Time Stamp
    • getCmplRqRsltCmplncSts

      @Nullable public String getCmplRqRsltCmplncSts()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CmplRqRsltCmplncSts

      Returns:
      Calculated Compliance Status
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<SafetyDataSheetAssessment>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<SafetyDataSheetAssessment>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<SafetyDataSheetAssessment>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<SafetyDataSheetAssessment>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<SafetyDataSheetAssessment>