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

public class DngrsGdsClassfctnMOTText extends VdmEntity<DngrsGdsClassfctnMOTText> implements VdmEntitySet
Mode Of Transport Specific Text

Original entity name from the Odata EDM: DngrsGdsClassfctnMOTText_Type

  • Field Details

  • Constructor Details

    • DngrsGdsClassfctnMOTText

      public DngrsGdsClassfctnMOTText()
    • DngrsGdsClassfctnMOTText

      public DngrsGdsClassfctnMOTText(@Nullable UUID cmplRqRsltDngrsGdsModeOfTrUUID, @Nullable String language, @Nullable String properShippingName, @Nullable String marinePlltntEnvrnmtlHzdsText, @Nullable String dngrsGdsReportableQuantityText, @Nullable String dangerousGoodDescForDocuments, @Nullable String dngrsGoodHazardNotesDocsText, @Nullable String dngrsGoodMarkingLabelText, @Nullable DangerousGoodsClassification to_DangerousGoodsClassification, @Nullable DngrsGdsClassfctnModeOfTranspt to_ModeOfTransport)
  • Method Details

    • getType

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

      public void setCmplRqRsltDngrsGdsModeOfTrUUID(@Nullable UUID cmplRqRsltDngrsGdsModeOfTrUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CmplRqRsltDngrsGdsModeOfTrUUID

      Parameters:
      cmplRqRsltDngrsGdsModeOfTrUUID - Dangerous Goods Mode of Transport Key
    • setLanguage

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

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language
    • setProperShippingName

      public void setProperShippingName(@Nullable String properShippingName)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: ProperShippingName

      Parameters:
      properShippingName - Proper Shipping Name
    • setMarinePlltntEnvrnmtlHzdsText

      public void setMarinePlltntEnvrnmtlHzdsText(@Nullable String marinePlltntEnvrnmtlHzdsText)
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: MarinePlltntEnvrnmtlHzdsText

      Parameters:
      marinePlltntEnvrnmtlHzdsText - Marine Pollutant / Environmental Hazard Information
    • setDngrsGdsReportableQuantityText

      public void setDngrsGdsReportableQuantityText(@Nullable String dngrsGdsReportableQuantityText)
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: DngrsGdsReportableQuantityText

      Parameters:
      dngrsGdsReportableQuantityText - Reportable Quantity Information
    • setDangerousGoodDescForDocuments

      public void setDangerousGoodDescForDocuments(@Nullable String dangerousGoodDescForDocuments)
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: DangerousGoodDescForDocuments

      Parameters:
      dangerousGoodDescForDocuments - Description for Documents
    • setDngrsGoodHazardNotesDocsText

      public void setDngrsGoodHazardNotesDocsText(@Nullable String dngrsGoodHazardNotesDocsText)
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: DngrsGoodHazardNotesDocsText

      Parameters:
      dngrsGoodHazardNotesDocsText - Hazard Notes and Additional Information in the Description
    • setDngrsGoodMarkingLabelText

      public void setDngrsGoodMarkingLabelText(@Nullable String dngrsGoodMarkingLabelText)
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: DngrsGoodMarkingLabelText

      Parameters:
      dngrsGoodMarkingLabelText - Marking Text in the Dangerous Goods Description
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity DngrsGdsClassfctnMOTText 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 _DangerousGoodsClassification is already loaded, the result will contain the DangerousGoodsClassification entity. If not, an Option with result state empty is returned.
    • setDangerousGoodsClassification

      public void setDangerousGoodsClassification(DangerousGoodsClassification value)
      Overwrites the associated DangerousGoodsClassification entity for the loaded navigation property _DangerousGoodsClassification.
      Parameters:
      value - New DangerousGoodsClassification entity.
    • getModeOfTransportIfPresent

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

      If the navigation property for an entity DngrsGdsClassfctnMOTText 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 _ModeOfTransport is already loaded, the result will contain the DngrsGdsClassfctnModeOfTranspt entity. If not, an Option with result state empty is returned.
    • setModeOfTransport

      public void setModeOfTransport(DngrsGdsClassfctnModeOfTranspt value)
      Overwrites the associated DngrsGdsClassfctnModeOfTranspt entity for the loaded navigation property _ModeOfTransport.
      Parameters:
      value - New DngrsGdsClassfctnModeOfTranspt entity.
    • builder

    • getCmplRqRsltDngrsGdsModeOfTrUUID

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

      Original property name from the Odata EDM: CmplRqRsltDngrsGdsModeOfTrUUID

      Returns:
      Dangerous Goods Mode of Transport Key
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language
    • getProperShippingName

      @Nullable public String getProperShippingName()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: ProperShippingName

      Returns:
      Proper Shipping Name
    • getMarinePlltntEnvrnmtlHzdsText

      @Nullable public String getMarinePlltntEnvrnmtlHzdsText()
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: MarinePlltntEnvrnmtlHzdsText

      Returns:
      Marine Pollutant / Environmental Hazard Information
    • getDngrsGdsReportableQuantityText

      @Nullable public String getDngrsGdsReportableQuantityText()
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: DngrsGdsReportableQuantityText

      Returns:
      Reportable Quantity Information
    • getDangerousGoodDescForDocuments

      @Nullable public String getDangerousGoodDescForDocuments()
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: DangerousGoodDescForDocuments

      Returns:
      Description for Documents
    • getDngrsGoodHazardNotesDocsText

      @Nullable public String getDngrsGoodHazardNotesDocsText()
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: DngrsGoodHazardNotesDocsText

      Returns:
      Hazard Notes and Additional Information in the Description
    • getDngrsGoodMarkingLabelText

      @Nullable public String getDngrsGoodMarkingLabelText()
      Constraints: Not nullable, Maximum length: 1000

      Original property name from the Odata EDM: DngrsGoodMarkingLabelText

      Returns:
      Marking Text in the Dangerous Goods Description
    • toString

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

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

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

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

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