View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.0.1 on 2009-09-09 03:30:24,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.settings;
9   
10  /**
11   * 
12   *         
13   *         This is an activator which will detect an operating
14   * system's attributes in order to activate
15   *         its profile.
16   *         
17   *       
18   * 
19   * @version $Revision$ $Date$
20   */
21  public class ActivationOS
22      implements java.io.Serializable
23  {
24  
25        //--------------------------/
26       //- Class/Member Variables -/
27      //--------------------------/
28  
29      /**
30       * 
31       *             The name of the OS to be used to activate a
32       * profile.
33       *           
34       */
35      private String name;
36  
37      /**
38       * 
39       *             The general family of the OS to be used to
40       * activate a
41       *             profile (e.g. 'windows')
42       *           .
43       */
44      private String family;
45  
46      /**
47       * 
48       *             The architecture of the OS to be used to
49       * activate a profile.
50       *           
51       */
52      private String arch;
53  
54      /**
55       * 
56       *             The version of the OS to be used to activate a
57       * profile.
58       *           
59       */
60      private String version;
61  
62  
63        //-----------/
64       //- Methods -/
65      //-----------/
66  
67      /**
68       * Get the architecture of the OS to be used to activate a
69       * profile.
70       * 
71       * @return String
72       */
73      public String getArch()
74      {
75          return this.arch;
76      } //-- String getArch()
77  
78      /**
79       * Get the general family of the OS to be used to activate a
80       *             profile (e.g. 'windows').
81       * 
82       * @return String
83       */
84      public String getFamily()
85      {
86          return this.family;
87      } //-- String getFamily()
88  
89      /**
90       * Get the name of the OS to be used to activate a profile.
91       * 
92       * @return String
93       */
94      public String getName()
95      {
96          return this.name;
97      } //-- String getName()
98  
99      /**
100      * Get the version of the OS to be used to activate a profile.
101      * 
102      * @return String
103      */
104     public String getVersion()
105     {
106         return this.version;
107     } //-- String getVersion()
108 
109     /**
110      * Set the architecture of the OS to be used to activate a
111      * profile.
112      * 
113      * @param arch
114      */
115     public void setArch( String arch )
116     {
117         this.arch = arch;
118     } //-- void setArch( String )
119 
120     /**
121      * Set the general family of the OS to be used to activate a
122      *             profile (e.g. 'windows').
123      * 
124      * @param family
125      */
126     public void setFamily( String family )
127     {
128         this.family = family;
129     } //-- void setFamily( String )
130 
131     /**
132      * Set the name of the OS to be used to activate a profile.
133      * 
134      * @param name
135      */
136     public void setName( String name )
137     {
138         this.name = name;
139     } //-- void setName( String )
140 
141     /**
142      * Set the version of the OS to be used to activate a profile.
143      * 
144      * @param version
145      */
146     public void setVersion( String version )
147     {
148         this.version = version;
149     } //-- void setVersion( String )
150 
151 
152 }