org.fedoraproject.xmvn.metadata.DependencyExclusion 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.metadata;
/**
* Description of artifact excluded from dependency tree.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class DependencyExclusion
implements java.io.Serializable, java.lang.Cloneable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Group ID of the excluded artifact.
*/
private String groupId;
/**
* Artifact ID of the excluded artifact.
*/
private String artifactId;
//-----------/
//- Methods -/
//-----------/
/**
* Method clone.
*
* @return DependencyExclusion
*/
public DependencyExclusion clone()
{
try
{
DependencyExclusion copy = (DependencyExclusion) 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 );
}
} //-- DependencyExclusion clone()
/**
* Get artifact ID of the excluded artifact.
*
* @return String
*/
public String getArtifactId()
{
return this.artifactId;
} //-- String getArtifactId()
/**
* Get group ID of the excluded artifact.
*
* @return String
*/
public String getGroupId()
{
return this.groupId;
} //-- String getGroupId()
/**
* Set artifact ID of the excluded artifact.
*
* @param artifactId a artifactId object.
*/
public void setArtifactId( String artifactId )
{
this.artifactId = artifactId;
} //-- void setArtifactId( String )
/**
* Set group ID of the excluded artifact.
*
* @param groupId a groupId object.
*/
public void setGroupId( String groupId )
{
this.groupId = groupId;
} //-- void setGroupId( String )
}