public static final class AbstractNutDao.VersionNumberStrategy extends Object
 This class wraps all information required by the AbstractNutDao regarding version number management.
 
| Constructor and Description | 
|---|
| AbstractNutDao.VersionNumberStrategy(Boolean contentBasedVersionNumber,
                                    Boolean computeVersionAsynchronously,
                                    String fixedVersionNumber)
 Builds a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getComputeVersionAsynchronously()
 Indicates if the version number is computed asynchronously. | 
| Boolean | getContentBasedVersionNumber()
 Indicates if the version number is based on the content. | 
| Long | getFixedVersionNumber()
 Gets the fixed version number. | 
public AbstractNutDao.VersionNumberStrategy(Boolean contentBasedVersionNumber, Boolean computeVersionAsynchronously, String fixedVersionNumber)
Builds a new instance.
contentBasedVersionNumber - content based version number or notcomputeVersionAsynchronously - asynchronous computation or notfixedVersionNumber - fixed version number (null if version number is not fixed)public Boolean getContentBasedVersionNumber()
Indicates if the version number is based on the content.
true if version number is content based, false otherwisepublic Boolean getComputeVersionAsynchronously()
Indicates if the version number is computed asynchronously.
true if version number is computed asynchronously, false otherwisepublic Long getFixedVersionNumber()
Gets the fixed version number.
null if the version number is not fixedCopyright © 2012-2015. All Rights Reserved.