|
Java EE 5 SDK | ||||||||
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. |
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 |
---|
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 errorString getUserVersion() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setUserVersion(String userVersion) throws JAXRException
userVersion
- the user-defined version number
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.