Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Relocation |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-09-09 03:04:48, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.model; | |
9 | ||
10 | /** | |
11 | * Describes where an artifact has moved to. If any of the values | |
12 | * are omitted, it is | |
13 | * assumed to be the same as it was before. | |
14 | * | |
15 | * @version $Revision$ $Date$ | |
16 | */ | |
17 | 6 | public class Relocation |
18 | implements java.io.Serializable | |
19 | { | |
20 | ||
21 | //--------------------------/ | |
22 | //- Class/Member Variables -/ | |
23 | //--------------------------/ | |
24 | ||
25 | /** | |
26 | * The group ID the artifact has moved to. | |
27 | */ | |
28 | private String groupId; | |
29 | ||
30 | /** | |
31 | * The new artifact ID of the artifact. | |
32 | */ | |
33 | private String artifactId; | |
34 | ||
35 | /** | |
36 | * The new version of the artifact. | |
37 | */ | |
38 | private String version; | |
39 | ||
40 | /** | |
41 | * An additional message to show the user about the move, such | |
42 | * as the reason. | |
43 | */ | |
44 | private String message; | |
45 | ||
46 | ||
47 | //-----------/ | |
48 | //- Methods -/ | |
49 | //-----------/ | |
50 | ||
51 | /** | |
52 | * Get the new artifact ID of the artifact. | |
53 | * | |
54 | * @return String | |
55 | */ | |
56 | public String getArtifactId() | |
57 | { | |
58 | 0 | return this.artifactId; |
59 | } //-- String getArtifactId() | |
60 | ||
61 | /** | |
62 | * Get the group ID the artifact has moved to. | |
63 | * | |
64 | * @return String | |
65 | */ | |
66 | public String getGroupId() | |
67 | { | |
68 | 0 | return this.groupId; |
69 | } //-- String getGroupId() | |
70 | ||
71 | /** | |
72 | * Get an additional message to show the user about the move, | |
73 | * such as the reason. | |
74 | * | |
75 | * @return String | |
76 | */ | |
77 | public String getMessage() | |
78 | { | |
79 | 0 | return this.message; |
80 | } //-- String getMessage() | |
81 | ||
82 | /** | |
83 | * Get the new version of the artifact. | |
84 | * | |
85 | * @return String | |
86 | */ | |
87 | public String getVersion() | |
88 | { | |
89 | 0 | return this.version; |
90 | } //-- String getVersion() | |
91 | ||
92 | /** | |
93 | * Set the new artifact ID of the artifact. | |
94 | * | |
95 | * @param artifactId | |
96 | */ | |
97 | public void setArtifactId( String artifactId ) | |
98 | { | |
99 | 0 | this.artifactId = artifactId; |
100 | 0 | } //-- void setArtifactId( String ) |
101 | ||
102 | /** | |
103 | * Set the group ID the artifact has moved to. | |
104 | * | |
105 | * @param groupId | |
106 | */ | |
107 | public void setGroupId( String groupId ) | |
108 | { | |
109 | 0 | this.groupId = groupId; |
110 | 0 | } //-- void setGroupId( String ) |
111 | ||
112 | /** | |
113 | * Set an additional message to show the user about the move, | |
114 | * such as the reason. | |
115 | * | |
116 | * @param message | |
117 | */ | |
118 | public void setMessage( String message ) | |
119 | { | |
120 | 0 | this.message = message; |
121 | 0 | } //-- void setMessage( String ) |
122 | ||
123 | /** | |
124 | * Set the new version of the artifact. | |
125 | * | |
126 | * @param version | |
127 | */ | |
128 | public void setVersion( String version ) | |
129 | { | |
130 | 0 | this.version = version; |
131 | 0 | } //-- void setVersion( String ) |
132 | ||
133 | ||
134 | } |