// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.11,
// any modifications will be overwritten.
// ==============================================================

package org.apache.maven.settings;

Base class for Mirror, Profile, Proxy and Server.
Version:$Revision$ $Date$
/** * * * Base class for <code>Mirror</code>, * <code>Profile</code>, <code>Proxy</code> and * <code>Server</code>. * * * @version $Revision$ $Date$ */
@SuppressWarnings( "all" ) public class IdentifiableBase extends TrackableBase implements java.io.Serializable, java.lang.Cloneable { //--------------------------/ //- Class/Member Variables -/ //--------------------------/
Field id.
/** * Field id. */
private String id = "default"; //-----------/ //- Methods -/ //-----------/
Method clone.
Returns:IdentifiableBase
/** * 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.
Returns:String
/** * Get the id field. * * @return String */
public String getId() { return this.id; } //-- String getId()
Set the id field.
Params:
  • id –
/** * Set the id field. * * @param id */
public void setId( String id ) { this.id = id; } //-- void setId( String ) }