java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<ObjectT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmComplex<SAP__Message>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.prafundstransfer.SAP__Message

public class SAP__Message extends VdmComplex<SAP__Message>

Original complex type name from the Odata EDM: SAP__Message

  • Field Details

  • Constructor Details

    • SAP__Message

      public SAP__Message()
    • SAP__Message

      public SAP__Message(@Nullable String code, @Nullable String message, @Nullable String target, @Nullable Collection<String> additionalTargets, @Nullable Boolean transition, @Nullable Short numericSeverity, @Nullable String longtextUrl)
  • Method Details

    • getType

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

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

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SAP__Message>
    • setCode

      public void setCode(@Nullable String code)
      Constraints: Not nullable

      Original property name from the Odata EDM: code

      Parameters:
      code - The code to set.
    • setMessage

      public void setMessage(@Nullable String message)
      Constraints: Not nullable

      Original property name from the Odata EDM: message

      Parameters:
      message - The message to set.
    • setTarget

      public void setTarget(@Nullable String target)
      Constraints: Nullable

      Original property name from the Odata EDM: target

      Parameters:
      target - The target to set.
    • setAdditionalTargets

      public void setAdditionalTargets(@Nullable Collection<String> additionalTargets)
      Constraints: Not nullable

      Original property name from the Odata EDM: additionalTargets

      Parameters:
      additionalTargets - The additionalTargets to set.
    • setTransition

      public void setTransition(@Nullable Boolean transition)
      Constraints: Not nullable

      Original property name from the Odata EDM: transition

      Parameters:
      transition - The transition to set.
    • setNumericSeverity

      public void setNumericSeverity(@Nullable Short numericSeverity)
      Constraints: Not nullable

      Original property name from the Odata EDM: numericSeverity

      Parameters:
      numericSeverity - The numericSeverity to set.
    • setLongtextUrl

      public void setLongtextUrl(@Nullable String longtextUrl)
      Constraints: Nullable

      Original property name from the Odata EDM: longtextUrl

      Parameters:
      longtextUrl - The longtextUrl to set.
    • builder

      @Nonnull public static SAP__Message.SAP__MessageBuilder builder()
    • getCode

      @Nullable public String getCode()
      Constraints: Not nullable

      Original property name from the Odata EDM: code

      Returns:
      The code contained in this VdmComplex.
    • getMessage

      @Nullable public String getMessage()
      Constraints: Not nullable

      Original property name from the Odata EDM: message

      Returns:
      The message contained in this VdmComplex.
    • getTarget

      @Nullable public String getTarget()
      Constraints: Nullable

      Original property name from the Odata EDM: target

      Returns:
      The target contained in this VdmComplex.
    • getAdditionalTargets

      @Nullable public Collection<String> getAdditionalTargets()
      Constraints: Not nullable

      Original property name from the Odata EDM: additionalTargets

      Returns:
      The additionalTargets contained in this VdmComplex.
    • getTransition

      @Nullable public Boolean getTransition()
      Constraints: Not nullable

      Original property name from the Odata EDM: transition

      Returns:
      The transition contained in this VdmComplex.
    • getNumericSeverity

      @Nullable public Short getNumericSeverity()
      Constraints: Not nullable

      Original property name from the Odata EDM: numericSeverity

      Returns:
      The numericSeverity contained in this VdmComplex.
    • getLongtextUrl

      @Nullable public String getLongtextUrl()
      Constraints: Nullable

      Original property name from the Odata EDM: longtextUrl

      Returns:
      The longtextUrl contained in this VdmComplex.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmObject<SAP__Message>
    • getOdataType

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