Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IdentifiableBase |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-03-28 16:10:29, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.settings; | |
9 | ||
10 | /** | |
11 | * | |
12 | * | |
13 | * Base class for <code>Mirror</code>, | |
14 | * <code>Profile</code>, <code>Proxy</code> and | |
15 | * <code>Server</code>. | |
16 | * | |
17 | * | |
18 | * @version $Revision$ $Date$ | |
19 | */ | |
20 | 2 | public class IdentifiableBase |
21 | extends TrackableBase | |
22 | implements java.io.Serializable | |
23 | { | |
24 | ||
25 | //--------------------------/ | |
26 | //- Class/Member Variables -/ | |
27 | //--------------------------/ | |
28 | ||
29 | /** | |
30 | * Field id. | |
31 | */ | |
32 | 2 | private String id = "default"; |
33 | ||
34 | ||
35 | //-----------/ | |
36 | //- Methods -/ | |
37 | //-----------/ | |
38 | ||
39 | /** | |
40 | * Get the id field. | |
41 | * | |
42 | * @return String | |
43 | */ | |
44 | public String getId() | |
45 | { | |
46 | 2 | return this.id; |
47 | } //-- String getId() | |
48 | ||
49 | /** | |
50 | * Set the id field. | |
51 | * | |
52 | * @param id | |
53 | */ | |
54 | public void setId( String id ) | |
55 | { | |
56 | 0 | this.id = id; |
57 | 0 | } //-- void setId( String ) |
58 | ||
59 | ||
60 | } |