Class VersionExt

java.lang.Object
de.edgesoft.edgeutils.commons.ModelClass
de.edgesoft.edgeutils.commons.ext.ModelClassExt
de.edgesoft.edgeutils.commons.Version
de.edgesoft.edgeutils.commons.ext.VersionExt

public class VersionExt
extends de.edgesoft.edgeutils.commons.Version
Helper and convenience methods for Version.

Legal stuff

Copyright 2010-2020 Ekkart Kleinod ekleinod@edgesoft.de

This file is part of edgeutils.

edgeutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

edgeutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with edgeutils. If not, see http://www.gnu.org/licenses/.

Since:
0.4
Version:
0.13.0
Author:
Ekkart Kleinod
  • Constructor Summary

    Constructors 
    Constructor Description
    VersionExt()
    Default constructor.
    VersionExt​(java.lang.String theVersion)
    Constructor, setting version in one call, version as string.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()
    Creates string representation of version.

    Methods inherited from class de.edgesoft.edgeutils.commons.Version

    getAdditional, getMajor, getMinor, getPatch, setAdditional, setMajor, setMinor, setPatch

    Methods inherited from class de.edgesoft.edgeutils.commons.ext.ModelClassExt

    getDisplayText

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • VersionExt

      public VersionExt()
      Default constructor.
    • VersionExt

      public VersionExt​(java.lang.String theVersion)
      Constructor, setting version in one call, version as string.
      • "2"
      • "2.0"
      • "2.0.1"
      • "2 pre 2"
      • "2.0 alpha 1"
      • "2.0.1 beta 5"
      Parameters:
      theVersion - version
  • Method Details

    • toString

      public java.lang.String toString()
      Creates string representation of version.
      Overrides:
      toString in class java.lang.Object
      Returns:
      string representation of version
      Since:
      0.6.0