View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.3.0,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.profiles;
7   
8   /**
9    * 
10   *         This is the property specification used to activate a
11   * profile. If the value field is empty,
12   *         then the existence of the named property will activate
13   * the profile, otherwise it does a case-sensitive
14   *         match against the property value as well.
15   *       
16   * 
17   * @version $Revision$ $Date$
18   */
19  @SuppressWarnings( "all" )
20  public class ActivationProperty
21      implements java.io.Serializable
22  {
23  
24        //--------------------------/
25       //- Class/Member Variables -/
26      //--------------------------/
27  
28      /**
29       * The name of the property to be used to activate a profile.
30       */
31      private String name;
32  
33      /**
34       * The value of the property to be used to activate a profile.
35       */
36      private String value;
37  
38  
39        //-----------/
40       //- Methods -/
41      //-----------/
42  
43      /**
44       * Get the name of the property to be used to activate a
45       * profile.
46       * 
47       * @return String
48       */
49      public String getName()
50      {
51          return this.name;
52      } //-- String getName()
53  
54      /**
55       * Get the value of the property to be used to activate a
56       * profile.
57       * 
58       * @return String
59       */
60      public String getValue()
61      {
62          return this.value;
63      } //-- String getValue()
64  
65      /**
66       * Set the name of the property to be used to activate a
67       * profile.
68       * 
69       * @param name a name object.
70       */
71      public void setName( String name )
72      {
73          this.name = name;
74      } //-- void setName( String )
75  
76      /**
77       * Set the value of the property to be used to activate a
78       * profile.
79       * 
80       * @param value a value object.
81       */
82      public void setValue( String value )
83      {
84          this.value = value;
85      } //-- void setValue( String )
86  
87  }