1 // =================== DO NOT EDIT THIS FILE ==================== 2 // Generated by Modello 1.8.1, 3 // any modifications will be overwritten. 4 // ============================================================== 5 6 package org.apache.maven.settings; 7 8 /** 9 * 10 * 11 * This is the property specification used to activate a 12 * profile. If the value field is empty, 13 * then the existence of the named property will activate 14 * the profile, otherwise it does a case-sensitive 15 * match against the property value as well. 16 * 17 * 18 * 19 * @version $Revision$ $Date$ 20 */ 21 @SuppressWarnings( "all" ) 22 public class ActivationProperty 23 implements java.io.Serializable, java.lang.Cloneable 24 { 25 26 //--------------------------/ 27 //- Class/Member Variables -/ 28 //--------------------------/ 29 30 /** 31 * 32 * The name of the property to be used to activate 33 * a profile. 34 * 35 */ 36 private String name; 37 38 /** 39 * 40 * The value of the property to be used to activate 41 * a profile. 42 * 43 */ 44 private String value; 45 46 47 //-----------/ 48 //- Methods -/ 49 //-----------/ 50 51 /** 52 * Method clone. 53 * 54 * @return ActivationProperty 55 */ 56 public ActivationProperty clone() 57 { 58 try 59 { 60 ActivationProperty copy = (ActivationProperty) super.clone(); 61 62 return copy; 63 } 64 catch ( java.lang.Exception ex ) 65 { 66 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 67 + " does not support clone()" ).initCause( ex ); 68 } 69 } //-- ActivationProperty clone() 70 71 /** 72 * Get the name of the property to be used to activate a 73 * profile. 74 * 75 * @return String 76 */ 77 public String getName() 78 { 79 return this.name; 80 } //-- String getName() 81 82 /** 83 * Get the value of the property to be used to activate a 84 * profile. 85 * 86 * @return String 87 */ 88 public String getValue() 89 { 90 return this.value; 91 } //-- String getValue() 92 93 /** 94 * Set the name of the property to be used to activate a 95 * profile. 96 * 97 * @param name 98 */ 99 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 }