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

public class SafetyDataSheetAssessmentDoc extends VdmEntity<SafetyDataSheetAssessmentDoc> implements VdmEntitySet
SDS Assessment Language Details

Original entity name from the Odata EDM: SafetyDataSheetAssessmentDoc_Type

  • Field Details

  • Constructor Details

    • SafetyDataSheetAssessmentDoc

      public SafetyDataSheetAssessmentDoc()
    • SafetyDataSheetAssessmentDoc

      public SafetyDataSheetAssessmentDoc(@Nullable UUID cmplRqRsltDocInfoUUID, @Nullable UUID cmplRqRsltUUID, @Nullable String language, @Nullable String cmplRqRsltSftyDataShtDocStatus, @Nullable LocalDate cmplRqRsltSftyDataShtCrtnDate, @Nullable String cmplRqRsltSftyDataShtMajorVers, @Nullable String cmplRqRsltSftyDataShtSubVers, @Nullable SafetyDataSheetAssessment to_SftyDtaShtAssmt)
  • Method Details

    • getType

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

      public void setCmplRqRsltDocInfoUUID(@Nullable UUID cmplRqRsltDocInfoUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CmplRqRsltDocInfoUUID

      Parameters:
      cmplRqRsltDocInfoUUID - SDS Document Information
    • setCmplRqRsltUUID

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

      Original property name from the Odata EDM: CmplRqRsltUUID

      Parameters:
      cmplRqRsltUUID - Compliance Assessment UUID
    • setLanguage

      public void setLanguage(@Nullable String language)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language
    • setCmplRqRsltSftyDataShtDocStatus

      public void setCmplRqRsltSftyDataShtDocStatus(@Nullable String cmplRqRsltSftyDataShtDocStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtDocStatus

      Parameters:
      cmplRqRsltSftyDataShtDocStatus - Status of a Safety Data Sheet Document
    • setCmplRqRsltSftyDataShtCrtnDate

      public void setCmplRqRsltSftyDataShtCrtnDate(@Nullable LocalDate cmplRqRsltSftyDataShtCrtnDate)
      Constraints: Nullable

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtCrtnDate

      Parameters:
      cmplRqRsltSftyDataShtCrtnDate - Generation Date of a SDS Document
    • setCmplRqRsltSftyDataShtMajorVers

      public void setCmplRqRsltSftyDataShtMajorVers(@Nullable String cmplRqRsltSftyDataShtMajorVers)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtMajorVers

      Parameters:
      cmplRqRsltSftyDataShtMajorVers - Major Version of a Safety Data Sheet Document
    • setCmplRqRsltSftyDataShtSubVers

      public void setCmplRqRsltSftyDataShtSubVers(@Nullable String cmplRqRsltSftyDataShtSubVers)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtSubVers

      Parameters:
      cmplRqRsltSftyDataShtSubVers - Subversion of a Safety Data Sheet Document
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SafetyDataSheetAssessmentDoc>
    • getSftyDtaShtAssmtIfPresent

      @Nonnull public io.vavr.control.Option<SafetyDataSheetAssessment> getSftyDtaShtAssmtIfPresent()
      Retrieval of associated SafetyDataSheetAssessment entity (one to one). This corresponds to the OData navigation property _SftyDtaShtAssmt.

      If the navigation property for an entity SafetyDataSheetAssessmentDoc 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 _SftyDtaShtAssmt is already loaded, the result will contain the SafetyDataSheetAssessment entity. If not, an Option with result state empty is returned.
    • setSftyDtaShtAssmt

      public void setSftyDtaShtAssmt(SafetyDataSheetAssessment value)
      Overwrites the associated SafetyDataSheetAssessment entity for the loaded navigation property _SftyDtaShtAssmt.
      Parameters:
      value - New SafetyDataSheetAssessment entity.
    • builder

    • getCmplRqRsltDocInfoUUID

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

      Original property name from the Odata EDM: CmplRqRsltDocInfoUUID

      Returns:
      SDS Document Information
    • getCmplRqRsltUUID

      @Nullable public UUID getCmplRqRsltUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: CmplRqRsltUUID

      Returns:
      Compliance Assessment UUID
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language
    • getCmplRqRsltSftyDataShtDocStatus

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

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtDocStatus

      Returns:
      Status of a Safety Data Sheet Document
    • getCmplRqRsltSftyDataShtCrtnDate

      @Nullable public LocalDate getCmplRqRsltSftyDataShtCrtnDate()
      Constraints: Nullable

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtCrtnDate

      Returns:
      Generation Date of a SDS Document
    • getCmplRqRsltSftyDataShtMajorVers

      @Nullable public String getCmplRqRsltSftyDataShtMajorVers()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtMajorVers

      Returns:
      Major Version of a Safety Data Sheet Document
    • getCmplRqRsltSftyDataShtSubVers

      @Nullable public String getCmplRqRsltSftyDataShtSubVers()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: CmplRqRsltSftyDataShtSubVers

      Returns:
      Subversion of a Safety Data Sheet Document
    • toString

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

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

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

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

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