View Javadoc
1 2 // This class is generated by XDoclet SDK (XGG). Do not edit! 3 package xdoclet.sdk.xtag.migrator; 4 5 /*** 6 * <p>XML element: <b><option-sets/></b></p>. 7 * This element exists in the following versions: 8 * <ul> 9 * <li>xtags_1_1.dtd</li> 10 * </ul> 11 * 12 * @bean.class name="option-sets" 13 * 14 * @author <a href="http://xdoclet.sf.net/">XDoclet</a> 15 */ 16 public final class OptionSets extends xdoclet.sdk.xgg.XGGPojo { 17 /*** 18 * Default constructor. Should not be called explicitly. It's available 19 * only to be able to convert xml into beans with Betwixt. 20 */ 21 public OptionSets() { 22 } 23 24 /*** 25 * Constructor. Should only be called if the current version is of the following: 26 * <ul> 27 * <li>xtags_1_1.dtd</li> 28 * </ul> 29 * @param parent the parent element 30 * @throws java.lang.IllegalStateException if this constructor is illegal 31 * with the current version. 32 */ 33 public OptionSets( Parameter parent ) throws java.lang.IllegalStateException { 34 // Check that it's ok to call this constructor. 35 checkVersion( new String[] { "xtags_1_1.dtd" } ); 36 parent.setOptionSets( this ); 37 } 38 39 /*** 40 * <p>XML element: <a href="OptionSet.html"><option-set/></a></p> 41 * This element exists in the following versions: 42 * <ul> 43 * <li>xtags_1_1.dtd</li> 44 * </ul> 45 * 46 * The cardinality is (1..*) 47 * 48 * @param optionSet the OptionSet to add. 49 * @throws java.lang.IllegalStateException if this method is illegal 50 * with the current version. 51 */ 52 public final void addOptionSet( final OptionSet optionSet ) throws java.lang.IllegalStateException { 53 // Check that it's ok to call this method. 54 checkVersion( new String[] { "xtags_1_1.dtd" } ); 55 _optionSetCollection.add( optionSet ); 56 } 57 58 /*** 59 * @bean.property 60 * @bean.attribute name="betwixt.index" value="0" 61 * @bean.attribute name="betwixt.name" value="option-set" 62 */ 63 public final java.util.Collection getOptionSetCollection() { 64 return _optionSetCollection; 65 } 66 67 private final java.util.Collection _optionSetCollection = new java.util.ArrayList(); 68 69 }

This page was automatically generated by Maven