org.apache.ivy.core.module.id

Class ArtifactId

public class ArtifactId extends Object

Identifies an artifact in a module, without revision information

See Also: org.apache.ivy.core.module.id

Constructor Summary
ArtifactId(ModuleId mid, String name, String type, String ext)
Method Summary
booleanequals(Object obj)
StringgetExt()
ModuleIdgetModuleId()
StringgetName()
StringgetShortDescription()
StringgetType()
inthashCode()
StringtoString()

Constructor Detail

ArtifactId

public ArtifactId(ModuleId mid, String name, String type, 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.

Method Detail

equals

public boolean equals(Object obj)
{@inheritDoc }

getExt

public String getExt()

Returns: Returns the ext.

getModuleId

public ModuleId getModuleId()

Returns: Returns the module id.

getName

public String getName()

Returns: Returns the name.

getShortDescription

public String getShortDescription()

getType

public String getType()

Returns: Returns the type.

hashCode

public int hashCode()
{@inheritDoc }

toString

public String toString()
{@inheritDoc }