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 the property specification used to activate a
011 * profile. If the value field is empty,
012 * then the existence of the named property will activate
013 * the profile, otherwise it does a case-sensitive
014 * match against the property value as well.
015 *
016 *
017 * @version $Revision$ $Date$
018 */
019 @SuppressWarnings( "all" )
020 public class ActivationProperty
021 implements java.io.Serializable
022 {
023
024 //--------------------------/
025 //- Class/Member Variables -/
026 //--------------------------/
027
028 /**
029 * The name of the property to be used to activate a profile.
030 */
031 private String name;
032
033 /**
034 * The value of the property to be used to activate a profile.
035 */
036 private String value;
037
038
039 //-----------/
040 //- Methods -/
041 //-----------/
042
043 /**
044 * Get the name of the property to be used to activate a
045 * profile.
046 *
047 * @return String
048 */
049 public String getName()
050 {
051 return this.name;
052 } //-- String getName()
053
054 /**
055 * Get the value of the property to be used to activate a
056 * profile.
057 *
058 * @return String
059 */
060 public String getValue()
061 {
062 return this.value;
063 } //-- String getValue()
064
065 /**
066 * Set the name of the property to be used to activate a
067 * profile.
068 *
069 * @param name
070 */
071 public void setName( String name )
072 {
073 this.name = name;
074 } //-- void setName( String )
075
076 /**
077 * Set the value of the property to be used to activate a
078 * profile.
079 *
080 * @param value
081 */
082 public void setValue( String value )
083 {
084 this.value = value;
085 } //-- void setValue( String )
086
087 }