org.apache.ivy.core.module.id
Class ArtifactId
java.lang.Object
org.apache.ivy.core.module.id.ArtifactId
public class ArtifactId
- extends java.lang.Object
Identifies an artifact in a module, without revision information
- See Also:
- org.apache.ivy.core.module.id
Constructor Summary |
ArtifactId(ModuleId mid,
java.lang.String name,
java.lang.String type,
java.lang.String ext)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ArtifactId
public ArtifactId(ModuleId mid,
java.lang.String name,
java.lang.String type,
java.lang.String ext)
- Parameters:
mid
- The ModuleId, which is the base of this artifact.name
- The name of the artifact.type
- The type of the artifact.
equals
public boolean equals(java.lang.Object obj)
-
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
getShortDescription
public java.lang.String getShortDescription()
getModuleId
public ModuleId getModuleId()
- Returns:
- Returns the module id.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
getExt
public java.lang.String getExt()
- Returns:
- Returns the ext.