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.config;
7
8 /**
9 * Class GoalsList.
10 *
11 * @version $Revision$ $Date$
12 */
13 @SuppressWarnings( "all" )
14 public class GoalsList
15 extends CoordinatesBase
16 implements java.io.Serializable
17 {
18
19 //--------------------------/
20 //- Class/Member Variables -/
21 //--------------------------/
22
23 /**
24 * Field goals.
25 */
26 private java.util.List<String> goals;
27
28
29 //-----------/
30 //- Methods -/
31 //-----------/
32
33 /**
34 * Method addGoal.
35 *
36 * @param string a string object.
37 */
38 public void addGoal( String string )
39 {
40 getGoals().add( string );
41 } //-- void addGoal( String )
42
43 /**
44 * Method getGoals.
45 *
46 * @return List
47 */
48 public java.util.List<String> getGoals()
49 {
50 if ( this.goals == null )
51 {
52 this.goals = new java.util.ArrayList<String>();
53 }
54
55 return this.goals;
56 } //-- java.util.List<String> getGoals()
57
58 /**
59 * Method removeGoal.
60 *
61 * @param string a string object.
62 */
63 public void removeGoal( String string )
64 {
65 getGoals().remove( string );
66 } //-- void removeGoal( String )
67
68 /**
69 * Set goals identification.
70 *
71 * @param goals a goals object.
72 */
73 public void setGoals( java.util.List<String> goals )
74 {
75 this.goals = goals;
76 } //-- void setGoals( java.util.List )
77
78 }