ILOG JRules User Guide > Integrating Application Data > Reference > Mapping Between XML Schema and Dynamic Classes > Schema Types > Built-in Simple Types

The following table summarizes how schema built-in types are mapped to dynamic class types.

Table 1 XML Schema to ILOG JRules dynamic class built-in type mapping 
XML Schema Type 
ILOG JRules Dynamic Class Type 
boolean 
boolean 
decimal 
java.math.BigDecimal 
double 
double 
integer 
java.math.BigInteger 
int 
int 
ID 
java.lang.String 
nonPositiveInteger 
java.math.BigInteger 
negativeInteger 
java.math.BigInteger 
nonNegativeInteger 
java.math.BigInteger 
positiveInteger 
java.math.BigInteger 
unsignedLong 
java.math.BigInteger 
unsignedInt 
long 
unsignedShort 
int 
unsignedByte 
short 
normalizedString 
java.lang.String 
token 
java.lang.String 
language 
java.lang.String 
name 
java.lang.String 
ENTITY 
java.lang.String 
IDREFS 
java.util.Vector 
ENTITIES 
java.util.Vector 
float 
float 
duration 
ilog.rules.xml.types.IlrDuration 
dateTime 
ilog.rules.xml.types.IlrDateTime 
time 
ilog.rules.xml.types.IlrTime 
gYearMonth 
ilog.rules.xml.types.IlrGYearMonth 
gMonthDay 
ilog.rules.xml.types.IlrGMonthDay 
gDay 
ilog.rules.xml.types.IlrGDay 
gMonth 
ilog.rules.xml.types.IlrGMonth 
date 
ilog.rules.xml.types.IlrDate 
gYear 
ilog.rules.xml.types.IlrGYear 
NMTOKEN 
java.util.Vector 
anyURI 
java.lang.String 
QNAME 
java.lang.String 
NOTATION 
java.lang.String 
hexBinary 
byte[] 
base64Binary 
byte[] 
IDREF 
java.lang.String 
string 
java.lang.String 
NCNAME 
java.lang.String 
NMTOKEN 
java.lang.String 
long 
long 
short 
short 
Note
IDRef is mapped to a String. The reference and ID management are currently not available.

Related Reference

Simple Type Mapping
Simple Types Derived from Other Simple Types
List and Union Types
Local Simple Types Mapped onto Inner Classes
Complex Types
Extension of Simple Type Content in Complex Types
Complex Type Restriction
Complex Type Extension
Local Complex Types Mapped to Inner Classes
Default Constructor Dynamic Methods
Type Identifier Mapping