Class CodeMeter.CMBOXENTRY

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMBOXENTRY
    extends java.lang.Object
    CMBOXENTRY contains data of one entry.

    Definition for the class CMBOXENTRY corresponding to the c-api struct CMBOXENTRY. CMBOXENTRY contains data of one entry. An entry is containing one Firm Item and one Product Item. In this structure all static data are stored. The dynamic data must read out of the CmContainer explicitly.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      CodeMeter.CMTIME activationTime
      contains the Activation Time of the Product Item if available (see CMTIME).
      short dependencyAT
      contains the dependency flags of the Activation Time.
      short dependencyET
      contains the dependency flags of the Expiration Date.
      short dependencyFM
      contains the dependency flags of the FeatureMap.
      short dependencyPC
      contains the dependency flags of the Product Code.
      short dependencyUC
      contains the dependency flags of the UnitCounter.
      CodeMeter.CMTIME expirationTime
      contains the Expiration Date of the Product Item if available (see CMTIME).
      long featureMap
      contains the FeatureMap of the Product Item.
      long fiCtrl
      specifies the type of the Firm Item.
      int firmAccessCounter
      contains the Firm Access Counter of the Firm Item.
      long firmCode
      contains the Firm Code of the Firm Item.
      java.lang.String firmItemText
      contains the Firm ItemText of the Firm Item.
      long firmPreciseTime
      contains the FirmPreciseTime of the Firm Item.
      long firmUpdateCounter
      contains the Firm Update Counter of the Firm Item.
      long productCode
      contains the Product Code of the Product Item.
      int productItemRef
      Product Item Reference
      long setPios
      specifies all available PIO's at this Product Item.
      long unitCounter
      contains the UnitCounter of the Product Item if available.
    • Constructor Summary

      Constructors 
      Constructor Description
      CMBOXENTRY()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • fiCtrl

        public long fiCtrl
        specifies the type of the Firm Item. The following flags can be set:
        • CM_GF_BOXBASED specifies that the Firm Item was programmed in the Box-Based-Mode.
        • CM_GF_FILEBASED specifies that the Firm Item was programmed in the File-Based-Mode.
        • CM_GF_TRANSFERBASED specifies that the Firm Item was programmed in the Transfer-Based-Mode.
        • CM_GF_RESERVED specifies that the Firm Item is a Reserved FirmItem.
      • firmCode

        public long firmCode
        contains the Firm Code of the Firm Item.
      • firmAccessCounter

        public int firmAccessCounter
        contains the Firm Access Counter of the Firm Item.
      • firmUpdateCounter

        public long firmUpdateCounter
        contains the Firm Update Counter of the Firm Item.
      • firmPreciseTime

        public long firmPreciseTime
        contains the FirmPreciseTime of the Firm Item.
      • firmItemText

        public java.lang.String firmItemText
        contains the Firm ItemText of the Firm Item. (max. array length is CM_MAX_STRING_LEN)
      • setPios

        public long setPios
        specifies all available PIO's at this Product Item. The following flags can be set:
        • CM_GF_PRODUCTCODE specifies that the Product Item contains a Product Code.
        • CM_GF_FEATUREMAP specifies that the Product Item contains a FeatureMap.
        • CM_GF_EXPTIME specifies that the Product Item contains a Expiration Date.
        • CM_GF_ACTTIME specifies that the Product Item contains a Activation Time.
        • CM_GF_UNITCOUNTER specifies that the Product Item contains a UnitCounter.
        • CM_GF_PROTDATA specifies that the Product Item contains a Protected Data.
        • CM_GF_EXTPROTDATA specifies that the Product Item contains one or more Extended Protected Data.
        • CM_GF_HIDDENDATA specifies that the Product Item contains one or more HiddenData Data.
        • CM_GF_SECRETDATA specifies that the Product Item contains one or more Secret Data.
        • CM_GF_USERDATA specifies that the Product Item contains a User Data.
        • CM_GF_TEXT specifies that the Product Item contains a Text.
        • CM_GF_USAGEPERIOD specifies that the Product Item contains a Usage Period.
      • productCode

        public long productCode
        contains the Product Code of the Product Item.
      • featureMap

        public long featureMap
        contains the FeatureMap of the Product Item.
      • unitCounter

        public long unitCounter
        contains the UnitCounter of the Product Item if available.
      • expirationTime

        public CodeMeter.CMTIME expirationTime
        contains the Expiration Date of the Product Item if available (see CMTIME).
      • activationTime

        public CodeMeter.CMTIME activationTime
        contains the Activation Time of the Product Item if available (see CMTIME).
      • dependencyPC

        public short dependencyPC
        contains the dependency flags of the Product Code.
      • dependencyFM

        public short dependencyFM
        contains the dependency flags of the FeatureMap.
      • dependencyUC

        public short dependencyUC
        contains the dependency flags of the UnitCounter.
      • dependencyET

        public short dependencyET
        contains the dependency flags of the Expiration Date.
      • dependencyAT

        public short dependencyAT
        contains the dependency flags of the Activation Time.
      • productItemRef

        public int productItemRef
        Product Item Reference
    • Constructor Detail

      • CMBOXENTRY

        public CMBOXENTRY()