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.
|
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.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final MetadataPropertyType Empty
Represents an empty (null) property.
public static final MetadataPropertyType String
Represents a string property.
public static final MetadataPropertyType Boolean
Represents a boolean property.
public static final MetadataPropertyType DateTime
Represents a date property.
public static final MetadataPropertyType TimeSpan
Represents a time property.
public static final MetadataPropertyType Integer
Represents an integer property.
public static final MetadataPropertyType Long
Represents a long integer property.
public static final MetadataPropertyType Double
Represents a property with a double or float value.
public static final MetadataPropertyType StringArray
Represents a string array property.
public static final MetadataPropertyType ByteArray
Represents a byte array property.
public static final MetadataPropertyType DoubleArray
Represents an array of double values.
public static final MetadataPropertyType IntegerArray
Represents an array of integer values.
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 Guid
Represents a global unique identifier value.
public static final MetadataPropertyType PropertyValueArray
Represents a metadata property value array.
public static MetadataPropertyType[] values()
for (MetadataPropertyType c : MetadataPropertyType.values()) System.out.println(c);
public 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 getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue