View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2011-09-18 14:33:27,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.continuum.model.scm.v1_0_9;
9   
10    //---------------------------------/
11   //- Imported classes and packages -/
12  //---------------------------------/
13  
14  import org.apache.maven.continuum.model.project.v1_0_9.BuildDefinition;
15  import org.apache.maven.continuum.model.project.v1_0_9.BuildResult;
16  import org.apache.maven.continuum.model.project.v1_0_9.ContinuumDatabase;
17  import org.apache.maven.continuum.model.project.v1_0_9.Project;
18  import org.apache.maven.continuum.model.project.v1_0_9.ProjectDependency;
19  import org.apache.maven.continuum.model.project.v1_0_9.ProjectDeveloper;
20  import org.apache.maven.continuum.model.project.v1_0_9.ProjectGroup;
21  import org.apache.maven.continuum.model.project.v1_0_9.ProjectNotifier;
22  import org.apache.maven.continuum.model.project.v1_0_9.Schedule;
23  import org.apache.maven.continuum.model.system.v1_0_9.NotificationAddress;
24  import org.apache.maven.continuum.model.system.v1_0_9.SystemConfiguration;
25  
26  /**
27   * Class ChangeFile.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class ChangeFile
33      implements java.io.Serializable
34  {
35  
36        //--------------------------/
37       //- Class/Member Variables -/
38      //--------------------------/
39  
40      /**
41       * Field name.
42       */
43      private String name;
44  
45      /**
46       * Field revision.
47       */
48      private String revision;
49  
50      /**
51       * Field status.
52       */
53      private String status;
54  
55  
56        //-----------/
57       //- Methods -/
58      //-----------/
59  
60      /**
61       * Get the name field.
62       * 
63       * @return String
64       */
65      public String getName()
66      {
67          return this.name;
68      } //-- String getName()
69  
70      /**
71       * Get the revision field.
72       * 
73       * @return String
74       */
75      public String getRevision()
76      {
77          return this.revision;
78      } //-- String getRevision()
79  
80      /**
81       * Get the status field.
82       * 
83       * @return String
84       */
85      public String getStatus()
86      {
87          return this.status;
88      } //-- String getStatus()
89  
90      /**
91       * Set the name field.
92       * 
93       * @param name
94       */
95      public void setName( String name )
96      {
97          this.name = name;
98      } //-- void setName( String )
99  
100     /**
101      * Set the revision field.
102      * 
103      * @param revision
104      */
105     public void setRevision( String revision )
106     {
107         this.revision = revision;
108     } //-- void setRevision( String )
109 
110     /**
111      * Set the status field.
112      * 
113      * @param status
114      */
115     public void setStatus( String status )
116     {
117         this.status = status;
118     } //-- void setStatus( String )
119 
120     
121             /**
122              * Provide a version of the object as a string for debugging purposes
123              *
124              * @return a {@link String}made up of the properties of the object
125              */
126             public String toString()
127             {
128                 StringBuffer buffer = new StringBuffer( getName() );
129 
130                 if ( getRevision() != null )
131                 {
132                     buffer.append( ", " ).append( getRevision() );
133                 }
134 
135                 return buffer.toString();
136             }
137           
138 }