Enum PropertyType

    • Method Detail

      • values

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

        public static PropertyType 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
      • getDataType

        public Class<?> getDataType()
        Returns the data type class of this property type.
        Returns:
        the data type class of this property type
        Since:
        9.10.2
      • isNumberType

        public boolean isNumberType()
        Returns true if this property type is a number type.
        Returns:
        true if this property type is a number type
        Since:
        9.10.2
      • getFormat

        public Format getFormat()
        Returns the format for this property type.

        The formatting and units used in the returned format depend on the units selected in the application preferences.

        Returns:
        the format for this property type
        Since:
        9.10.2