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