001    /*
002     =================== DO NOT EDIT THIS FILE ====================
003     Generated by Modello 1.4.1 on 2012-01-20 18:32:34,
004     any modifications will be overwritten.
005     ==============================================================
006     */
007    
008    package org.apache.maven.profiles;
009    
010    /**
011     * 
012     *         This is an activator which will detect an operating
013     * system's attributes in order to activate
014     *         its profile.
015     *       
016     * 
017     * @version $Revision$ $Date$
018     */
019    @SuppressWarnings( "all" )
020    public class ActivationOS
021        implements java.io.Serializable
022    {
023    
024          //--------------------------/
025         //- Class/Member Variables -/
026        //--------------------------/
027    
028        /**
029         * The name of the OS to be used to activate a profile.
030         */
031        private String name;
032    
033        /**
034         * The general family of the OS to be used to activate a
035         * profile (e.g. 'windows').
036         */
037        private String family;
038    
039        /**
040         * The architecture of the OS to be used to activate a profile.
041         */
042        private String arch;
043    
044        /**
045         * The version of the OS to be used to activate a profile.
046         */
047        private String version;
048    
049    
050          //-----------/
051         //- Methods -/
052        //-----------/
053    
054        /**
055         * Get the architecture of the OS to be used to activate a
056         * profile.
057         * 
058         * @return String
059         */
060        public String getArch()
061        {
062            return this.arch;
063        } //-- String getArch()
064    
065        /**
066         * Get the general family of the OS to be used to activate a
067         * profile (e.g. 'windows').
068         * 
069         * @return String
070         */
071        public String getFamily()
072        {
073            return this.family;
074        } //-- String getFamily()
075    
076        /**
077         * Get the name of the OS to be used to activate a profile.
078         * 
079         * @return String
080         */
081        public String getName()
082        {
083            return this.name;
084        } //-- String getName()
085    
086        /**
087         * Get the version of the OS to be used to activate a profile.
088         * 
089         * @return String
090         */
091        public String getVersion()
092        {
093            return this.version;
094        } //-- String getVersion()
095    
096        /**
097         * Set the architecture of the OS to be used to activate a
098         * profile.
099         * 
100         * @param arch
101         */
102        public void setArch( String arch )
103        {
104            this.arch = arch;
105        } //-- void setArch( String )
106    
107        /**
108         * Set the general family of the OS to be used to activate a
109         * profile (e.g. 'windows').
110         * 
111         * @param family
112         */
113        public void setFamily( String family )
114        {
115            this.family = family;
116        } //-- void setFamily( String )
117    
118        /**
119         * Set the name of the OS to be used to activate a profile.
120         * 
121         * @param name
122         */
123        public void setName( String name )
124        {
125            this.name = name;
126        } //-- void setName( String )
127    
128        /**
129         * Set the version of the OS to be used to activate a profile.
130         * 
131         * @param version
132         */
133        public void setVersion( String version )
134        {
135            this.version = version;
136        } //-- void setVersion( String )
137    
138    }