public class VersionableImpl extends Object implements Versionable, Serializable
| Constructor and Description |
|---|
VersionableImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMajorVersion()
Level 1 method, throws UnsupportedCapabilityException
|
int |
getMinorVersion()
Level 1 method, throws UnsupportedCapabilityException
|
String |
getUserVersion()
Level 1 method, throws UnsupportedCapabilityException
|
void |
setMajorVersion(int majorVersion)
Level 1 method, throws UnsupportedCapabilityException
|
void |
setMinorVersion(int minorVersion)
Level 1 method, throws UnsupportedCapabilityException
|
void |
setUserVersion(String userVersion)
Level 1 method, throws UnsupportedCapabilityException
|
public int getMajorVersion()
throws JAXRException
getMajorVersion in interface VersionableJAXRException - If the JAXR provider encounters an internal errorpublic void setMajorVersion(int majorVersion)
throws JAXRException
setMajorVersion in interface VersionablemajorVersion - the major version numberJAXRException - If the JAXR provider encounters an internal errorpublic int getMinorVersion()
throws JAXRException
getMinorVersion in interface VersionableJAXRException - If the JAXR provider encounters an internal errorpublic void setMinorVersion(int minorVersion)
throws JAXRException
setMinorVersion in interface VersionableminorVersion - the minor version numberJAXRException - If the JAXR provider encounters an internal errorpublic String getUserVersion() throws JAXRException
getUserVersion in interface VersionableJAXRException - If the JAXR provider encounters an internal errorpublic void setUserVersion(String userVersion) throws JAXRException
setUserVersion in interface VersionableuserVersion - the user-defined version numberJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.