Class CodeMeter.CMVERSION

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMVERSION
    extends java.lang.Object

    CMVERSION stores the complete version of a CodeMeter module.

    Definition for the class CMVERSION corresponding to the c-api struct CMVERSION

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int build
      contains the build number of the CodeMeter module.
      int count
      contains the count of the CodeMeter module.
      int day
      contains the day of creation of the CodeMeter module.
      int month
      contains the month of creation of the CodeMeter module.
      int subVersion
      contains the minor version of the CodeMeter module.
      int version
      contains the major version of the CodeMeter module.
      int year
      contains the year of creation of the CodeMeter module.
    • Constructor Summary

      Constructors 
      Constructor Description
      CMVERSION()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CodeMeter.CMVERSION fromLong​(long longVersion)
      Sets version, subVersion and build from longVersion
      • Methods inherited from class java.lang.Object

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

      • version

        public int version
        contains the major version of the CodeMeter module.
      • subVersion

        public int subVersion
        contains the minor version of the CodeMeter module.
      • build

        public int build
        contains the build number of the CodeMeter module.
      • count

        public int count
        contains the count of the CodeMeter module.
      • year

        public int year
        contains the year of creation of the CodeMeter module.
      • month

        public int month
        contains the month of creation of the CodeMeter module.
      • day

        public int day
        contains the day of creation of the CodeMeter module.
    • Constructor Detail

      • CMVERSION

        public CMVERSION()
    • Method Detail

      • fromLong

        public static CodeMeter.CMVERSION fromLong​(long longVersion)
        Sets version, subVersion and build from longVersion