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.profiles;
7
8 /**
9 *
10 * This is an activator which will detect an operating
11 * system's attributes in order to activate
12 * its profile.
13 *
14 *
15 * @version $Revision$ $Date$
16 */
17 @SuppressWarnings( "all" )
18 public class ActivationOS
19 implements java.io.Serializable
20 {
21
22 //--------------------------/
23 //- Class/Member Variables -/
24 //--------------------------/
25
26 /**
27 * The name of the OS to be used to activate a profile.
28 */
29 private String name;
30
31 /**
32 * The general family of the OS to be used to activate a
33 * profile (e.g. 'windows').
34 */
35 private String family;
36
37 /**
38 * The architecture of the OS to be used to activate a profile.
39 */
40 private String arch;
41
42 /**
43 * The version of the OS to be used to activate a profile.
44 */
45 private String version;
46
47
48 //-----------/
49 //- Methods -/
50 //-----------/
51
52 /**
53 * Get the architecture of the OS to be used to activate a
54 * profile.
55 *
56 * @return String
57 */
58 public String getArch()
59 {
60 return this.arch;
61 } //-- String getArch()
62
63 /**
64 * Get the general family of the OS to be used to activate a
65 * profile (e.g. 'windows').
66 *
67 * @return String
68 */
69 public String getFamily()
70 {
71 return this.family;
72 } //-- String getFamily()
73
74 /**
75 * Get the name of the OS to be used to activate a profile.
76 *
77 * @return String
78 */
79 public String getName()
80 {
81 return this.name;
82 } //-- String getName()
83
84 /**
85 * Get the version of the OS to be used to activate a profile.
86 *
87 * @return String
88 */
89 public String getVersion()
90 {
91 return this.version;
92 } //-- String getVersion()
93
94 /**
95 * Set the architecture of the OS to be used to activate a
96 * profile.
97 *
98 * @param arch a arch object.
99 */
100 public void setArch( String arch )
101 {
102 this.arch = arch;
103 } //-- void setArch( String )
104
105 /**
106 * Set the general family of the OS to be used to activate a
107 * profile (e.g. 'windows').
108 *
109 * @param family a family object.
110 */
111 public void setFamily( String family )
112 {
113 this.family = family;
114 } //-- void setFamily( String )
115
116 /**
117 * Set the name of the OS to be used to activate a profile.
118 *
119 * @param name a name object.
120 */
121 public void setName( String name )
122 {
123 this.name = name;
124 } //-- void setName( String )
125
126 /**
127 * Set the version of the OS to be used to activate a profile.
128 *
129 * @param version a version object.
130 */
131 public void setVersion( String version )
132 {
133 this.version = version;
134 } //-- void setVersion( String )
135
136 }