Enum Class SubscriptionStatus

java.lang.Object
java.lang.Enum<SubscriptionStatus>
io.github.xezzon.zeroweb.subscription.enumeration.SubscriptionStatus
All Implemented Interfaces:
io.github.xezzon.zeroweb.core.trait.IDict, Serializable, Comparable<SubscriptionStatus>, Constable

public enum SubscriptionStatus extends Enum<SubscriptionStatus> implements io.github.xezzon.zeroweb.core.trait.IDict
订阅状态枚举,定义了接口订阅的各种状态
Author:
xezzon
  • Enum Constant Details

  • Method Details

    • values

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

      public static SubscriptionStatus 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTag

      public String getTag()
      获取字典标签
      Specified by:
      getTag in interface io.github.xezzon.zeroweb.core.trait.IDict
      Returns:
      字典标签
    • getCode

      public String getCode()
      获取字典编码
      Specified by:
      getCode in interface io.github.xezzon.zeroweb.core.trait.IDict
      Returns:
      字典编码
    • getLabel

      public String getLabel()
      获取字典标签
      Specified by:
      getLabel in interface io.github.xezzon.zeroweb.core.trait.IDict
      Returns:
      字典标签
    • getOrdinal

      public int getOrdinal()
      获取枚举序号
      Specified by:
      getOrdinal in interface io.github.xezzon.zeroweb.core.trait.IDict
      Returns:
      枚举序号