View Javadoc

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