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