public class Application
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME
The application name.
|
static java.lang.String |
DEFAULT_VERSION
The application version number.
|
Constructor and Description |
---|
Application()
The default application constructor.
|
Application(java.lang.String name,
java.lang.String version)
Constructs an instance of this from a application name and version string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Retrieves the name of the application.
|
java.lang.String |
getVersion()
Retrieves the version of the application.
|
void |
setName(java.lang.String name)
Sets the name of the application.
|
void |
setVersion(java.lang.String version)
Sets the version of the application.
|
public static final java.lang.String DEFAULT_NAME
public static final java.lang.String DEFAULT_VERSION
public Application()
public Application(java.lang.String name, java.lang.String version)
name
- The name of the application.version
- The application version.public java.lang.String getName()
public void setName(java.lang.String name)
name
- A string containing the application name.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- A string containing the application version.