All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shaded.org.apache.maven.settings.IdentifiableBase Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.8.1,
// any modifications will be overwritten.
// ==============================================================

package shaded.shaded.org.apache.maven.settings;

/**
 * 
 *         
 *         Base class for Mirror,
 * Profile, Proxy and
 * Server.
 *         
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class IdentifiableBase
    extends TrackableBase
    implements java.io.Serializable, java.lang.Cloneable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Field id.
     */
    private String id = "default";


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Method clone.
     * 
     * @return IdentifiableBase
     */
    public IdentifiableBase clone()
    {
        try
        {
            IdentifiableBase copy = (IdentifiableBase) super.clone();

            return copy;
        }
        catch ( java.lang.Exception ex )
        {
            throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
                + " does not support clone()" ).initCause( ex );
        }
    } //-- IdentifiableBase clone()

    /**
     * Get the id field.
     * 
     * @return String
     */
    public String getId()
    {
        return this.id;
    } //-- String getId()

    /**
     * Set the id field.
     * 
     * @param id
     */
    public void setId( String id )
    {
        this.id = id;
    } //-- void setId( String )

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy