| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RequiredProperty |
|
| 1.0;1 |
| 1 | /* | |
| 2 | =================== DO NOT EDIT THIS FILE ==================== | |
| 3 | Generated by Modello 1.4.1 on 2011-11-23 07:28:26, | |
| 4 | any modifications will be overwritten. | |
| 5 | ============================================================== | |
| 6 | */ | |
| 7 | ||
| 8 | package org.apache.maven.archetype.metadata; | |
| 9 | ||
| 10 | /** | |
| 11 | * Definition of a property required when generating a project from | |
| 12 | * this archetype. | |
| 13 | * | |
| 14 | * @version $Revision$ $Date$ | |
| 15 | */ | |
| 16 | @SuppressWarnings( "all" ) | |
| 17 | 0 | public class RequiredProperty |
| 18 | implements java.io.Serializable | |
| 19 | { | |
| 20 | ||
| 21 | //--------------------------/ | |
| 22 | //- Class/Member Variables -/ | |
| 23 | //--------------------------/ | |
| 24 | ||
| 25 | /** | |
| 26 | * Key value of the property. | |
| 27 | */ | |
| 28 | private String key; | |
| 29 | ||
| 30 | /** | |
| 31 | * Default value of the property. | |
| 32 | */ | |
| 33 | private String defaultValue; | |
| 34 | ||
| 35 | ||
| 36 | //-----------/ | |
| 37 | //- Methods -/ | |
| 38 | //-----------/ | |
| 39 | ||
| 40 | /** | |
| 41 | * Get default value of the property. | |
| 42 | * | |
| 43 | * @return String | |
| 44 | */ | |
| 45 | public String getDefaultValue() | |
| 46 | { | |
| 47 | 0 | return this.defaultValue; |
| 48 | } //-- String getDefaultValue() | |
| 49 | ||
| 50 | /** | |
| 51 | * Get key value of the property. | |
| 52 | * | |
| 53 | * @return String | |
| 54 | */ | |
| 55 | public String getKey() | |
| 56 | { | |
| 57 | 0 | return this.key; |
| 58 | } //-- String getKey() | |
| 59 | ||
| 60 | /** | |
| 61 | * Set default value of the property. | |
| 62 | * | |
| 63 | * @param defaultValue | |
| 64 | */ | |
| 65 | public void setDefaultValue( String defaultValue ) | |
| 66 | { | |
| 67 | 0 | this.defaultValue = defaultValue; |
| 68 | 0 | } //-- void setDefaultValue( String ) |
| 69 | ||
| 70 | /** | |
| 71 | * Set key value of the property. | |
| 72 | * | |
| 73 | * @param key | |
| 74 | */ | |
| 75 | public void setKey( String key ) | |
| 76 | { | |
| 77 | 0 | this.key = key; |
| 78 | 0 | } //-- void setKey( String ) |
| 79 | ||
| 80 | } |