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.
|
java.lang.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(java.lang.String userVersion)
Sets the user specified revision number for this version of the Versionable object.
|
int getMajorVersion() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setMajorVersion(int majorVersion) throws JAXRException
majorVersion
- the major version numberJAXRException
- If the Jakarta XML Registries provider encounters an internal errorint getMinorVersion() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setMinorVersion(int minorVersion) throws JAXRException
minorVersion
- the minor version numberJAXRException
- If the Jakarta XML Registries provider encounters an internal errorjava.lang.String getUserVersion() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setUserVersion(java.lang.String userVersion) throws JAXRException
userVersion
- the user-defined version numberJAXRException
- If the Jakarta XML Registries provider encounters an internal error