public enum MetadataPropertyType extends Enum<MetadataPropertyType> implements IEnumValue
Defines metadata property types.
| Enum Constant and Description |
|---|
Boolean
Represents a boolean property.
|
ByteArray
Represents a byte array property.
|
DateTime
Represents a date property.
|
Double
Represents a property with a double or float value.
|
DoubleArray
Represents an array of double values.
|
Empty
Represents an empty (null) property.
|
Guid
Represents a global unique identifier value.
|
Integer
Represents an integer property.
|
IntegerArray
Represents an array of integer values.
|
Long
Represents a long integer property.
|
LongArray
Represents an array of long values.
|
Metadata
Represents a nested metadata block.
|
MetadataArray
Represents an array of nested metadata blocks.
|
Object
Represents a generic object property.
|
PropertyValueArray
Represents a metadata property value array.
|
String
Represents a string property.
|
StringArray
Represents a string array property.
|
TimeSpan
Represents a time property.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static MetadataPropertyType |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static MetadataPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataPropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final MetadataPropertyType Boolean
Represents a boolean property.
public static final MetadataPropertyType ByteArray
Represents a byte array property.
public static final MetadataPropertyType DateTime
Represents a date property.
public static final MetadataPropertyType Double
Represents a property with a double or float value.
public static final MetadataPropertyType DoubleArray
Represents an array of double values.
public static final MetadataPropertyType Empty
Represents an empty (null) property.
public static final MetadataPropertyType Guid
Represents a global unique identifier value.
public static final MetadataPropertyType Integer
Represents an integer property.
public static final MetadataPropertyType IntegerArray
Represents an array of integer values.
public static final MetadataPropertyType Long
Represents a long integer property.
public static final MetadataPropertyType LongArray
Represents an array of long values.
public static final MetadataPropertyType Metadata
Represents a nested metadata block.
public static final MetadataPropertyType MetadataArray
Represents an array of nested metadata blocks.
public static final MetadataPropertyType Object
Represents a generic object property.
public static final MetadataPropertyType PropertyValueArray
Represents a metadata property value array.
public static final MetadataPropertyType String
Represents a string property.
public static final MetadataPropertyType StringArray
Represents a string array property.
public static final MetadataPropertyType TimeSpan
Represents a time property.
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic static MetadataPropertyType getByRawValue(int rawValue)
public IEnumValue getEnumValueByName(String name)
IEnumValueReturns the enumeration value by its name.
getEnumValueByName in interface IEnumValuename - The name of the enumeration value.public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValueReturns the enumeration value by the raw value associated with it.
getEnumValueByRawValue in interface IEnumValuerawValue - The raw value.public static IEnumValue getFirst()
public int getRawValue()
IEnumValueReturns the raw value of this enumeration value.
getRawValue in interface IEnumValuepublic RawIntegerType getRawValueType()
IEnumValueReturns the underlying type of the raw value of this enumeration value.
getRawValueType in interface IEnumValuepublic static MetadataPropertyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static MetadataPropertyType[] values()
for (MetadataPropertyType c : MetadataPropertyType.values()) System.out.println(c);
Copyright © 2026. All rights reserved.