JBoss XML Binding 2.0.3.GA

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
 JBossXmlAccessMode accessMode
           
 String kind
          if not specified, the default will be either sequence or unordered sequence depending on whether unordered sequences are disabled (default) or enabled
 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
if not specified, the default will be either sequence or unordered sequence depending on whether unordered sequences are disabled (default) or enabled

Default:
"##default"

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:
""

accessMode

public abstract JBossXmlAccessMode accessMode
Default:
org.jboss.xb.annotations.JBossXmlAccessMode.NOT_SPECIFIED

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:
{}

JBoss XML Binding 2.0.3.GA

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