org.apache.maven.plugin.doap.options
Class DoapArtifact

java.lang.Object
  extended by org.apache.maven.plugin.doap.options.DoapArtifact
All Implemented Interfaces:
java.io.Serializable

public class DoapArtifact
extends java.lang.Object
implements java.io.Serializable

An Maven artifact object used by DOAP.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
DoapArtifact()
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Method equals.
 java.lang.String getArtifactId()
          Get the artifact id of the Maven artifact.
 java.lang.String getDoapFileName()
          Get the path of the DOAP file that will be generated, no notion of path.
 java.lang.String getGroupId()
          Get the id of the group of the Maven artifact.
 java.lang.String getVersion()
          Get the version of the Maven artifact.
 int hashCode()
          Method hashCode.
 void setArtifactId(java.lang.String artifactId)
          Set the artifact id of the Maven artifact.
 void setDoapFileName(java.lang.String doapFileName)
          Set the name of the DOAP file that will be generated, no notion of path.
 void setGroupId(java.lang.String groupId)
          Set the id of the group of the Maven artifact.
 void setVersion(java.lang.String version)
          Set the version of the Maven artifact.
 java.lang.String toConfiguration()
           
 java.lang.String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoapArtifact

public DoapArtifact()
Method Detail

equals

public boolean equals(java.lang.Object other)
Method equals.

Overrides:
equals in class java.lang.Object
Parameters:
other -
Returns:
boolean

getArtifactId

public java.lang.String getArtifactId()
Get the artifact id of the Maven artifact.

Returns:
String

getGroupId

public java.lang.String getGroupId()
Get the id of the group of the Maven artifact.

Returns:
String

getVersion

public java.lang.String getVersion()
Get the version of the Maven artifact.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class java.lang.Object
Returns:
int

setArtifactId

public void setArtifactId(java.lang.String artifactId)
Set the artifact id of the Maven artifact.

Parameters:
artifactId -

setDoapFileName

public void setDoapFileName(java.lang.String doapFileName)
Set the name of the DOAP file that will be generated, no notion of path.

Parameters:
doapFileName -

setGroupId

public void setGroupId(java.lang.String groupId)
Set the id of the group of the Maven artifact.

Parameters:
groupId -

setVersion

public void setVersion(java.lang.String version)
Set the version of the Maven artifact.

Parameters:
version -

toString

public java.lang.String toString()
Method toString.

Overrides:
toString in class java.lang.Object
Returns:
String

getDoapFileName

public java.lang.String getDoapFileName()
Get the path of the DOAP file that will be generated, no notion of path.
If not specified, return "doap_" + this.artifactId + ".rdf"

Returns:
String

toConfiguration

public java.lang.String toConfiguration()
Returns:
String the configuration of this class.


Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.