
Attachment: Mapping XSD to Java
| ABAP |
Java |
Built-In XSD Data Types and Their Exact Equivalent in ABAP
|
XSD |
Java |
|
String |
java.lang.String |
|
Boolean |
Boolean |
|
Float |
Float |
|
Double |
Double |
|
Int |
Int |
|
Short |
Short |
|
Long |
Long |
|
Byte |
Byte |
|
Date |
java.util.Calendar |
|
Time |
java.util.Calendar |

No global types are generated for simple data types (tag <simpleType>), because they only reference built-in data types.
Tags Supported for Complex Data Types (in Alphabetical Order)
|
XSD |
Java |
|
<attribute> (local) |
Attributes of a class (including access methods) |
|
<complexType> (global) |
Class |
|
<complexType> (local) |
Inner class |
|
<element maxOccurs="unbounded"> |
|
|
<element> (local) |
Attribute of an (inner) class (including access methods) |

Only those tags permitted by the
XSD editor are executed.Restrictions for XSD Elements
|
XSD Element |
Note |
|
<extension> and abstract types |
These elements cannot be converted. |
|
substitutionGroup |
|
|
<redefine> |
|
|
Restriction of value area |
These tags are ignored by the proxy runtime. The schema validation checks these properties. |
|
Key references, uniqueness ( <key>, <keyref>, <unique>, and so on.) |