Class VersionDTO

  • Direct Known Subclasses:
    VersionInRangeDTO

    public class VersionDTO
    extends org.osgi.dto.DTO
    A representation of a version.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int major
      The major part of the version.
      java.lang.Integer micro
      The micro part of the version.
      java.lang.Integer minor
      The minor part of the version.
      java.lang.String qualifier
      The qualifier part of the version.
    • Constructor Summary

      Constructors 
      Constructor Description
      VersionDTO()  
    • Method Summary

      • Methods inherited from class org.osgi.dto.DTO

        toString
      • Methods inherited from class java.lang.Object

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

      • major

        public int major
        The major part of the version.
      • minor

        public java.lang.Integer minor
        The minor part of the version.

        Must be null if the version does not contain a minor part.

      • micro

        public java.lang.Integer micro
        The micro part of the version.

        Must be null if the version does not contain a minor or a micro part.

      • qualifier

        public java.lang.String qualifier
        The qualifier part of the version.

        Must be null if the version does not contain a minor, a micro or a qualifier part.

    • Constructor Detail

      • VersionDTO

        public VersionDTO()