Class CodeMeter.CMENTRYDATA

  • Enclosing class:
    CodeMeter

    public static class CodeMeter.CMENTRYDATA
    extends java.lang.Object
    CMENTRYDATA contains a dynamic added data of a Product Item with all its properties.

    Definition for the class CMENTRYDATA corresponding to the c-api struct CMENTRYDATA. CMENTRYDATA contains a dynamic added data of a Product Item with all its properties.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long ctrl
      specifies the type of the dynamic added entry.
      byte[] data
      contains the data of the dynamic added entry with the length stored in mcbData.
      long dependency
      contains the dependency of the dynamic added entry.
    • Constructor Summary

      Constructors 
      Constructor Description
      CMENTRYDATA()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • ctrl

        public long ctrl

        specifies the type of the dynamic added entry.

        It can be have one or more of the following flags:

        • 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.

      • dependency

        public long dependency
        contains the dependency of the dynamic added entry. It can be have one or more of the following flags:
        • CM_GF_DATA specifies that the parameter depends on the contents of the data of the Firm Item.
        • CM_GF_FUC specifies that the parameter depends on the Firm Update Counter of the Firm Item.
        • CM_GF_SERIAL specifies that the parameter depends on the Serial Number of the CmContainer.
      • data

        public byte[] data
        contains the data of the dynamic added entry with the length stored in mcbData. All data can have a maximum length of CM_MAX_STRING_LEN (at the moment 256) bytes except a Product Item Text with 2 * CM_MAX_STRING_LEN (at the moment 512) bytes.
    • Constructor Detail

      • CMENTRYDATA

        public CMENTRYDATA()