Liferay 6.0.5

com.liferay.portal.plugin
Class ModuleId

java.lang.Object
  extended by com.liferay.portal.plugin.ModuleId
All Implemented Interfaces:
Serializable

public class ModuleId
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected ModuleId(String moduleId)
           
protected ModuleId(String groupId, String artifactId, Version pluginVersion, String type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getArtifactId()
           
 String getArtifactPath()
           
 String getArtifactWARName()
           
 String getGroupId()
           
static ModuleId getInstance(String moduleId)
           
 String getPackageId()
           
 String getType()
           
 String getVersion()
           
 int hashCode()
           
 boolean isLaterVersionThan(String version)
           
 boolean isPreviousVersionThan(String version)
           
 boolean isSameVersionAs(String version)
           
 String toString()
           
static String toString(String groupId, String artifactId, String version, String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleId

protected ModuleId(String groupId,
                   String artifactId,
                   Version pluginVersion,
                   String type)

ModuleId

protected ModuleId(String moduleId)
Method Detail

getInstance

public static ModuleId getInstance(String moduleId)

toString

public static String toString(String groupId,
                              String artifactId,
                              String version,
                              String type)

getGroupId

public String getGroupId()

getArtifactId

public String getArtifactId()

getPackageId

public String getPackageId()

getVersion

public String getVersion()

getType

public String getType()

getArtifactPath

public String getArtifactPath()

getArtifactWARName

public String getArtifactWARName()

isLaterVersionThan

public boolean isLaterVersionThan(String version)

isPreviousVersionThan

public boolean isPreviousVersionThan(String version)

isSameVersionAs

public boolean isSameVersionAs(String version)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.0.5