Package edu.harvard.hul.ois.jhove
Enum Class PropertyType
- All Implemented Interfaces:
Serializable,Comparable<PropertyType>,java.lang.constant.Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProperty type for anAESAudioMetadata.Property type for aBooleanobject, or abooleanif the Arity is Array.Property type for aByteobject, or abyteif the Arity is Array.Property type for aCharacterobject, or acharif the Arity is Array.Property type for aDateobject.Property type for aDoubleobject, or adoubleif the Arity is Array.Property type for aFloatobject, or afloatif the Arity is Array.Property type for anIntegerobject, or anintegerif the Arity is Array.Property type for aLongobject, or alongif the Arity is Array.Property type for aNisoImageMetadata.Property type for anObject.Property type for aPropertyobject.Property type for aRationalobject.Property type for aShortobject, or ashortif the Arity is Array.Property type for aStringobject.Property type for aTextMDMetadata. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontoString()static PropertyTypeReturns the enum constant of this class with the specified name.static PropertyType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Property type for aBooleanobject, or abooleanif the Arity is Array. -
BYTE
Property type for aByteobject, or abyteif the Arity is Array. -
CHARACTER
Property type for aCharacterobject, or acharif the Arity is Array. -
DATE
Property type for aDateobject. -
DOUBLE
Property type for aDoubleobject, or adoubleif the Arity is Array. -
FLOAT
Property type for aFloatobject, or afloatif the Arity is Array. -
INTEGER
Property type for anIntegerobject, or anintegerif the Arity is Array. -
LONG
Property type for aLongobject, or alongif the Arity is Array. -
OBJECT
Property type for anObject. -
AESAUDIOMETADATA
Property type for anAESAudioMetadata. -
NISOIMAGEMETADATA
Property type for aNisoImageMetadata. -
TEXTMDMETADATA
Property type for aTextMDMetadata. -
PROPERTY
Property type for aPropertyobject. -
SHORT
Property type for aShortobject, or ashortif the Arity is Array. -
STRING
Property type for aStringobject. -
RATIONAL
Property type for aRationalobject.
-
-
Field Details
-
name
A String name for the type, used for reporting.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<PropertyType>
-