PropertyType
Overview
PropertyType is an enum in Aspose.Words FOSS for Java.
Specifies data type of a document property.
Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.
This enum declares 4 methods for PropertyType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
BOOLEAN | The property is a boolean value. |
DATE_TIME | The property is a date time value. |
DOUBLE | The property is a floating number. |
NUMBER | The property is an integer number. |
STRING | The property is a string value. |
STRING_ARRAY | The property is an array of strings. |
OBJECT_ARRAY | The property is an array of objects. |
BYTE_ARRAY | The property is an array of bytes. |
OTHER | The property is some other type. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of PropertyType values. |
Methods
| Signature | Description |
|---|---|
getName(propertyType: int) → String | Returns JAVA_STYLE string representation of integer PropertyType value. |
toString(propertyType: int) → String | Returns DotNetStyle string representation of integer PropertyType value. |
fromName(propertyTypeName: String) → int | Returns integer representation by PropertyType name. |
getValues() → int[] | Returns array of PropertyType values. |