com.softwareag.centrasite.appl.framework.beans.standard
Interface Versionable

All Known Subinterfaces:
ClassificationScheme, ExtrinsicObject, LCAwareClassificationScheme, LCAwareRegistryEntry, RegistryEntry, RegistryPackage, Service
All Known Implementing Classes:
ClassificationSchemeImpl, ExtrinsicObjectImpl, LCAwareClassificationSchemeImpl, LCAwareRegistryEntryImpl, RegistryEntryImpl, RegistryPackageImpl, ServiceImpl

public interface Versionable


Method Summary
 int getMajorVersion()
          Gets the major revision number for this version of the Versionable object.
 int getMinorVersion()
          Gets the minor revision number for this version of the Versionable object.
 java.lang.String getUserVersion()
          Gets the user-specified revision number for this version of the Versionable object.
 void setMajorVersion(int majorVersion)
          Sets the major revision number for this version of the Versionable object.
 void setMinorVersion(int minorVersion)
          Sets the minor revision number for this version of the Versionable object.
 void setUserVersion(java.lang.String userVersion)
          Sets the user specified revision number for this version of the Versionable object.
 

Method Detail

getMajorVersion

int getMajorVersion()
Gets the major revision number for this version of the Versionable object.

Returns:
int

getMinorVersion

int getMinorVersion()
Gets the minor revision number for this version of the Versionable object.

Returns:
int

getUserVersion

java.lang.String getUserVersion()
Gets the user-specified revision number for this version of the Versionable object.

Returns:
String

setMajorVersion

void setMajorVersion(int majorVersion)
Sets the major revision number for this version of the Versionable object.

Parameters:
majorVersion -

setMinorVersion

void setMinorVersion(int minorVersion)
Sets the minor revision number for this version of the Versionable object.

Parameters:
minorVersion -

setUserVersion

void setUserVersion(java.lang.String userVersion)
Sets the user specified revision number for this version of the Versionable object.

Parameters:
userVersion -