Package gov.aps.jca
Class Version
- java.lang.Object
-
- gov.aps.jca.Version
-
public class Version extends Object
Administrative class to keep track of the version number of the context implementations.
-
-
Constructor Summary
Constructors Constructor Description Version(String productName, String implementationLangugage, int majorVersion, int minorVersion, int maintenanceVersion, int developmentVersion)Deprecated.Version(String productName, String implementationLangugage, String version)Version consturctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetDevelopmentVersion()Deprecated.StringgetImplementationLanguage()Implementation Language: Java.StringgetLongVersionString()Get the long version string.intgetMaintenanceVersion()Deprecated.intgetMajorVersion()Deprecated.intgetMinorVersion()Deprecated.StringgetProductName()Name of product: Xalan.StringgetVersionString()Get the basic version string.StringtoString()
-
-
-
Constructor Detail
-
Version
@Deprecated public Version(String productName, String implementationLangugage, int majorVersion, int minorVersion, int maintenanceVersion, int developmentVersion)
Deprecated.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. Vesion 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
@Deprecated public int getMajorVersion()
Deprecated.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
@Deprecated public int getMinorVersion()
Deprecated.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
@Deprecated public int getMaintenanceVersion()
Deprecated.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
@Deprecated public int getDevelopmentVersion()
Deprecated.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.
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-