View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.9.0-SNAPSHOT,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.codehaus.modello.test.features;
9   
10    //---------------------------------/
11   //- Imported classes and packages -/
12  //---------------------------------/
13  
14  import org.codehaus.modello.test.features.other.PackageNameFeature;
15  import org.codehaus.modello.test.features.other.SubInterfaceInPackage;
16  
17  /**
18   * <code>&lt;field xml.content="true"&gt;</code> with
19   * <code>long</code> type and some attributes.
20   *       
21   * 
22   * @version $Revision$ $Date$
23   */
24  @SuppressWarnings( "all" )
25  public class XmlContentLongWithAttributes
26      implements java.io.Serializable
27  {
28  
29        //--------------------------/
30       //- Class/Member Variables -/
31      //--------------------------/
32  
33      /**
34       * <code>long</code> primitive.
35       */
36      private long content = 12121212L;
37  
38      /**
39       * An XML attribute.
40       */
41      private String attr;
42  
43      /**
44       * A 2nd XML attribute.
45       */
46      private int attr2 = 0;
47  
48  
49        //-----------/
50       //- Methods -/
51      //-----------/
52  
53      /**
54       * Get an XML attribute.
55       * 
56       * @return String
57       */
58      public String getAttr()
59      {
60          return this.attr;
61      } //-- String getAttr()
62  
63      /**
64       * Get a 2nd XML attribute.
65       * 
66       * @return int
67       */
68      public int getAttr2()
69      {
70          return this.attr2;
71      } //-- int getAttr2()
72  
73      /**
74       * Get <code>long</code> primitive.
75       * 
76       * @return long
77       */
78      public long getContent()
79      {
80          return this.content;
81      } //-- long getContent()
82  
83      /**
84       * Set an XML attribute.
85       * 
86       * @param attr
87       */
88      public void setAttr( String attr )
89      {
90          this.attr = attr;
91      } //-- void setAttr( String )
92  
93      /**
94       * Set a 2nd XML attribute.
95       * 
96       * @param attr2
97       */
98      public void setAttr2( int attr2 )
99      {
100         this.attr2 = attr2;
101     } //-- void setAttr2( int )
102 
103     /**
104      * Set <code>long</code> primitive.
105      * 
106      * @param content
107      */
108     public void setContent( long content )
109     {
110         this.content = content;
111     } //-- void setContent( long )
112 
113 }