Enum PropertyType

  • All Implemented Interfaces:
    Serializable, Comparable<PropertyType>

    public enum PropertyType
    extends Enum<PropertyType>
    This class defines enumerated types for an Property of some given content. Applications will not create or modify PropertyTypes, but will use one of the predefined PropertyType instances BOOLEAN, BYTE, CHARACTER, DATE, DOUBLE, FLOAT, INTEGER, LONG, OBJECT, PROPERTY, SHORT, STRING, RATIONAL, or NISOIMAGEMETADATA.
    See Also:
    Property
    • Enum Constant Detail

      • BOOLEAN

        public static final PropertyType BOOLEAN
        Property type for a Boolean object, or a boolean if the Arity is Array.
      • BYTE

        public static final PropertyType BYTE
        Property type for a Byte object, or a byte if the Arity is Array.
      • CHARACTER

        public static final PropertyType CHARACTER
        Property type for a Character object, or a char if the Arity is Array.
      • DATE

        public static final PropertyType DATE
        Property type for a Date object.
      • DOUBLE

        public static final PropertyType DOUBLE
        Property type for a Double object, or a double if the Arity is Array.
      • FLOAT

        public static final PropertyType FLOAT
        Property type for a Float object, or a float if the Arity is Array.
      • INTEGER

        public static final PropertyType INTEGER
        Property type for an Integer object, or an integer if the Arity is Array.
      • LONG

        public static final PropertyType LONG
        Property type for a Long object, or a long if the Arity is Array.
      • OBJECT

        public static final PropertyType OBJECT
        Property type for an Object.
      • AESAUDIOMETADATA

        public static final PropertyType AESAUDIOMETADATA
        Property type for an AESAudioMetadata.
      • NISOIMAGEMETADATA

        public static final PropertyType NISOIMAGEMETADATA
        Property type for a NisoImageMetadata.
      • TEXTMDMETADATA

        public static final PropertyType TEXTMDMETADATA
        Property type for a TextMDMetadata.
      • PROPERTY

        public static final PropertyType PROPERTY
        Property type for a Property object.
      • SHORT

        public static final PropertyType SHORT
        Property type for a Short object, or a short if the Arity is Array.
      • STRING

        public static final PropertyType STRING
        Property type for a String object.
      • RATIONAL

        public static final PropertyType RATIONAL
        Property type for a Rational object.
    • Field Detail

      • name

        public final String name
        A String name for the type, used for reporting.
    • 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