Enum Class ApplicationType

java.lang.Object
java.lang.Enum<ApplicationType>
cn.herodotus.engine.logic.identity.enums.ApplicationType
All Implemented Interfaces:
cn.herodotus.engine.core.definition.enums.BaseUiEnum<Integer>, cn.herodotus.engine.core.definition.enums.EnumDescription, cn.herodotus.engine.core.definition.enums.EnumValue<Integer>, Serializable, Comparable<ApplicationType>, Constable

public enum ApplicationType extends Enum<ApplicationType> implements cn.herodotus.engine.core.definition.enums.BaseUiEnum<Integer>

Description: 应用类别

Author:
: gengwei.zheng
Date:
: 2020/5/4 12:01
  • Enum Constant Details

  • Method Details

    • values

      public static ApplicationType[] 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 ApplicationType 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
    • get

      public static ApplicationType get(Integer index)
    • getPreprocessedJsonStructure

      public static List<Map<String,Object>> getPreprocessedJsonStructure()
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface cn.herodotus.engine.core.definition.enums.EnumDescription
    • getValue

      public Integer getValue()
      不加@JsonValue,转换的时候转换出完整的对象。 加了@JsonValue,只会显示相应的属性的值

      不使用@JsonValue @JsonDeserializer类里面要做相应的处理

      Specified by:
      getValue in interface cn.herodotus.engine.core.definition.enums.EnumValue<Integer>
      Returns:
      Enum枚举值