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

public class DngrsGdsClassfctnHazardLabel extends VdmEntity<DngrsGdsClassfctnHazardLabel> implements VdmEntitySet
Hazard Label

Original entity name from the Odata EDM: DngrsGdsClassfctnHazardLabel_Type

  • Field Details

  • Constructor Details

    • DngrsGdsClassfctnHazardLabel

      public DngrsGdsClassfctnHazardLabel()
    • DngrsGdsClassfctnHazardLabel

      public DngrsGdsClassfctnHazardLabel(@Nullable UUID cmplRqRsltDngrsGdsLblUUID, @Nullable UUID cmplRqRsltUUID, @Nullable String dangerousGoodsHazardLabel, @Nullable String dangerousGoodsHazardLabelName, @Nullable DangerousGoodsClassification to_DangerousGoodsClassification)
  • Method Details

    • getType

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

      public void setCmplRqRsltDngrsGdsLblUUID(@Nullable UUID cmplRqRsltDngrsGdsLblUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: CmplRqRsltDngrsGdsLblUUID

      Parameters:
      cmplRqRsltDngrsGdsLblUUID - Dangerous Goods Labeling
    • setCmplRqRsltUUID

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

      Original property name from the Odata EDM: CmplRqRsltUUID

      Parameters:
      cmplRqRsltUUID - Compliance Assessment UUID
    • setDangerousGoodsHazardLabel

      public void setDangerousGoodsHazardLabel(@Nullable String dangerousGoodsHazardLabel)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: DangerousGoodsHazardLabel

      Parameters:
      dangerousGoodsHazardLabel - Dangerous Goods Hazard Label
    • setDangerousGoodsHazardLabelName

      public void setDangerousGoodsHazardLabelName(@Nullable String dangerousGoodsHazardLabelName)
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: DangerousGoodsHazardLabelName

      Parameters:
      dangerousGoodsHazardLabelName - Name of the Hazard Label for Dangerous Goods
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<DngrsGdsClassfctnHazardLabel>
    • 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 DngrsGdsClassfctnHazardLabel 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.
    • builder

    • getCmplRqRsltDngrsGdsLblUUID

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

      Original property name from the Odata EDM: CmplRqRsltDngrsGdsLblUUID

      Returns:
      Dangerous Goods Labeling
    • getCmplRqRsltUUID

      @Nullable public UUID getCmplRqRsltUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: CmplRqRsltUUID

      Returns:
      Compliance Assessment UUID
    • getDangerousGoodsHazardLabel

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

      Original property name from the Odata EDM: DangerousGoodsHazardLabel

      Returns:
      Dangerous Goods Hazard Label
    • getDangerousGoodsHazardLabelName

      @Nullable public String getDangerousGoodsHazardLabelName()
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: DangerousGoodsHazardLabelName

      Returns:
      Name of the Hazard Label for Dangerous Goods
    • toString

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

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

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

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

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