Enum Class NodeType

java.lang.Object
java.lang.Enum<NodeType>
com.eurodyn.qlack.fuse.cm.enums.NodeType
All Implemented Interfaces:
Serializable, Comparable<NodeType>, Constable

public enum NodeType extends Enum<NodeType>
  • Enum Constant Details

    • FOLDER

      public static final NodeType FOLDER
      Important: Do not modify the order of enum values below since EnumType.ORDINAL is used in the Node entity and therefore a change in the order will render existing DB data inconsistent. New values should always be added to the end of the list.
    • FILE

      public static final NodeType FILE
  • Method Details

    • values

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