View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.3.0,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.codehaus.modello.test.features;
7   
8     //---------------------------------/
9    //- Imported classes and packages -/
10  //---------------------------------/
11  
12  import org.codehaus.modello.test.features.other.PackageNameFeature;
13  import org.codehaus.modello.test.features.other.SubInterfaceInPackage;
14  
15  /**
16   * Class NodeItem.
17   * 
18   * @version $Revision$ $Date$
19   */
20  @SuppressWarnings( "all" )
21  public class NodeItem
22      implements java.io.Serializable
23  {
24  
25        //--------------------------/
26       //- Class/Member Variables -/
27      //--------------------------/
28  
29      /**
30       * Field value.
31       */
32      private String value;
33  
34      /**
35       * Field child.
36       */
37      private NodeItem child;
38  
39  
40        //-----------/
41       //- Methods -/
42      //-----------/
43  
44      /**
45       * Get the child field.
46       * 
47       * @return NodeItem
48       */
49      public NodeItem getChild()
50      {
51          return this.child;
52      } //-- NodeItem getChild()
53  
54      /**
55       * Get the value field.
56       * 
57       * @return String
58       */
59      public String getValue()
60      {
61          return this.value;
62      } //-- String getValue()
63  
64      /**
65       * Set the child field.
66       * 
67       * @param child a child object.
68       */
69      public void setChild( NodeItem child )
70      {
71          this.child = child;
72      } //-- void setChild( NodeItem )
73  
74      /**
75       * Set the value field.
76       * 
77       * @param value a value object.
78       */
79      public void setValue( String value )
80      {
81          this.value = value;
82      } //-- void setValue( String )
83  
84  }