|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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. |
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. |
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 String getUserVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setUserVersion(String userVersion) throws JAXRException
userVersion
- the user-defined version number
JAXRException
- If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.