org.fedoraproject.xmvn.config.Artifact Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmvn-api Show documentation
Show all versions of xmvn-api Show documentation
This module contains public interface for functionality
implemented by XMvn Core.
The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.4.0,
// any modifications will be overwritten.
// ==============================================================
package org.fedoraproject.xmvn.config;
/**
* Identifier of Maven artifact.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Artifact
implements java.io.Serializable, java.lang.Cloneable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Group ID of the artifact.
*/
private String groupId = "";
/**
* Artifact ID of the artifact.
*/
private String artifactId = "";
/**
* Version of the artifact.
*/
private String version = "";
/**
* Classifier of the artifact.
*/
private String classifier = "";
/**
* Maven stereotype of the artifact.
*/
private String stereotype = "";
/**
* Extension of the artifact.
*/
private String extension = "";
//-----------/
//- Methods -/
//-----------/
/**
* Method clone.
*
* @return Artifact
*/
public Artifact clone()
{
try
{
Artifact copy = (Artifact) 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 );
}
} //-- Artifact clone()
/**
* Get artifact ID of the artifact.
*
* @return String
*/
public String getArtifactId()
{
return this.artifactId;
} //-- String getArtifactId()
/**
* Get classifier of the artifact.
*
* @return String
*/
public String getClassifier()
{
return this.classifier;
} //-- String getClassifier()
/**
* Get extension of the artifact.
*
* @return String
*/
public String getExtension()
{
return this.extension;
} //-- String getExtension()
/**
* Get group ID of the artifact.
*
* @return String
*/
public String getGroupId()
{
return this.groupId;
} //-- String getGroupId()
/**
* Get maven stereotype of the artifact.
*
* @return String
*/
public String getStereotype()
{
return this.stereotype;
} //-- String getStereotype()
/**
* Get version of the artifact.
*
* @return String
*/
public String getVersion()
{
return this.version;
} //-- String getVersion()
/**
* Set artifact ID of the artifact.
*
* @param artifactId a artifactId object.
*/
public void setArtifactId( String artifactId )
{
this.artifactId = artifactId;
} //-- void setArtifactId( String )
/**
* Set classifier of the artifact.
*
* @param classifier a classifier object.
*/
public void setClassifier( String classifier )
{
this.classifier = classifier;
} //-- void setClassifier( String )
/**
* Set extension of the artifact.
*
* @param extension a extension object.
*/
public void setExtension( String extension )
{
this.extension = extension;
} //-- void setExtension( String )
/**
* Set group ID of the artifact.
*
* @param groupId a groupId object.
*/
public void setGroupId( String groupId )
{
this.groupId = groupId;
} //-- void setGroupId( String )
/**
* Set maven stereotype of the artifact.
*
* @param stereotype a stereotype object.
*/
public void setStereotype( String stereotype )
{
this.stereotype = stereotype;
} //-- void setStereotype( String )
/**
* Set version of the artifact.
*
* @param version a version object.
*/
public void setVersion( String version )
{
this.version = version;
} //-- void setVersion( String )
}