001// =================== DO NOT EDIT THIS FILE ==================== 002// Generated by Modello 2.3.0, 003// any modifications will be overwritten. 004// ============================================================== 005 006package org.codehaus.modello.test.features; 007 008 //---------------------------------/ 009 //- Imported classes and packages -/ 010//---------------------------------/ 011 012import org.codehaus.modello.test.features.other.PackageNameFeature; 013import org.codehaus.modello.test.features.other.SubInterfaceInPackage; 014 015/** 016 * Class NodeItem. 017 * 018 * @version $Revision$ $Date$ 019 */ 020@SuppressWarnings( "all" ) 021public class NodeItem 022 implements java.io.Serializable 023{ 024 025 //--------------------------/ 026 //- Class/Member Variables -/ 027 //--------------------------/ 028 029 /** 030 * Field value. 031 */ 032 private String value; 033 034 /** 035 * Field child. 036 */ 037 private NodeItem child; 038 039 040 //-----------/ 041 //- Methods -/ 042 //-----------/ 043 044 /** 045 * Get the child field. 046 * 047 * @return NodeItem 048 */ 049 public NodeItem getChild() 050 { 051 return this.child; 052 } //-- NodeItem getChild() 053 054 /** 055 * Get the value field. 056 * 057 * @return String 058 */ 059 public String getValue() 060 { 061 return this.value; 062 } //-- String getValue() 063 064 /** 065 * Set the child field. 066 * 067 * @param child a child object. 068 */ 069 public void setChild( NodeItem child ) 070 { 071 this.child = child; 072 } //-- void setChild( NodeItem ) 073 074 /** 075 * Set the value field. 076 * 077 * @param value a value object. 078 */ 079 public void setValue( String value ) 080 { 081 this.value = value; 082 } //-- void setValue( String ) 083 084}