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

Summary: Add support for types casting (with persistence)
Product: soa Reporter: Kirill Sorokin <ksorokin>
Component: BPEL MapperAssignee: Nikita Krjukov <supernikita>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.