MetadataPropertyType
Leave feedback
On this page
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.
| 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. |
| Object | Represents a generic object property. |
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 final MetadataPropertyType Object
Represents a generic object property.
public static MetadataPropertyType[] values()
Returns: com.groupdocs.metadata.core.MetadataPropertyType[]
public static MetadataPropertyType valueOf(String name)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: MetadataPropertyType
public static MetadataPropertyType getByRawValue(int rawValue)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: MetadataPropertyType
public static IEnumValue getFirst()
Returns: IEnumValue
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: IEnumValue
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: IEnumValue
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.