Package com.wibu.CodeMeter
Class CodeMeter.CMBOXENTRY
- java.lang.Object
-
- com.wibu.CodeMeter.CodeMeter.CMBOXENTRY
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMBOXENTRY extends java.lang.ObjectCMBOXENTRY 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.CMTIMEactivationTimecontains the Activation Time of the Product Item if available (see CMTIME).shortdependencyATcontains the dependency flags of the Activation Time.shortdependencyETcontains the dependency flags of the Expiration Date.shortdependencyFMcontains the dependency flags of the FeatureMap.shortdependencyPCcontains the dependency flags of the Product Code.shortdependencyUCcontains the dependency flags of the UnitCounter.CodeMeter.CMTIMEexpirationTimecontains the Expiration Date of the Product Item if available (see CMTIME).longfeatureMapcontains the FeatureMap of the Product Item.longfiCtrlspecifies the type of the Firm Item.intfirmAccessCountercontains the Firm Access Counter of the Firm Item.longfirmCodecontains the Firm Code of the Firm Item.java.lang.StringfirmItemTextcontains the Firm ItemText of the Firm Item.longfirmPreciseTimecontains the FirmPreciseTime of the Firm Item.longfirmUpdateCountercontains the Firm Update Counter of the Firm Item.longproductCodecontains the Product Code of the Product Item.intproductItemRefProduct Item ReferencelongsetPiosspecifies all available PIO's at this Product Item.longunitCountercontains the UnitCounter of the Product Item if available.
-
Constructor Summary
Constructors Constructor Description CMBOXENTRY()
-
-
-
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
-
-