Enum VariableType

    • Enum Constant Detail

      • NULL

        public static final VariableType NULL
        A variable with no type. Used for flag indicators that are either present or absent but have no assignable value.
      • ENUMERATED

        public static final VariableType ENUMERATED
        A variable with the Java type Enum or NamedInteger.
      • COMPOUND

        public static final VariableType COMPOUND
        A variable that is a compound structure containing sub-variables. For example, a Called Party Number or Location Information.
      • BIT_STRING

        public static final VariableType BIT_STRING
        A variable with the Java type BitString
      • ARRAY

        public static final VariableType ARRAY
        A variable that is an array of some other type.
      • USER

        public static final VariableType USER
        A user-defined variable. User-defined variables may have any Java type.
      • UNRESOLVED

        public static final VariableType UNRESOLVED
        A variable that has been created via an import or some other means where its name could not be resolved at instantiation time.
    • Method Detail

      • values

        public static VariableType[] 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 (VariableType c : VariableType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VariableType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null