Specialized Administration > Tailoring Business Objects > Type and Attribute Management > Working with the Type and Attribute Management Utility > Managing Types > Type Information Page > Attributes Tab > Creating a New Attribute > Supported Data Types
  
Supported Data Types
The following data types are supported for attributes:
Data Type
Icon
Values Associated with Data Type
Boolean
(java.lang.Boolean)
True/false.
Date and Time or Date & Time
(java.sql.Timestamp)
Date-only value or date and time value. Displays in a format appropriate for the browser locale and your system configuration settings.
Double
(java.lang.Double)
Decimal number. The decimal and grouping separators display appropriately for the browser locale setting.
Hyperlink or URL
(com.ptc.core.meta.common.Hyperlink)
Allows linking to some external content, such as a web page. Specified as a URL and an optional label. For more information, see Hyperlink Attributes.
Integer Number
(java.lang.Long)
Numerical values without decimal points. The grouping separator is displayed appropriately for the browser locale.
Object Reference or Reference
(com.ptc.core.meta.common.TypeInstanceIdentifier)
Associates this Windchill business class (type) with another Windchill business class.
Real Number
(com.ptc.core.meta.commmon.FloatingPoint)
Decimal number.
Real Number values always render with the same number of significant digits as entered by the user when the value was originally specified.
The decimal and grouping separators are displayed appropriately for the browser locale.
Real Number with Units
(wt.units.FloatingPointWithUnits)
Decimal number with units.
Real Number with Units values always render with the same number of significant digits as entered by the user when the value was originally specified.
The decimal and grouping separators are displayed appropriately for the browser locale.
Use the Real Number with Units data type when you want users to enter values in the units with which they are comfortable, and have the system automatically convert the values to the appropriate unit of measure.
The units (quantity of measure) are determined when the attribute is originally created. When a user enters a value for a Real Number with Units attribute, they can enter a value with units, and the system automatically converts the value to the appropriate quantity of measure specified for the attribute. If the user enters only a number, the system assumes the number is already in the appropriate quantity of measure.
For more information, see Managing Quantities of Measure.
String
(java.lang.String)
Text string.
* 
For Real Number and Real Number with Units data types, to display the locale-specific grouping separators, set the com.ptc.core.meta.common.NumericToolkit.GROUPING_SEPARATOR_ENABLED property. If this property is enabled, the view of the grouping separator is enabled. For example, different languages use different grouping separators:
English (EN): “,” (comma). For example, 1,234
German (DE): “.” (dot). For example, 1.234
French (FR): (space). For example, 1 234
Enabling this property allows you to enter the separator before saving the value. If this property is disabled, entering a locale-specific separator displays an error.