First, what is a Value Domain? A Value Domain is essentially a data type that defines a set of values and the allowable operations on those values. Common data types include those that represent integers, floating point numbers, and characters.
Here is a list of value domains available in the xBML W5 and a description of what they are and how they are used.
Value Domain:
Integer - an Integer represents the set of 32-bit whole numbers ranging in value from -2,147,483,648 to 2,147,483,647, and the operations such as addition, subtraction, and multiplication that can be performed on integers.
Examples:
- Number of Employees: 6,972
- Depth of the Ocean (In Feet): 36,100
- Boiling point of Liquid Nitrogen (In Degrees Fahrenheit): -321
Long - Sometimes called Long Integers, are 64 bit Integers, meaning anything larger than 2.1 Billion. These can scale to 18,446,744,073,709,551,617* (this also supports positive or negative numbers)
Examples:
- Earth's Population: 6,878,000,000
- Distance to Nearest Star (in KM): 39,900,000,000,000
- U.S. Federal Spending (In U.S. Dollars): 3,600,691,536,973
Float - Allows you to enter whole numbers or decimals. A float is any number that by default has 6 decimal places, but it is not limited to that, you can have +or- 6 decimal places in this field.
Example:
- PI: 3.141592
- Internet Download Speed (in MBPS): 5.19
- Cost Per Hour: $1,972.58
String - Allows you to enter text or a combination of alpha-numeric. You can also assign a predefined set of values. These will be available as a pull down selection.
Example:
- Customer Name: Bill Murray
- Customer Address: 1060 W Addison St Chicago, IL 60613
- Business Impact: By not allowing users access to the software downloads page, customers will have to contact customer support to obtain the installation files.
Boolean - Displays a checkbox in the Attribute that can be turned on or off; cannot enter text in the field.
Example:
- Completed: X
- Required: X
- Manual Process: X
Date Time - Displays a calendar from which you can select a date. The time always defaults to 12:00:00am and cannot be changed.
Example:
Completed on: 12/1/2011
Last Accessed: 10/13/2010
identified on: 11/11/2011