de.uni_paderborn.fujaba.app
Class Version

java.lang.Object
  extended byde.uni_paderborn.fujaba.app.Version

public class Version
extends java.lang.Object

Version:
$Revision: 1.23 $
Author:
$Author: mtt $

Nested Class Summary
(package private)  class Version.VersionParser
          Class to parse the Version.xml document.
 
Field Summary
private  int build
          No comment provided by developer, please add a comment to improve documentation.
private static Version instance
          No comment provided by developer, please add a comment to improve documentation.
(package private) static org.apache.log4j.Logger log
          log4j logging
private  int major
          No comment provided by developer, please add a comment to improve documentation.
private  int minor
          No comment provided by developer, please add a comment to improve documentation.
private  java.lang.String release
          No comment provided by developer, please add a comment to improve documentation.
private  int revision
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
private Version()
          Constructor for class Version
 
Method Summary
static Version get()
          No comment provided by developer, please add a comment to improve documentation.
 int getBuild()
           
 int getMajor()
           
 int getMinor()
           
 java.lang.String getRelease()
           
 int getRevision()
          Get the revision attribute of the Version object
 java.lang.String getVersion()
          Get the version attribute of the Version object
(package private)  void setBuild(int build)
          Sets the build attribute of the Version object
(package private)  void setMajor(int major)
          Sets the major attribute of the Version object
(package private)  void setMinor(int minor)
          Sets the minor attribute of the Version object
(package private)  void setRelease(java.lang.String release)
          Sets the release attribute of the Version object
(package private)  void setRevision(int revision)
          Sets the revision attribute of the Version object
 java.lang.String toString()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

static final transient org.apache.log4j.Logger log
log4j logging


major

private int major
No comment provided by developer, please add a comment to improve documentation.


minor

private int minor
No comment provided by developer, please add a comment to improve documentation.


revision

private int revision
No comment provided by developer, please add a comment to improve documentation.


build

private int build
No comment provided by developer, please add a comment to improve documentation.


release

private java.lang.String release
No comment provided by developer, please add a comment to improve documentation.


instance

private static volatile Version instance
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

Version

private Version()
Constructor for class Version

Method Detail

get

public static Version get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

toString

public java.lang.String toString()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getVersion

public java.lang.String getVersion()
Get the version attribute of the Version object

Returns:
The version value

getBuild

public int getBuild()
Returns:
the build version number

setBuild

void setBuild(int build)
Sets the build attribute of the Version object

Parameters:
build - The new build value

getMajor

public int getMajor()
Returns:
the major version number

setMajor

void setMajor(int major)
Sets the major attribute of the Version object

Parameters:
major - The new major value

getMinor

public int getMinor()
Returns:
the minor version number

setMinor

void setMinor(int minor)
Sets the minor attribute of the Version object

Parameters:
minor - The new minor value

getRevision

public int getRevision()
Get the revision attribute of the Version object

Returns:
The revision value

setRevision

void setRevision(int revision)
Sets the revision attribute of the Version object

Parameters:
revision - The new revision value

getRelease

public java.lang.String getRelease()
Returns:
the release string

setRelease

void setRelease(java.lang.String release)
Sets the release attribute of the Version object

Parameters:
release - The new release value