|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Versionable
The Versionable interface defines the behavior common to classes that are capable of creating versions of their instances. At present all RegistryEntry classes are required to implement the Versionable interface.
RegistryEntry
Method Summary | |
---|---|
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. |
Method Detail |
---|
int getMajorVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setMajorVersion(int majorVersion) throws JAXRException
majorVersion
- the major version number
JAXRException
- 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 number
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getUserVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setUserVersion(java.lang.String userVersion) throws JAXRException
userVersion
- the user-defined version number
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41