001    /*
002     =================== DO NOT EDIT THIS FILE ====================
003     Generated by Modello 1.4.1 on 2013-02-24 03:37:13,
004     any modifications will be overwritten.
005     ==============================================================
006     */
007    
008    package org.apache.maven.settings;
009    
010    /**
011     * 
012     *         
013     *         This is the property specification used to activate a
014     * profile. If the value field is empty,
015     *         then the existence of the named property will activate
016     * the profile, otherwise it does a case-sensitive
017     *         match against the property value as well.
018     *         
019     *       
020     * 
021     * @version $Revision$ $Date$
022     */
023    @SuppressWarnings( "all" )
024    public class ActivationProperty
025        implements java.io.Serializable, java.lang.Cloneable
026    {
027    
028          //--------------------------/
029         //- Class/Member Variables -/
030        //--------------------------/
031    
032        /**
033         * 
034         *             The name of the property to be used to activate
035         * a profile.
036         *           
037         */
038        private String name;
039    
040        /**
041         * 
042         *             The value of the property to be used to activate
043         * a profile.
044         *           
045         */
046        private String value;
047    
048    
049          //-----------/
050         //- Methods -/
051        //-----------/
052    
053        /**
054         * Method clone.
055         * 
056         * @return ActivationProperty
057         */
058        public ActivationProperty clone()
059        {
060            try
061            {
062                ActivationProperty copy = (ActivationProperty) super.clone();
063    
064                return copy;
065            }
066            catch ( java.lang.Exception ex )
067            {
068                throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
069                    + " does not support clone()" ).initCause( ex );
070            }
071        } //-- ActivationProperty clone()
072    
073        /**
074         * Get the name of the property to be used to activate a
075         * profile.
076         * 
077         * @return String
078         */
079        public String getName()
080        {
081            return this.name;
082        } //-- String getName()
083    
084        /**
085         * Get the value of the property to be used to activate a
086         * profile.
087         * 
088         * @return String
089         */
090        public String getValue()
091        {
092            return this.value;
093        } //-- String getValue()
094    
095        /**
096         * Set the name of the property to be used to activate a
097         * profile.
098         * 
099         * @param name
100         */
101        public void setName( String name )
102        {
103            this.name = name;
104        } //-- void setName( String )
105    
106        /**
107         * Set the value of the property to be used to activate a
108         * profile.
109         * 
110         * @param value
111         */
112        public void setValue( String value )
113        {
114            this.value = value;
115        } //-- void setValue( String )
116    
117    }