Class Version

  • All Implemented Interfaces:
    java.io.Serializable

    public class Version
    extends java.lang.Object
    implements java.io.Serializable
    This element describes each of the previous versions of the project. Each version is described by a version element .
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Version()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Get a unique identifier for a version.
      java.lang.String getName()
      Get the external version number under which this release was distributed.
      java.lang.String getTag()
      Get the name given in the SCM (e.g.
      void setId​(java.lang.String id)
      Set a unique identifier for a version.
      void setName​(java.lang.String name)
      Set the external version number under which this release was distributed.
      void setTag​(java.lang.String tag)
      Set the name given in the SCM (e.g.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Version

        public Version()
    • Method Detail

      • getId

        public java.lang.String getId()
        Get a unique identifier for a version. This is usually identical to the name.
        Returns:
        String
      • getName

        public java.lang.String getName()
        Get the external version number under which this release was distributed. Examples include: 1.0, 1.1-alpha1, 1.2-beta, 1.3.2 etc.
        Returns:
        String
      • getTag

        public java.lang.String getTag()
        Get the name given in the SCM (e.g. CVS) used by the project for the source code associated with this version of the project.
        Returns:
        String
      • setId

        public void setId​(java.lang.String id)
        Set a unique identifier for a version. This is usually identical to the name.
        Parameters:
        id - a id object.
      • setName

        public void setName​(java.lang.String name)
        Set the external version number under which this release was distributed. Examples include: 1.0, 1.1-alpha1, 1.2-beta, 1.3.2 etc.
        Parameters:
        name - a name object.
      • setTag

        public void setTag​(java.lang.String tag)
        Set the name given in the SCM (e.g. CVS) used by the project for the source code associated with this version of the project.
        Parameters:
        tag - a tag object.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()