javax.xml.registry.infomodel
Interface Versionable

All Known Subinterfaces:
ClassificationScheme, ExtrinsicObject, RegistryEntry, RegistryPackage

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.

See Also:
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)
          Gets 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

getMajorVersion

public int getMajorVersion()
                    throws JAXRException
Gets the major revision number for this version of the Versionable object.

Capability Level: 1

setMajorVersion

public void setMajorVersion(int majorVersion)
                     throws JAXRException
Gets the major revision number for this version of the Versionable object.

Capability Level: 1

getMinorVersion

public int getMinorVersion()
                    throws JAXRException
Gets the minor revision number for this version of the Versionable object.

Capability Level: 1

setMinorVersion

public void setMinorVersion(int minorVersion)
                     throws JAXRException
Sets the minor revision number for this version of the Versionable object.

Capability Level: 1

getUserVersion

public java.lang.String getUserVersion()
                                throws JAXRException
Gets the user specified revision number for this version of the Versionable object.

Capability Level: 1

setUserVersion

public void setUserVersion(java.lang.String userVersion)
                    throws JAXRException
Sets the user specified revision number for this version of the Versionable object.

Capability Level: 1