1 // =================== DO NOT EDIT THIS FILE ==================== 2 // Generated by Modello 1.8.3, 3 // any modifications will be overwritten. 4 // ============================================================== 5 6 package org.apache.maven.artifact.repository.metadata; 7 8 /** 9 * Versioning information for a sub-artifact of the current 10 * snapshot artifact. 11 * 12 * @version $Revision: 965443 $ $Date: 2015-09-14 22:18:52 +0000 (Mon, 14 Sep 2015) $ 13 */ 14 @SuppressWarnings( "all" ) 15 public class SnapshotVersion 16 implements java.io.Serializable, java.lang.Cloneable 17 { 18 19 //--------------------------/ 20 //- Class/Member Variables -/ 21 //--------------------------/ 22 23 /** 24 * The classifier of the sub-artifact. 25 */ 26 private String classifier = ""; 27 28 /** 29 * The file extension of thesub-artifact. 30 */ 31 private String extension; 32 33 /** 34 * The resolved snapshot version of the sub-artifact. 35 */ 36 private String version; 37 38 /** 39 * The timestamp when this version information was last 40 * updated. The timestamp is expressed using UTC in the format 41 * yyyyMMddHHmmss. 42 */ 43 private String updated; 44 45 46 //-----------/ 47 //- Methods -/ 48 //-----------/ 49 50 /** 51 * Method clone. 52 * 53 * @return SnapshotVersion 54 */ 55 public SnapshotVersion clone() 56 { 57 try 58 { 59 SnapshotVersion copy = (SnapshotVersion) super.clone(); 60 61 return copy; 62 } 63 catch ( java.lang.Exception ex ) 64 { 65 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 66 + " does not support clone()" ).initCause( ex ); 67 } 68 } //-- SnapshotVersion clone() 69 70 /** 71 * Get the classifier of the sub-artifact. 72 * 73 * @return String 74 */ 75 public String getClassifier() 76 { 77 return this.classifier; 78 } //-- String getClassifier() 79 80 /** 81 * Get the file extension of thesub-artifact. 82 * 83 * @return String 84 */ 85 public String getExtension() 86 { 87 return this.extension; 88 } //-- String getExtension() 89 90 /** 91 * Get the timestamp when this version information was last 92 * updated. The timestamp is expressed using UTC in the format 93 * yyyyMMddHHmmss. 94 * 95 * @return String 96 */ 97 public String getUpdated() 98 { 99 return this.updated; 100 } //-- String getUpdated() 101 102 /** 103 * Get the resolved snapshot version of the sub-artifact. 104 * 105 * @return String 106 */ 107 public String getVersion() 108 { 109 return this.version; 110 } //-- String getVersion() 111 112 /** 113 * Set the classifier of the sub-artifact. 114 * 115 * @param classifier 116 */ 117 public void setClassifier( String classifier ) 118 { 119 this.classifier = classifier; 120 } //-- void setClassifier( String ) 121 122 /** 123 * Set the file extension of thesub-artifact. 124 * 125 * @param extension 126 */ 127 public void setExtension( String extension ) 128 { 129 this.extension = extension; 130 } //-- void setExtension( String ) 131 132 /** 133 * Set the timestamp when this version information was last 134 * updated. The timestamp is expressed using UTC in the format 135 * yyyyMMddHHmmss. 136 * 137 * @param updated 138 */ 139 public void setUpdated( String updated ) 140 { 141 this.updated = updated; 142 } //-- void setUpdated( String ) 143 144 /** 145 * Set the resolved snapshot version of the sub-artifact. 146 * 147 * @param version 148 */ 149 public void setVersion( String version ) 150 { 151 this.version = version; 152 } //-- void setVersion( String ) 153 154 }