001    /*
002     =================== DO NOT EDIT THIS FILE ====================
003     Generated by Modello 1.4.1 on 2013-02-24 03:31:03,
004     any modifications will be overwritten.
005     ==============================================================
006     */
007    
008    package org.apache.maven.settings;
009    
010    /**
011     * 
012     *         
013     *         Base class for <code>Mirror</code>,
014     * <code>Profile</code>, <code>Proxy</code> and
015     * <code>Server</code>.
016     *         
017     * 
018     * @version $Revision$ $Date$
019     */
020    @SuppressWarnings( "all" )
021    public class IdentifiableBase
022        extends TrackableBase
023        implements java.io.Serializable, java.lang.Cloneable
024    {
025    
026          //--------------------------/
027         //- Class/Member Variables -/
028        //--------------------------/
029    
030        /**
031         * Field id.
032         */
033        private String id = "default";
034    
035    
036          //-----------/
037         //- Methods -/
038        //-----------/
039    
040        /**
041         * Method clone.
042         * 
043         * @return IdentifiableBase
044         */
045        public IdentifiableBase clone()
046        {
047            try
048            {
049                IdentifiableBase copy = (IdentifiableBase) super.clone();
050    
051                return copy;
052            }
053            catch ( java.lang.Exception ex )
054            {
055                throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
056                    + " does not support clone()" ).initCause( ex );
057            }
058        } //-- IdentifiableBase clone()
059    
060        /**
061         * Get the id field.
062         * 
063         * @return String
064         */
065        public String getId()
066        {
067            return this.id;
068        } //-- String getId()
069    
070        /**
071         * Set the id field.
072         * 
073         * @param id
074         */
075        public void setId( String id )
076        {
077            this.id = id;
078        } //-- void setId( String )
079    
080    }