1 /* 2 =================== DO NOT EDIT THIS FILE ==================== 3 Generated by Modello 1.0.1 on 2009-09-09 03:30:24, 4 any modifications will be overwritten. 5 ============================================================== 6 */ 7 8 package org.apache.maven.settings; 9 10 /** 11 * 12 * A download mirror for a given repository. 13 * 14 * 15 * @version $Revision$ $Date$ 16 */ 17 public class Mirror 18 extends IdentifiableBase 19 implements java.io.Serializable 20 { 21 22 //--------------------------/ 23 //- Class/Member Variables -/ 24 //--------------------------/ 25 26 /** 27 * 28 * The server ID of the repository being mirrored, 29 * eg 30 * "central". This MUST NOT match the mirror id. 31 * 32 */ 33 private String mirrorOf; 34 35 /** 36 * 37 * The optional name that describes the mirror. 38 * 39 */ 40 private String name; 41 42 /** 43 * The URL of the mirror repository. 44 */ 45 private String url; 46 47 48 //-----------/ 49 //- Methods -/ 50 //-----------/ 51 52 /** 53 * Get the server ID of the repository being mirrored, eg 54 * "central". This MUST NOT match the mirror id. 55 * 56 * @return String 57 */ 58 public String getMirrorOf() 59 { 60 return this.mirrorOf; 61 } //-- String getMirrorOf() 62 63 /** 64 * Get the optional name that describes the mirror. 65 * 66 * @return String 67 */ 68 public String getName() 69 { 70 return this.name; 71 } //-- String getName() 72 73 /** 74 * Get the URL of the mirror repository. 75 * 76 * @return String 77 */ 78 public String getUrl() 79 { 80 return this.url; 81 } //-- String getUrl() 82 83 /** 84 * Set the server ID of the repository being mirrored, eg 85 * "central". This MUST NOT match the mirror id. 86 * 87 * @param mirrorOf 88 */ 89 public void setMirrorOf( String mirrorOf ) 90 { 91 this.mirrorOf = mirrorOf; 92 } //-- void setMirrorOf( String ) 93 94 /** 95 * Set the optional name that describes the mirror. 96 * 97 * @param name 98 */ 99 public void setName( String name ) 100 { 101 this.name = name; 102 } //-- void setName( String ) 103 104 /** 105 * Set the URL of the mirror repository. 106 * 107 * @param url 108 */ 109 public void setUrl( String url ) 110 { 111 this.url = url; 112 } //-- void setUrl( String ) 113 114 115 }