1 /*
2 * $Id$
3 */
4
5 package org.apache.maven.model;
6
7 //---------------------------------/
8 //- Imported classes and packages -/
9 //---------------------------------/
10
11 import java.util.Date;
12
13 /**
14 * Information about one of the committers on this project.
15 *
16 * @version $Revision$ $Date$
17 */
18 public class Developer extends Contributor
19 implements java.io.Serializable
20 {
21
22
23 //--------------------------/
24 //- Class/Member Variables -/
25 //--------------------------/
26
27 /**
28 * The unique ID of the developer in the SCM.
29 */
30 private String id;
31
32
33 //-----------/
34 //- Methods -/
35 //-----------/
36
37 /**
38 * Get the unique ID of the developer in the SCM.
39 *
40 * @return String
41 */
42 public String getId()
43 {
44 return this.id;
45 } //-- String getId()
46
47 /**
48 * Set the unique ID of the developer in the SCM.
49 *
50 * @param id
51 */
52 public void setId( String id )
53 {
54 this.id = id;
55 } //-- void setId( String )
56
57
58 private String modelEncoding = "UTF-8";
59
60 /**
61 * Set an encoding used for reading/writing the model.
62 *
63 * @param modelEncoding the encoding used when reading/writing the model.
64 */
65 public void setModelEncoding( String modelEncoding )
66 {
67 this.modelEncoding = modelEncoding;
68 }
69
70 /**
71 * @return the current encoding used when reading/writing this model.
72 */
73 public String getModelEncoding()
74 {
75 return modelEncoding;
76 }
77 }