Enum Class PushAction

java.lang.Object
java.lang.Enum<PushAction>
com.midi.his.sdk.enums.PushAction
所有已实现的接口:
Serializable, Comparable<PushAction>, Constable

public enum PushAction extends Enum<PushAction>
推送报文 MsgInfo/Msg 节点上的 action 属性,表示本条记录对目标系统的操作意图。

取值见 docs/WebServer/消息外层格式定义/业务推送格式.xml 的示例(action="insert"), 具体支持哪些动作由消费方系统实现决定。

  • 枚举常量详细资料

    • INSERT

      public static final PushAction INSERT
      新增。
    • UPDATE

      public static final PushAction UPDATE
      更新。
    • DELETE

      public static final PushAction DELETE
      删除或作废。
  • 方法详细资料

    • values

      public static PushAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PushAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • value

      public String value()
      返回:
      写入 action 属性的字面值
    • parse

      public static PushAction parse(String raw)
      按字面值解析,大小写不敏感。
      参数:
      raw - 报文原文
      返回:
      对应枚举
      抛出:
      IllegalArgumentException - 未知取值