Enum Class EntityEnum

java.lang.Object
java.lang.Enum<EntityEnum>
es.kukenan.smartfi.microservice.smartficore.enums.EntityEnum
All Implemented Interfaces:
Serializable, Comparable<EntityEnum>, Constable

public enum EntityEnum extends Enum<EntityEnum>
Entity enumeration.
  • Enum Constant Details

    • KUKEN

      public static final EntityEnum KUKEN
      Kuken entity.
    • OTHER

      public static final EntityEnum OTHER
      Otras entity.
  • Field Details

    • id

      private final int id
      Communications type.
    • entityName

      private final String entityName
      Communications type name.
  • Constructor Details

    • EntityEnum

      private EntityEnum(int id, String entityName)
      Default constructor.
      Parameters:
      id - type
      entityName - typeName
  • Method Details

    • values

      public static EntityEnum[] 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 EntityEnum 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