View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.1.2,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.buildcache.xml.diff;
7   
8   /**
9    * Class Mismatch.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class Mismatch
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Field detail.
24       */
25      private java.util.List<MismatchDetail> detail;
26  
27      /**
28       * Field item.
29       */
30      private String item;
31  
32      /**
33       * Field current.
34       */
35      private String current;
36  
37      /**
38       * Field baseline.
39       */
40      private String baseline;
41  
42      /**
43       * Field reason.
44       */
45      private String reason;
46  
47      /**
48       * Field resolution.
49       */
50      private String resolution;
51  
52      /**
53       * Field context.
54       */
55      private String context;
56  
57  
58        //-----------/
59       //- Methods -/
60      //-----------/
61  
62      /**
63       * Method addDetail.
64       * 
65       * @param mismatchDetail a mismatchDetail object.
66       */
67      public void addDetail( MismatchDetail mismatchDetail )
68      {
69          getDetail().add( mismatchDetail );
70      } //-- void addDetail( MismatchDetail )
71  
72      /**
73       * Get the baseline field.
74       * 
75       * @return String
76       */
77      public String getBaseline()
78      {
79          return this.baseline;
80      } //-- String getBaseline()
81  
82      /**
83       * Get the context field.
84       * 
85       * @return String
86       */
87      public String getContext()
88      {
89          return this.context;
90      } //-- String getContext()
91  
92      /**
93       * Get the current field.
94       * 
95       * @return String
96       */
97      public String getCurrent()
98      {
99          return this.current;
100     } //-- String getCurrent()
101 
102     /**
103      * Method getDetail.
104      * 
105      * @return List
106      */
107     public java.util.List<MismatchDetail> getDetail()
108     {
109         if ( this.detail == null )
110         {
111             this.detail = new java.util.ArrayList<MismatchDetail>();
112         }
113 
114         return this.detail;
115     } //-- java.util.List<MismatchDetail> getDetail()
116 
117     /**
118      * Get the item field.
119      * 
120      * @return String
121      */
122     public String getItem()
123     {
124         return this.item;
125     } //-- String getItem()
126 
127     /**
128      * Get the reason field.
129      * 
130      * @return String
131      */
132     public String getReason()
133     {
134         return this.reason;
135     } //-- String getReason()
136 
137     /**
138      * Get the resolution field.
139      * 
140      * @return String
141      */
142     public String getResolution()
143     {
144         return this.resolution;
145     } //-- String getResolution()
146 
147     /**
148      * Method removeDetail.
149      * 
150      * @param mismatchDetail a mismatchDetail object.
151      */
152     public void removeDetail( MismatchDetail mismatchDetail )
153     {
154         getDetail().remove( mismatchDetail );
155     } //-- void removeDetail( MismatchDetail )
156 
157     /**
158      * Set the baseline field.
159      * 
160      * @param baseline a baseline object.
161      */
162     public void setBaseline( String baseline )
163     {
164         this.baseline = baseline;
165     } //-- void setBaseline( String )
166 
167     /**
168      * Set the context field.
169      * 
170      * @param context a context object.
171      */
172     public void setContext( String context )
173     {
174         this.context = context;
175     } //-- void setContext( String )
176 
177     /**
178      * Set the current field.
179      * 
180      * @param current a current object.
181      */
182     public void setCurrent( String current )
183     {
184         this.current = current;
185     } //-- void setCurrent( String )
186 
187     /**
188      * Set the detail field.
189      * 
190      * @param detail a detail object.
191      */
192     public void setDetail( java.util.List<MismatchDetail> detail )
193     {
194         this.detail = detail;
195     } //-- void setDetail( java.util.List )
196 
197     /**
198      * Set the item field.
199      * 
200      * @param item a item object.
201      */
202     public void setItem( String item )
203     {
204         this.item = item;
205     } //-- void setItem( String )
206 
207     /**
208      * Set the reason field.
209      * 
210      * @param reason a reason object.
211      */
212     public void setReason( String reason )
213     {
214         this.reason = reason;
215     } //-- void setReason( String )
216 
217     /**
218      * Set the resolution field.
219      * 
220      * @param resolution a resolution object.
221      */
222     public void setResolution( String resolution )
223     {
224         this.resolution = resolution;
225     } //-- void setResolution( String )
226 
227 }