Enum ElementKind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ElementKind>

    public enum ElementKind
    extends java.lang.Enum<ElementKind>
    • Enum Constant Detail

      • SURVEY_PROGRAM

        public static final ElementKind SURVEY_PROGRAM
      • TOPIC_GROUP

        public static final ElementKind TOPIC_GROUP
      • QUESTION_ITEM

        public static final ElementKind QUESTION_ITEM
      • RESPONSEDOMAIN

        public static final ElementKind RESPONSEDOMAIN
      • INSTRUMENT

        public static final ElementKind INSTRUMENT
      • PUBLICATION

        public static final ElementKind PUBLICATION
      • CONTROL_CONSTRUCT

        public static final ElementKind CONTROL_CONSTRUCT
      • QUESTION_CONSTRUCT

        public static final ElementKind QUESTION_CONSTRUCT
      • STATEMENT_CONSTRUCT

        public static final ElementKind STATEMENT_CONSTRUCT
      • CONDITION_CONSTRUCT

        public static final ElementKind CONDITION_CONSTRUCT
      • SEQUENCE_CONSTRUCT

        public static final ElementKind SEQUENCE_CONSTRUCT
      • INSTRUCTION

        public static final ElementKind INSTRUCTION
    • Method Detail

      • values

        public static ElementKind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ElementKind c : ElementKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ElementKind valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getDescription

        public java.lang.String getDescription()
      • getClassName

        public java.lang.String getClassName()
      • getEnum

        public static ElementKind getEnum​(java.lang.String className)