View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.11,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.settings;
7   
8   /**
9    * 
10   *         
11   *         Base class for <code>Mirror</code>,
12   * <code>Profile</code>, <code>Proxy</code> and
13   * <code>Server</code>.
14   *         
15   * 
16   * @version $Revision$ $Date$
17   */
18  @SuppressWarnings( "all" )
19  public class IdentifiableBase
20      extends TrackableBase
21      implements java.io.Serializable, java.lang.Cloneable
22  {
23  
24        //--------------------------/
25       //- Class/Member Variables -/
26      //--------------------------/
27  
28      /**
29       * Field id.
30       */
31      private String id = "default";
32  
33  
34        //-----------/
35       //- Methods -/
36      //-----------/
37  
38      /**
39       * Method clone.
40       * 
41       * @return IdentifiableBase
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      } //-- IdentifiableBase clone()
57  
58      /**
59       * Get the id field.
60       * 
61       * @return String
62       */
63      public String getId()
64      {
65          return this.id;
66      } //-- String getId()
67  
68      /**
69       * Set the id field.
70       * 
71       * @param id
72       */
73      public void setId( String id )
74      {
75          this.id = id;
76      } //-- void setId( String )
77  
78  }