[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [sdo] ISSUE 22: Proposal for Static SDOs (3).doc
Hi Ron, I feel we need to have the ability to have the SDO namespace for open content properties differ from the XML namespace. How about the following? The default for the xmlProperty property on the @SdoOpenContentProperty is a completely defaulted @SdoXmlProperty. @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.PACKAGE}) public @interface SdoOpenContentProperty { String name(); String type() default ""; boolean many() default false; boolean containment() default true; SdoXmlProperty xmlProperty() default @SdoXmlProperty(); } @Retention(RetentionPolicy.RUNTIME) @Target(@Target({ElementType.METHOD, ElementType.FIELD}) public @interface SdoXmlProperty { public enum XmlNodeType {ATTRIBUE,ELEMENT,DEFAULT}; String name() default ""; String uri() default ""; XmlNodeType nodeType default XmlNodeType.DEFAULT; } -Blaise Barack, Ron wrote: 7C3EF93EEBC6EB4A8B4470853DE865667C80CE@dewdfe18.wdf.sap.corp" type="cite"> |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]