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.profiles;
007    
008    /**
009     * 
010     *         This is an activator which will detect an operating
011     * system's attributes in order to activate
012     *         its profile.
013     *       
014     * 
015     * @version $Revision$ $Date$
016     */
017    @SuppressWarnings( "all" )
018    public class ActivationOS
019        implements java.io.Serializable
020    {
021    
022          //--------------------------/
023         //- Class/Member Variables -/
024        //--------------------------/
025    
026        /**
027         * The name of the OS to be used to activate a profile.
028         */
029        private String name;
030    
031        /**
032         * The general family of the OS to be used to activate a
033         * profile (e.g. 'windows').
034         */
035        private String family;
036    
037        /**
038         * The architecture of the OS to be used to activate a profile.
039         */
040        private String arch;
041    
042        /**
043         * The version of the OS to be used to activate a profile.
044         */
045        private String version;
046    
047    
048          //-----------/
049         //- Methods -/
050        //-----------/
051    
052        /**
053         * Get the architecture of the OS to be used to activate a
054         * profile.
055         * 
056         * @return String
057         */
058        public String getArch()
059        {
060            return this.arch;
061        } //-- String getArch()
062    
063        /**
064         * Get the general family of the OS to be used to activate a
065         * profile (e.g. 'windows').
066         * 
067         * @return String
068         */
069        public String getFamily()
070        {
071            return this.family;
072        } //-- String getFamily()
073    
074        /**
075         * Get the name of the OS to be used to activate a profile.
076         * 
077         * @return String
078         */
079        public String getName()
080        {
081            return this.name;
082        } //-- String getName()
083    
084        /**
085         * Get the version of the OS to be used to activate a profile.
086         * 
087         * @return String
088         */
089        public String getVersion()
090        {
091            return this.version;
092        } //-- String getVersion()
093    
094        /**
095         * Set the architecture of the OS to be used to activate a
096         * profile.
097         * 
098         * @param arch
099         */
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
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
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
130         */
131        public void setVersion( String version )
132        {
133            this.version = version;
134        } //-- void setVersion( String )
135    
136    }