org.apache.archiva.model
Class ProjectReference

java.lang.Object
  extended by org.apache.archiva.model.ProjectReference
All Implemented Interfaces:
Serializable

public class ProjectReference
extends Object
implements Serializable

A reference to another (unversioned) Project.

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

Field Summary
private  String artifactId
          The Artifact ID of the project reference.
private  String groupId
          The Group ID of the project reference.
private static long serialVersionUID
           
 
Constructor Summary
ProjectReference()
           
 
Method Summary
private static String defaultString(String value)
           
 String getArtifactId()
          Get the Artifact ID of the project reference.
 String getGroupId()
          Get the Group ID of the project reference.
 void setArtifactId(String artifactId)
          Set the Artifact ID of the project reference.
 void setGroupId(String groupId)
          Set the Group ID of the project reference.
static String toKey(ProjectReference reference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupId

private String groupId
The Group ID of the project reference.


artifactId

private String artifactId
The Artifact ID of the project reference.


serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ProjectReference

public ProjectReference()
Method Detail

getArtifactId

public String getArtifactId()
Get the Artifact ID of the project reference.

Returns:
String

getGroupId

public String getGroupId()
Get the Group ID of the project reference.

Returns:
String

setArtifactId

public void setArtifactId(String artifactId)
Set the Artifact ID of the project reference.

Parameters:
artifactId -

setGroupId

public void setGroupId(String groupId)
Set the Group ID of the project reference.

Parameters:
groupId -

defaultString

private static String defaultString(String value)

toKey

public static String toKey(ProjectReference reference)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.