org.apache.archiva.model
Class VersionedReference

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

public class VersionedReference
extends Object
implements Serializable

A reference to another Versioned Project.

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

Field Summary
private  String artifactId
          The Artifact ID of the repository content.
private  String groupId
          The Group ID of the repository content.
private static long serialVersionUID
           
private  String version
          The version of the repository content.
 
Constructor Summary
VersionedReference()
           
 
Method Summary
private static String defaultString(String value)
           
 String getArtifactId()
          Get the Artifact ID of the repository content.
 String getGroupId()
          Get the Group ID of the repository content.
 String getVersion()
          Get the version of the repository content.
 void setArtifactId(String artifactId)
          Set the Artifact ID of the repository content.
 void setGroupId(String groupId)
          Set the Group ID of the repository content.
 void setVersion(String version)
          Set the version of the repository content.
static String toKey(VersionedReference 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 repository content.


artifactId

private String artifactId
The Artifact ID of the repository content.


version

private String version
The version of the repository content.


serialVersionUID

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

VersionedReference

public VersionedReference()
Method Detail

getArtifactId

public String getArtifactId()
Get the Artifact ID of the repository content.

Returns:
String

getGroupId

public String getGroupId()
Get the Group ID of the repository content.

Returns:
String

getVersion

public String getVersion()
Get the version of the repository content.

Returns:
String

setArtifactId

public void setArtifactId(String artifactId)
Set the Artifact ID of the repository content.

Parameters:
artifactId -

setGroupId

public void setGroupId(String groupId)
Set the Group ID of the repository content.

Parameters:
groupId -

setVersion

public void setVersion(String version)
Set the version of the repository content.

Parameters:
version -

defaultString

private static String defaultString(String value)

toKey

public static String toKey(VersionedReference reference)


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