de.matthias_burbach.deputy.core.project
Class ProjectQualifierImpl
java.lang.Object
de.matthias_burbach.deputy.core.project.ProjectQualifierImpl
- All Implemented Interfaces:
- ProjectQualifier
- public class ProjectQualifierImpl
- extends java.lang.Object
- implements ProjectQualifier
- Author:
- Matthias Burbach
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ProjectQualifierImpl
public ProjectQualifierImpl()
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.