This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 130052 - Add support for types casting (with persistence)
Summary: Add support for types casting (with persistence)
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 15:40 UTC by Kirill Sorokin
Modified: 2008-10-12 23:46 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Sorokin 2008-03-13 15:40:18 UTC
A user should be able to cast an element (or an attribute) to another type. It should be done in a way similar to the
way predicates are added now -- right-click on a node and choose "Cast to...". He is then presented with a type chooser,
where he selects a derived type (or a restricted one in case of simple types) and an additional node is created next to
the original.

The type cat information is persisted in an extension element on the process level so that the cast information is
directly available in all mappers across the process. When the cast is actually used in a mapping a reference to the
cast is added to an extension in the copy element.
Comment 1 Sergey Lunegov 2008-04-30 14:59:12 UTC
Need support for xsd:any.
Comment 2 Kirill Sorokin 2008-05-06 14:36:55 UTC
Fixed.
Comment 3 ggenipudi 2008-10-12 23:46:26 UTC
Tested and verified using Build 200810080102 and was able to cast base element to derived XSD any any type and build the
project and test runtime.