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