Class VersionableImpl

    • 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