Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ArchetypeRegistry |
|
| 1.2;1.2 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.4.1 on 2011-11-23 07:29:01, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.archetype.registry; | |
9 | ||
10 | /** | |
11 | * Class ArchetypeRegistry. | |
12 | * | |
13 | * @version $Revision$ $Date$ | |
14 | */ | |
15 | @SuppressWarnings( "all" ) | |
16 | 0 | public class ArchetypeRegistry |
17 | implements java.io.Serializable | |
18 | { | |
19 | ||
20 | //--------------------------/ | |
21 | //- Class/Member Variables -/ | |
22 | //--------------------------/ | |
23 | ||
24 | /** | |
25 | * Field Languages. | |
26 | */ | |
27 | private java.util.List<String> Languages; | |
28 | ||
29 | /** | |
30 | * Field FilteredExtensions. | |
31 | */ | |
32 | private java.util.List<String> FilteredExtensions; | |
33 | ||
34 | /** | |
35 | * Field modelEncoding. | |
36 | */ | |
37 | 0 | private String modelEncoding = "UTF-8"; |
38 | ||
39 | ||
40 | //-----------/ | |
41 | //- Methods -/ | |
42 | //-----------/ | |
43 | ||
44 | /** | |
45 | * Method addFilteredExtension. | |
46 | * | |
47 | * @param string | |
48 | */ | |
49 | public void addFilteredExtension( String string ) | |
50 | { | |
51 | 0 | getFilteredExtensions().add( string ); |
52 | 0 | } //-- void addFilteredExtension( String ) |
53 | ||
54 | /** | |
55 | * Method addLanguage. | |
56 | * | |
57 | * @param string | |
58 | */ | |
59 | public void addLanguage( String string ) | |
60 | { | |
61 | 0 | getLanguages().add( string ); |
62 | 0 | } //-- void addLanguage( String ) |
63 | ||
64 | /** | |
65 | * Method getFilteredExtensions. | |
66 | * | |
67 | * @return List | |
68 | */ | |
69 | public java.util.List<String> getFilteredExtensions() | |
70 | { | |
71 | 0 | if ( this.FilteredExtensions == null ) |
72 | { | |
73 | 0 | this.FilteredExtensions = new java.util.ArrayList<String>(); |
74 | } | |
75 | ||
76 | 0 | return this.FilteredExtensions; |
77 | } //-- java.util.List<String> getFilteredExtensions() | |
78 | ||
79 | /** | |
80 | * Method getLanguages. | |
81 | * | |
82 | * @return List | |
83 | */ | |
84 | public java.util.List<String> getLanguages() | |
85 | { | |
86 | 0 | if ( this.Languages == null ) |
87 | { | |
88 | 0 | this.Languages = new java.util.ArrayList<String>(); |
89 | } | |
90 | ||
91 | 0 | return this.Languages; |
92 | } //-- java.util.List<String> getLanguages() | |
93 | ||
94 | /** | |
95 | * Get the modelEncoding field. | |
96 | * | |
97 | * @return String | |
98 | */ | |
99 | public String getModelEncoding() | |
100 | { | |
101 | 0 | return this.modelEncoding; |
102 | } //-- String getModelEncoding() | |
103 | ||
104 | /** | |
105 | * Method removeFilteredExtension. | |
106 | * | |
107 | * @param string | |
108 | */ | |
109 | public void removeFilteredExtension( String string ) | |
110 | { | |
111 | 0 | getFilteredExtensions().remove( string ); |
112 | 0 | } //-- void removeFilteredExtension( String ) |
113 | ||
114 | /** | |
115 | * Method removeLanguage. | |
116 | * | |
117 | * @param string | |
118 | */ | |
119 | public void removeLanguage( String string ) | |
120 | { | |
121 | 0 | getLanguages().remove( string ); |
122 | 0 | } //-- void removeLanguage( String ) |
123 | ||
124 | /** | |
125 | * Set the FilteredExtensions field. | |
126 | * | |
127 | * @param FilteredExtensions | |
128 | */ | |
129 | public void setFilteredExtensions( java.util.List<String> FilteredExtensions ) | |
130 | { | |
131 | 0 | this.FilteredExtensions = FilteredExtensions; |
132 | 0 | } //-- void setFilteredExtensions( java.util.List ) |
133 | ||
134 | /** | |
135 | * Set the Languages field. | |
136 | * | |
137 | * @param Languages | |
138 | */ | |
139 | public void setLanguages( java.util.List<String> Languages ) | |
140 | { | |
141 | 0 | this.Languages = Languages; |
142 | 0 | } //-- void setLanguages( java.util.List ) |
143 | ||
144 | /** | |
145 | * Set the modelEncoding field. | |
146 | * | |
147 | * @param modelEncoding | |
148 | */ | |
149 | public void setModelEncoding( String modelEncoding ) | |
150 | { | |
151 | 0 | this.modelEncoding = modelEncoding; |
152 | 0 | } //-- void setModelEncoding( String ) |
153 | ||
154 | } |