Class VersionableImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.VersionableImpl
-
- All Implemented Interfaces:
Serializable,Versionable
public class VersionableImpl extends Object implements Versionable, Serializable
Implementation of Versionable interface. All methods are level 1 methods.- Author:
- Bobby Bissett
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VersionableImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMajorVersion()Level 1 method, throws UnsupportedCapabilityExceptionintgetMinorVersion()Level 1 method, throws UnsupportedCapabilityExceptionStringgetUserVersion()Level 1 method, throws UnsupportedCapabilityExceptionvoidsetMajorVersion(int majorVersion)Level 1 method, throws UnsupportedCapabilityExceptionvoidsetMinorVersion(int minorVersion)Level 1 method, throws UnsupportedCapabilityExceptionvoidsetUserVersion(String userVersion)Level 1 method, throws UnsupportedCapabilityException
-
-
-
Method Detail
-
getMajorVersion
public int getMajorVersion() throws JAXRExceptionLevel 1 method, throws UnsupportedCapabilityException- Specified by:
getMajorVersionin interfaceVersionable- Returns:
- the major version for this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setMajorVersion
public void setMajorVersion(int majorVersion) throws JAXRExceptionLevel 1 method, throws UnsupportedCapabilityException- Specified by:
setMajorVersionin interfaceVersionable- Parameters:
majorVersion- the major version number- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getMinorVersion
public int getMinorVersion() throws JAXRExceptionLevel 1 method, throws UnsupportedCapabilityException- Specified by:
getMinorVersionin interfaceVersionable- Returns:
- the minor version for this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setMinorVersion
public void setMinorVersion(int minorVersion) throws JAXRExceptionLevel 1 method, throws UnsupportedCapabilityException- Specified by:
setMinorVersionin interfaceVersionable- Parameters:
minorVersion- the minor version number- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getUserVersion
public String getUserVersion() throws JAXRException
Level 1 method, throws UnsupportedCapabilityException- Specified by:
getUserVersionin interfaceVersionable- Returns:
- the user-defined version number
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setUserVersion
public void setUserVersion(String userVersion) throws JAXRException
Level 1 method, throws UnsupportedCapabilityException- Specified by:
setUserVersionin interfaceVersionable- Parameters:
userVersion- the user-defined version number- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
-