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

public class PhysChmlOdor extends VdmEntity<PhysChmlOdor> implements VdmEntitySet
Physical Chemical Odor

Original entity name from the Odata EDM: PhysChmlOdor_Type

  • Field Details

  • Constructor Details

    • PhysChmlOdor

      public PhysChmlOdor()
    • PhysChmlOdor

      public PhysChmlOdor(@Nullable UUID physChmlPrptyUUID, @Nullable String pCPhysOdorPhrs, @Nullable String pCPhysNoteText)
  • Method Details

    • getType

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

      public void setPhysChmlPrptyUUID(@Nullable UUID physChmlPrptyUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PhysChmlPrptyUUID

      Parameters:
      physChmlPrptyUUID - Physical-Chemical Property
    • setPCPhysOdorPhrs

      public void setPCPhysOdorPhrs(@Nullable String pCPhysOdorPhrs)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PCPhysOdorPhrs

      Parameters:
      pCPhysOdorPhrs - Odor (Phrase ID)
    • setPCPhysNoteText

      public void setPCPhysNoteText(@Nullable String pCPhysNoteText)
      Constraints: Not nullable, Maximum length: 1333

      Original property name from the Odata EDM: PCPhysNoteText

      Parameters:
      pCPhysNoteText - Notes
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<PhysChmlOdor>
    • builder

      @Nonnull public static PhysChmlOdor.PhysChmlOdorBuilder builder()
    • getPhysChmlPrptyUUID

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

      Original property name from the Odata EDM: PhysChmlPrptyUUID

      Returns:
      Physical-Chemical Property
    • getPCPhysOdorPhrs

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

      Original property name from the Odata EDM: PCPhysOdorPhrs

      Returns:
      Odor (Phrase ID)
    • getPCPhysNoteText

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

      Original property name from the Odata EDM: PCPhysNoteText

      Returns:
      Notes
    • toString

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

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

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

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

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