com.abra.j2xb.annotations
Annotation Type MOPropertyChoice


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface MOPropertyChoice

Defines that the property is part of a choice XML construct. See MOChoiceDiscriminator for a more detailed explanation and examples.

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami
See Also:
MOProperty, MOChoiceDiscriminator, SourcePropertyOf

Required Element Summary
 java.lang.String[] choiceOptions
          Defines in which choice options this property is included.
 java.lang.String discriminator
          the name of the choice discriminator, used to connect this annotation with the appropriate choice discriminator (MOChoiceDiscriminator).
 

Element Detail

discriminator

public abstract java.lang.String discriminator
the name of the choice discriminator, used to connect this annotation with the appropriate choice discriminator (MOChoiceDiscriminator).


choiceOptions

public abstract java.lang.String[] choiceOptions
Defines in which choice options this property is included. A single property can be included in multiple choice options.



Copyright © 2008. All Rights Reserved.