Class ClassTagModel

java.lang.Object
io.hotmoka.network.updates.ClassTagModel

public class ClassTagModel extends Object
The model of the class tag of an object.
  • Field Details

    • className

      public String className
      The name of the class of the object.
    • jar

      The transaction that installed the jar from where the class has been loaded.
  • Constructor Details

    • ClassTagModel

      public ClassTagModel(ClassTag classTag)
      Builds the model of the class tag of an object.
      Parameters:
      classTag - the class tag
    • ClassTagModel

      public ClassTagModel()
  • Method Details

    • toBean

      public ClassTag toBean(StorageReference object)
      Yields the class tag having this model, assuming that it belongs to the given object.
      Parameters:
      object - the object whose class tag is referred
      Returns:
      the class tag