|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.core.module.id.ModuleId
public class ModuleId
Constructor Summary | |
---|---|
ModuleId(java.lang.String organisation,
java.lang.String name)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
|
static ModuleId |
decode(java.lang.String encoded)
Returns a ModuleId |
java.lang.String |
encodeToString()
Returns the encoded String representing this ModuleId. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Returns the name of the module. |
java.lang.String |
getOrganisation()
Returns the name of the organisation. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModuleId(java.lang.String organisation, java.lang.String name)
organisation
- The organisation which creates the module.name
- The name of the module.Method Detail |
---|
public java.lang.String getName()
public java.lang.String getOrganisation()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public java.lang.String encodeToString()
public static ModuleId decode(java.lang.String encoded)
encoded
-
java.lang.IllegalArgumentException
- If the given String could not be decoded.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |