Package com.aquima.interactions.project
Class ModuleID
java.lang.Object
com.aquima.interactions.project.ModuleID
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.getName()
This method returns the name of the application this id represents.This method returns the version of the application this id represents.int
hashCode()
toString()
static ModuleID
Creates a ModuleID from a string representation.
-
Constructor Details
-
ModuleID
Default constructor that creates a module id based on a module name and version. Both the name of the module and the version are mandatory.- Parameters:
name
- The name of the module.version
- The version of the module.
-
-
Method Details
-
valueOf
Creates a ModuleID from a string representation.- Parameters:
strModuleId
- string containing the version information.- Returns:
- a ModuleID
-
getName
This method returns the name of the application this id represents.- Returns:
- The name of the application.
-
getVersion
This method returns the version of the application this id represents.- Returns:
- The version of the application.
-
hashCode
public int hashCode() -
equals
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. -
toString
-