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.ObjectIdentifies 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 booleanequals(java.lang.Object obj)java.lang.StringgetExt()ModuleIdgetModuleId()java.lang.StringgetName()java.lang.StringgetShortDescription()java.lang.StringgetType()inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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.
-
-