Class VersionableImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.Versionable

    public class VersionableImpl
    extends Object
    implements javax.xml.registry.infomodel.Versionable, Serializable
    Implementation of Versionable interface. All methods are level 1 methods.
    Author:
    Bobby Bissett
    See Also:
    Serialized Form
    • Constructor Detail

      • VersionableImpl

        public VersionableImpl()
    • Method Detail

      • getMajorVersion

        public int getMajorVersion()
                            throws javax.xml.registry.JAXRException
        Level 1 method, throws UnsupportedCapabilityException
        Specified by:
        getMajorVersion in interface javax.xml.registry.infomodel.Versionable
        Throws:
        javax.xml.registry.JAXRException
      • setMajorVersion

        public void setMajorVersion​(int majorVersion)
                             throws javax.xml.registry.JAXRException
        Level 1 method, throws UnsupportedCapabilityException
        Specified by:
        setMajorVersion in interface javax.xml.registry.infomodel.Versionable
        Throws:
        javax.xml.registry.JAXRException
      • getMinorVersion

        public int getMinorVersion()
                            throws javax.xml.registry.JAXRException
        Level 1 method, throws UnsupportedCapabilityException
        Specified by:
        getMinorVersion in interface javax.xml.registry.infomodel.Versionable
        Throws:
        javax.xml.registry.JAXRException
      • setMinorVersion

        public void setMinorVersion​(int minorVersion)
                             throws javax.xml.registry.JAXRException
        Level 1 method, throws UnsupportedCapabilityException
        Specified by:
        setMinorVersion in interface javax.xml.registry.infomodel.Versionable
        Throws:
        javax.xml.registry.JAXRException
      • getUserVersion

        public String getUserVersion()
                              throws javax.xml.registry.JAXRException
        Level 1 method, throws UnsupportedCapabilityException
        Specified by:
        getUserVersion in interface javax.xml.registry.infomodel.Versionable
        Throws:
        javax.xml.registry.JAXRException
      • setUserVersion

        public void setUserVersion​(String userVersion)
                            throws javax.xml.registry.JAXRException
        Level 1 method, throws UnsupportedCapabilityException
        Specified by:
        setUserVersion in interface javax.xml.registry.infomodel.Versionable
        Throws:
        javax.xml.registry.JAXRException