org.jminor.common.model
Class Version
java.lang.Object
org.jminor.common.model.Version
- All Implemented Interfaces:
- Serializable
public final class Version
- extends Object
- implements Serializable
A class specifying a version.
- See Also:
- Serialized Form
Version
public Version(String domain,
String version)
- Instantiates a new Version object.
- Parameters:
domain
- the domain this version object should representversion
- the version string
getDomain
public String getDomain()
- Returns:
- the domain this version represents
getVersion
public String getVersion()
- Returns:
- the version string
toString
public String toString()
-
- Overrides:
toString
in class Object