Class ApplicationID
java.lang.Object
com.aquima.interactions.foundation.ApplicationID
- All Implemented Interfaces:
Serializable
This class uniquely identifies an application by name and version.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationID
(String name, Version version) Default constructor that creates an application id based on an application name and version. -
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 ApplicationID
Creates a ApplicationID from a string representation.
-
Constructor Details
-
ApplicationID
Default constructor that creates an application id based on an application name and version. Both the name of the application and the version are mandatory.- Parameters:
name
- The name of the application.version
- The version of the application.
-
-
Method Details
-
valueOf
Creates a ApplicationID from a string representation.- Parameters:
strApplicationId
- string containing the version information.- Returns:
- a ApplicationID
-
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
-