Package com.aquima.interactions.project
Class ModuleID
- java.lang.Object
-
- com.aquima.interactions.project.ModuleID
-
- All Implemented Interfaces:
Serializable
public class ModuleID extends Object implements Serializable
This class is used to identify a Module. NOTE: The module identifier is not the same as an application identifier.- Since:
- 7.1
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
This method will compare the object passed to this method with the application id, and return a boolean indicating whether the object passed exactly identifies the same application.String
getName()
This method returns the name of the application this id represents.Version
getVersion()
This method returns the version of the application this id represents.int
hashCode()
String
toString()
static ModuleID
valueOf(String strModuleId)
Creates a ModuleID from a string representation.
-
-
-
Method Detail
-
valueOf
public static ModuleID valueOf(String strModuleId)
Creates a ModuleID from a string representation.- Parameters:
strModuleId
- string containing the version information.- Returns:
- a ModuleID
-
getName
public String getName()
This method returns the name of the application this id represents.- Returns:
- The name of the application.
-
getVersion
public Version getVersion()
This method returns the version of the application this id represents.- Returns:
- The version of the application.
-
equals
public boolean equals(Object obj)
This method will compare the object passed to this method with the application id, and return a boolean indicating whether the object passed exactly identifies the same application.
-
-