public interface Versionable
RegistryEntry
Modifier and Type | Method and Description |
---|---|
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.
|
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(String userVersion)
Sets the user specified revision number for this version of the Versionable object.
|
int getMajorVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setMajorVersion(int majorVersion) throws JAXRException
majorVersion
- the major version numberJAXRException
- If the JAXR provider encounters an internal errorint getMinorVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setMinorVersion(int minorVersion) throws JAXRException
minorVersion
- the minor version numberJAXRException
- If the JAXR provider encounters an internal errorString getUserVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setUserVersion(String userVersion) throws JAXRException
userVersion
- the user-defined version numberJAXRException
- If the JAXR provider encounters an internal errorCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.