Package 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
Constructors Constructor Description ArtifactId(ModuleId mid, java.lang.String name, java.lang.String type, java.lang.String ext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getExt()
ModuleId
getModuleId()
java.lang.String
getName()
java.lang.String
getShortDescription()
java.lang.String
getType()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
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.ext
- The name extension of the artifact.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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.
-
-