|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public int getMajorVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setMajorVersion(int majorVersion) throws JAXRException
majorVersion
- the major version number
JAXRException
- If the JAXR provider encounters an internal errorpublic int getMinorVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setMinorVersion(int minorVersion) throws JAXRException
minorVersion
- the minor version number
JAXRException
- If the JAXR provider encounters an internal errorpublic java.lang.String getUserVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setUserVersion(java.lang.String userVersion) throws JAXRException
userVersion
- the user-defined version number
JAXRException
- If the JAXR provider encounters an internal error
|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.