Liferay 6.1.2-ce-ga3

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 moduleId)

ModuleId

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

getInstance

public static ModuleId getInstance(String moduleId)

toString

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

equals

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

getArtifactId

public String getArtifactId()

getArtifactPath

public String getArtifactPath()

getArtifactWARName

public String getArtifactWARName()

getGroupId

public String getGroupId()

getPackageId

public String getPackageId()

getType

public String getType()

getVersion

public String getVersion()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isLaterVersionThan

public boolean isLaterVersionThan(String version)

isPreviousVersionThan

public boolean isPreviousVersionThan(String version)

isSameVersionAs

public boolean isSameVersionAs(String version)

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.1.2-ce-ga3