1
2
3
4
5
6
7
8 package org.apache.maven.settings;
9
10
11
12
13
14
15
16
17
18
19
20 @SuppressWarnings( "all" )
21 public class IdentifiableBase
22 extends TrackableBase
23 implements java.io.Serializable, java.lang.Cloneable
24 {
25
26
27
28
29
30
31
32
33 private String id = "default";
34
35
36
37
38
39
40
41
42
43
44
45 public IdentifiableBase clone()
46 {
47 try
48 {
49 IdentifiableBase copy = (IdentifiableBase) super.clone();
50
51 return copy;
52 }
53 catch ( java.lang.Exception ex )
54 {
55 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
56 + " does not support clone()" ).initCause( ex );
57 }
58 }
59
60
61
62
63
64
65 public String getId()
66 {
67 return this.id;
68 }
69
70
71
72
73
74
75 public void setId( String id )
76 {
77 this.id = id;
78 }
79
80 }