Primitive Class Properties
In this section, the Primitive class properties are presented in alphabetical order.
Description
Use this property to return the type of this document element as an integer constant: %Document_Primitive,
This property is read-only.
Description
Use this property to return the number of enumerated values for this primitive element as an integer.
This property is read-only.
Description
Use this property to return a Boolean value indicating whether the value of this primitive element has been changed.
This property is read-only.
Description
Use this property to return a Boolean value indicating whether this primitive element has an initial value.
This property is read-only.
Description
Use this property return a Boolean value indicating whether this primitive element is required.
This property is read-only.
Description
Use this property to return the number of allowed spaces to the right of the decimal point as an integer.
Note: This property is available and valid for a decimal primitive type only.
This property is read-only.
Description
Use this property to return the length of the primitive element as an integer.
This property is read-only.
Description
Use this property to return the name of this element as a string.
This property is read-only.
Description
Use this property to set or return the original value for this element as a string.
This property is read/write.
Description
Use this property to return the subtype for this primitive element as an integer. Only certain primitive types have defined subtypes.
For the %Document_Integer primitive type, the values are:
Numeric Value |
Constant Value |
Description |
---|---|---|
— |
none |
No subtype (default). |
1 |
%DocumentSubType_NonNegInteger |
Non-negative integer |
For the %Document_String and %Document_Text primitive types, the values are:
Numeric Value |
Constant Value |
Description |
---|---|---|
— |
none |
No subtype (default). |
1 |
%DocumentSubType_AnyURI |
anyURI XML schema data type. |
5 |
%DocumentSubType_gDay |
gDay XML schema data type. |
6 |
%DocumentSubType_gMonth |
gMonth XML schema data type. |
7 |
%DocumentSubType_gYear |
gYear XML schema data type. |
8 |
%DocumentSubType_gYearMonth |
gYearMonth XML schema data type. |
2 |
%DocumentSubType_NormString |
Normalized string XML schema data type. |
4 |
%DocumentSubType_QName |
QName XML schema data type. |
3 |
%DocumentSubType_Token |
Token XML schema data type. |
This property is read-only.
Description
Use this property to return the type for this primitive element as an integer. The values are:
Numeric Value |
Constant Value |
Description |
---|---|---|
11 |
%Document_Binary |
Binary primitive type. |
1 |
%Document_Boolean |
Boolean primitive type. |
2 |
%Document_Char |
Character primitive type. The Character primitive type allows a single-character string only. |
7 |
%Document_Date |
Date primitive type. |
9 |
%Document_DateTime |
DateTime primitive type. |
6 |
%Document_Decimal |
Decimal primitive type. |
4 |
%Document_Integer |
Integer primitive type. The Integer primitive type includes subtypes. |
3 |
%Document_String |
String primitive type. The String primitive type requires a length. The String primitive type also includes subtypes. |
10 |
%Document_Text |
Text primitive type. The Text primitive type is unbounded and does not require a length. The Text primitive type also includes subtypes. |
8 |
%Document_Time |
Time primitive type. |
This property is read-only.
Description
Use this property to return the system-assigned sequence number for this element as an integer.
This property is read-only.
Description
Use this property to set or return the value for this primitive element as a string.
This property is read/write.