org.jboss.xb.annotations
Annotation Type JBossXmlModelGroup


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface JBossXmlModelGroup

JBossXmlModelGroup binds a Java class to a model group in the schema.

Version:
$Revision: 1.1 $
Author:
Alexey Loubyansky

Optional Element Summary
 String kind
           
 String name
           
 JBossXmlModelGroup.Particle[] particles
          Used when a model group is bound to a class hierarchy, i.e.
 String[] propOrder
          Used when a model group is bound to a Java class propeties of which are bound to model group particles
 

kind

public abstract String kind
Default:
"sequence"

name

public abstract String name
Default:
"##default"

propOrder

public abstract String[] propOrder
Used when a model group is bound to a Java class propeties of which are bound to model group particles

Returns:
Default:
""

particles

public abstract JBossXmlModelGroup.Particle[] particles
Used when a model group is bound to a class hierarchy, i.e. each subclass of the class annotated with JBossXmlModelGroup is bound to particle of the model group. Note: most likely the model group is going to be a choice (?)

Default:
{}


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.