net.anotheria.util.maven.MavenVersion Maven / Gradle / Ivy
package net.anotheria.util.maven;
import java.io.Serializable;
/**
* MavenVersion class.
*
* @author another
* @version $Id: $Id
*/
public class MavenVersion implements Serializable{
private String fileTimestamp;
private String version;
private String group;
private String artifact;
/** {@inheritDoc} */
@Override public String toString(){
return group + '/' + artifact + ' ' + version +" file: "+ fileTimestamp;
}
/**
* Getter for the field fileTimestamp
.
*
* @return a {@link java.lang.String} object.
*/
public String getFileTimestamp() {
return fileTimestamp;
}
void setFileTimestamp(String date) {
this.fileTimestamp = date;
}
/**
* Getter for the field version
.
*
* @return a {@link java.lang.String} object.
*/
public String getVersion() {
return version;
}
void setVersion(String version) {
this.version = version;
}
/**
* Getter for the field group
.
*
* @return a {@link java.lang.String} object.
*/
public String getGroup() {
return group;
}
void setGroup(String group) {
this.group = group;
}
/**
* Getter for the field artifact
.
*
* @return a {@link java.lang.String} object.
*/
public String getArtifact() {
return artifact;
}
void setArtifact(String artifact) {
this.artifact = artifact;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy