Enum OutputProperty

    • Method Detail

      • values

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

        public static OutputProperty 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
      • value

        public String value()
        Return the String value associated with this enumeration value (the fully qualified class name)
        Returns:
        the class name associated with this enumeration value
      • fromValue

        public static OutputProperty fromValue​(String value)
        Returns the enumeration value associated with the specified class name
        Parameters:
        value - the specified class name
        Returns:
        the enumeration value associated with this class name
      • fromHeaderName

        public static OutputProperty fromHeaderName​(String name)
                                             throws PlanItException
        Returns the enumeration value associated with a specified header name (the header name in input and output files)
        Parameters:
        name - the header name
        Returns:
        the enumeration associated with the specified header name
        Throws:
        PlanItException - if the name is not associated with any output property