com.sun.xml.registry.uddi.infomodel
Class VersionableImpl

java.lang.Object
  extended by 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
VersionableImpl()
           
 
Method Summary
 int getMajorVersion()
          Level 1 method, throws UnsupportedCapabilityException
 int getMinorVersion()
          Level 1 method, throws UnsupportedCapabilityException
 String getUserVersion()
          Level 1 method, throws UnsupportedCapabilityException
 void setMajorVersion(int majorVersion)
          Level 1 method, throws UnsupportedCapabilityException
 void setMinorVersion(int minorVersion)
          Level 1 method, throws UnsupportedCapabilityException
 void setUserVersion(String userVersion)
          Level 1 method, throws UnsupportedCapabilityException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionableImpl

public VersionableImpl()
Method Detail

getMajorVersion

public int getMajorVersion()
                    throws JAXRException
Level 1 method, throws UnsupportedCapabilityException

Specified by:
getMajorVersion in interface Versionable
Returns:
the major version for this object
Throws:
JAXRException - If the JAXR provider encounters an internal error

setMajorVersion

public void setMajorVersion(int majorVersion)
                     throws JAXRException
Level 1 method, throws UnsupportedCapabilityException

Specified by:
setMajorVersion in interface Versionable
Parameters:
majorVersion - the major version number
Throws:
JAXRException - If the JAXR provider encounters an internal error

getMinorVersion

public int getMinorVersion()
                    throws JAXRException
Level 1 method, throws UnsupportedCapabilityException

Specified by:
getMinorVersion in interface Versionable
Returns:
the minor version for this object
Throws:
JAXRException - If the JAXR provider encounters an internal error

setMinorVersion

public void setMinorVersion(int minorVersion)
                     throws JAXRException
Level 1 method, throws UnsupportedCapabilityException

Specified by:
setMinorVersion in interface Versionable
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:
getUserVersion in interface Versionable
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:
setUserVersion in interface Versionable
Parameters:
userVersion - the user-defined version number
Throws:
JAXRException - If the JAXR provider encounters an internal error


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.