Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ChangesDocument |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-12-03 19:52:14, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.plugins.changes.model; | |
9 | ||
10 | /** | |
11 | * | |
12 | * Record every release with their subsequent changes. | |
13 | * | |
14 | * | |
15 | * @version $Revision$ $Date$ | |
16 | */ | |
17 | 2 | public class ChangesDocument |
18 | implements java.io.Serializable | |
19 | { | |
20 | ||
21 | //--------------------------/ | |
22 | //- Class/Member Variables -/ | |
23 | //--------------------------/ | |
24 | ||
25 | /** | |
26 | * | |
27 | * Contains the properties of this document. | |
28 | * | |
29 | */ | |
30 | private Properties properties; | |
31 | ||
32 | /** | |
33 | * | |
34 | * Contains the releases of this project with the | |
35 | * actions taken | |
36 | * for each of the releases. | |
37 | * | |
38 | */ | |
39 | private Body body; | |
40 | ||
41 | /** | |
42 | * Field modelEncoding. | |
43 | */ | |
44 | 2 | private String modelEncoding = "UTF-8"; |
45 | ||
46 | ||
47 | //-----------/ | |
48 | //- Methods -/ | |
49 | //-----------/ | |
50 | ||
51 | /** | |
52 | * Get contains the releases of this project with the actions | |
53 | * taken | |
54 | * for each of the releases. | |
55 | * | |
56 | * @return Body | |
57 | */ | |
58 | public Body getBody() | |
59 | { | |
60 | 4 | return this.body; |
61 | } //-- Body getBody() | |
62 | ||
63 | /** | |
64 | * Method getModelEncoding. | |
65 | * | |
66 | * @return the current encoding used when reading/writing this | |
67 | * model | |
68 | */ | |
69 | public String getModelEncoding() | |
70 | { | |
71 | 0 | return modelEncoding; |
72 | } //-- String getModelEncoding() | |
73 | ||
74 | /** | |
75 | * Get contains the properties of this document. | |
76 | * | |
77 | * @return Properties | |
78 | */ | |
79 | public Properties getProperties() | |
80 | { | |
81 | 2 | return this.properties; |
82 | } //-- Properties getProperties() | |
83 | ||
84 | /** | |
85 | * Set contains the releases of this project with the actions | |
86 | * taken | |
87 | * for each of the releases. | |
88 | * | |
89 | * @param body | |
90 | */ | |
91 | public void setBody( Body body ) | |
92 | { | |
93 | 2 | this.body = body; |
94 | 2 | } //-- void setBody( Body ) |
95 | ||
96 | /** | |
97 | * Set an encoding used for reading/writing the model. | |
98 | * | |
99 | * @param modelEncoding | |
100 | */ | |
101 | public void setModelEncoding( String modelEncoding ) | |
102 | { | |
103 | 0 | this.modelEncoding = modelEncoding; |
104 | 0 | } //-- void setModelEncoding( String ) |
105 | ||
106 | /** | |
107 | * Set contains the properties of this document. | |
108 | * | |
109 | * @param properties | |
110 | */ | |
111 | public void setProperties( Properties properties ) | |
112 | { | |
113 | 2 | this.properties = properties; |
114 | 2 | } //-- void setProperties( Properties ) |
115 | ||
116 | ||
117 | } |