001    // =================== DO NOT EDIT THIS FILE ====================
002    // Generated by Modello 1.7,
003    // any modifications will be overwritten.
004    // ==============================================================
005    
006    package org.apache.maven.settings;
007    
008    /**
009     * 
010     *         
011     *         This is an activator which will detect an operating
012     * system's attributes in order to activate
013     *         its profile.
014     *         
015     *       
016     * 
017     * @version $Revision$ $Date$
018     */
019    @SuppressWarnings( "all" )
020    public class ActivationOS
021        implements java.io.Serializable, java.lang.Cloneable
022    {
023    
024          //--------------------------/
025         //- Class/Member Variables -/
026        //--------------------------/
027    
028        /**
029         * 
030         *             The name of the OS to be used to activate a
031         * profile.
032         *           
033         */
034        private String name;
035    
036        /**
037         * 
038         *             The general family of the OS to be used to
039         * activate a
040         *             profile (e.g. 'windows')
041         *           .
042         */
043        private String family;
044    
045        /**
046         * 
047         *             The architecture of the OS to be used to
048         * activate a profile.
049         *           
050         */
051        private String arch;
052    
053        /**
054         * 
055         *             The version of the OS to be used to activate a
056         * profile.
057         *           
058         */
059        private String version;
060    
061    
062          //-----------/
063         //- Methods -/
064        //-----------/
065    
066        /**
067         * Method clone.
068         * 
069         * @return ActivationOS
070         */
071        public ActivationOS clone()
072        {
073            try
074            {
075                ActivationOS copy = (ActivationOS) super.clone();
076    
077                return copy;
078            }
079            catch ( java.lang.Exception ex )
080            {
081                throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
082                    + " does not support clone()" ).initCause( ex );
083            }
084        } //-- ActivationOS clone()
085    
086        /**
087         * Get the architecture of the OS to be used to activate a
088         * profile.
089         * 
090         * @return String
091         */
092        public String getArch()
093        {
094            return this.arch;
095        } //-- String getArch()
096    
097        /**
098         * Get the general family of the OS to be used to activate a
099         *             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    }