# FTVersion

## Abstract

Models a version number

## Discussion

instances of this structure represent a version. A version consists of a major, minor and a build number. The build number increases with each build and snapshot of the artefact. "minor" increases for each shipment and only, if the shipment is not compatible with the previous version. If "minor" increases this has no effect on "build" . "major" increases for each release being shipped. In such a case "minor" and "build" reset to 0.

## Methods

`-build`
`-major`
`-minor`
`-releaseState`
`-versionString`
  Used to create a unique string representation of the version.

### build

>     - (unsigned) build

method result
  build number

### major

>     - (unsigned) major;

method result
  major version number

### minor

>     - (unsigned) minor;

method result
  returns minor version number

### releaseState

>     - (ft_releaseState_t) releaseState;

method result
  state of the release

### versionString

Used to create a unique string representation of the version.

>     - (NSString *) versionString;

method result
  string representation of the version

(Last Updated August 27, 2006)