org.stanwood.media.store
Class StoreVersion

java.lang.Object
  extended by org.stanwood.media.store.StoreVersion

public class StoreVersion
extends java.lang.Object

Used to represent store version


Constructor Summary
StoreVersion(Version version, int revision)
          The constructor
 
Method Summary
 int getRevision()
          Used to get the revision
 Version getVersion()
          Used to get the version
 void setRevision(int revision)
          Used to set the revision
 void setVersion(Version version)
          Used to set the version
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoreVersion

public StoreVersion(Version version,
                    int revision)
The constructor

Parameters:
version - The version
revision - The revision
Method Detail

getVersion

public Version getVersion()
Used to get the version

Returns:
The version

setVersion

public void setVersion(Version version)
Used to set the version

Parameters:
version - The version

getRevision

public int getRevision()
Used to get the revision

Returns:
The revision

setRevision

public void setRevision(int revision)
Used to set the revision

Parameters:
revision - The revision

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object