MetadataPropertyType

Contents
[ ]

Inheritance: java.lang.Object, java.lang.Enum

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public enum MetadataPropertyType extends Enum<MetadataPropertyType> implements IEnumValue

Defines metadata property types.

Fields

Field Description
Empty Represents an empty (null) property.
String Represents a string property.
Boolean Represents a boolean property.
DateTime Represents a date property.
TimeSpan Represents a time property.
Integer Represents an integer property.
Long Represents a long integer property.
Double Represents a property with a double or float value.
StringArray Represents a string array property.
ByteArray Represents a byte array property.
DoubleArray Represents an array of double values.
IntegerArray Represents an array of integer values.
LongArray Represents an array of long values.
Metadata Represents a nested metadata block.
MetadataArray Represents an array of nested metadata blocks.
Guid Represents a global unique identifier value.
PropertyValueArray Represents a metadata property value array.

Methods

Method Description
values()
valueOf(String name)
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()

Empty

public static final MetadataPropertyType Empty

Represents an empty (null) property.

String

public static final MetadataPropertyType String

Represents a string property.

Boolean

public static final MetadataPropertyType Boolean

Represents a boolean property.

DateTime

public static final MetadataPropertyType DateTime

Represents a date property.

TimeSpan

public static final MetadataPropertyType TimeSpan

Represents a time property.

Integer

public static final MetadataPropertyType Integer

Represents an integer property.

Long

public static final MetadataPropertyType Long

Represents a long integer property.

Double

public static final MetadataPropertyType Double

Represents a property with a double or float value.

StringArray

public static final MetadataPropertyType StringArray

Represents a string array property.

ByteArray

public static final MetadataPropertyType ByteArray

Represents a byte array property.

DoubleArray

public static final MetadataPropertyType DoubleArray

Represents an array of double values.

IntegerArray

public static final MetadataPropertyType IntegerArray

Represents an array of integer values.

LongArray

public static final MetadataPropertyType LongArray

Represents an array of long values.

Metadata

public static final MetadataPropertyType Metadata

Represents a nested metadata block.

MetadataArray

public static final MetadataPropertyType MetadataArray

Represents an array of nested metadata blocks.

Guid

public static final MetadataPropertyType Guid

Represents a global unique identifier value.

PropertyValueArray

public static final MetadataPropertyType PropertyValueArray

Represents a metadata property value array.

values()

public static MetadataPropertyType[] values()

Returns: com.groupdocs.metadata.core.MetadataPropertyType[]

valueOf(String name)

public static MetadataPropertyType valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: MetadataPropertyType

getByRawValue(int rawValue)

public static MetadataPropertyType getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: MetadataPropertyType

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int