de.matthias_burbach.deputy.core.project
Class ProjectQualifierImpl

java.lang.Object
  extended byde.matthias_burbach.deputy.core.project.ProjectQualifierImpl
All Implemented Interfaces:
ProjectQualifier

public class ProjectQualifierImpl
extends java.lang.Object
implements ProjectQualifier

Author:
Matthias Burbach

Constructor Summary
ProjectQualifierImpl()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           Note: Does not use the group id but only the artifact id and the version to decide equality.
 java.lang.String getArtifactId()
           
 java.lang.String getGroupId()
           
 java.lang.String getVersion()
           
 int hashCode()
          
 void setArtifactId(java.lang.String artifactId)
           
 void setGroupId(java.lang.String groupId)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectQualifierImpl

public ProjectQualifierImpl()
Method Detail

getGroupId

public java.lang.String getGroupId()
Specified by:
getGroupId in interface ProjectQualifier
Returns:
The group id of the project.

setGroupId

public void setGroupId(java.lang.String groupId)
Parameters:
groupId - The group id of the project.

getArtifactId

public java.lang.String getArtifactId()
Specified by:
getArtifactId in interface ProjectQualifier
Returns:
The artifact id of the project.

setArtifactId

public void setArtifactId(java.lang.String artifactId)
Parameters:
artifactId - The artifact id of the project.

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface ProjectQualifier
Returns:
The version of the project.

setVersion

public void setVersion(java.lang.String version)
Parameters:
version - The version of the project.

equals

public boolean equals(java.lang.Object object)
Note: Does not use the group id but only the artifact id and the version to decide equality. This is because the group id is not always available and it is assumed that the artifact id and the version identify a project uniquely.


hashCode

public int hashCode()



Copyright © 2005-2007 . All Rights Reserved.