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