Package gov.aps.jca

Class Version


  • public class Version
    extends Object
    Administrative class to keep track of the version number of the context implementations.
    • Constructor Detail

      • Version

        public Version​(String productName,
                       String implementationLangugage,
                       int majorVersion,
                       int minorVersion,
                       int maintenanceVersion,
                       int developmentVersion)
        Default consturctor.
        Parameters:
        productName - product name.
        implementationLangugage - impementation language.
        majorVersion - major version.
        minorVersion - minor version.
        maintenanceVersion - maintenance version.
        developmentVersion - development version.
    • Method Detail

      • getLongVersionString

        public String getLongVersionString()
        Get the long version string. Version String formatted like
        "ProductName \[ImplementationLanguage\] 'v'v.r[.dd|Dnn]"
        e.g.
        "CAJ [Java] v1.0.1"
        Returns:
        String denoting current version
      • getVersionString

        public String getVersionString()
        Get the basic version string. Version String formatted like
        "ProductName 'v'v.r[.dd|Dnn]"
        e.g.
        "CAJ v1.0.1"
        Returns:
        String denoting current version
      • getProductName

        public String getProductName()
        Name of product: Xalan.
      • getImplementationLanguage

        public String getImplementationLanguage()
        Implementation Language: Java.
      • getMajorVersion

        public int getMajorVersion()
        Major version number. This changes only when there is a significant, externally apparent enhancement from the previous release. 'n' represents the n'th version. Clients should carefully consider the implications of new versions as external interfaces and behaviour may have changed.
      • getMinorVersion

        public int getMinorVersion()
        Minor vesion number. This changes when:
        • a new set of functionality is to be added
        • API or behaviour change
        • its designated as a reference release
      • getMaintenanceVersion

        public int getMaintenanceVersion()
        Maintenance version number. Optional identifier used to designate maintenance drop applied to a specific release and contains fixes for defects reported. It maintains compatibility with the release and contains no API changes. When missing, it designates the final and complete development drop for a release.
      • getDevelopmentVersion

        public int getDevelopmentVersion()
        Development drop number. Optional identifier designates development drop of a specific release. D01 is the first development drop of a new release. Development drops are works in progress towards a compeleted, final release. A specific development drop may not completely implement all aspects of a new feature, which may take several development drops to complete. At the point of the final drop for the release, the D suffix will be omitted. Each 'D' drops can contain functional enhancements as well as defect fixes. 'D' drops may not be as stable as the final releases.