- java.lang.Object
-
- io.hotmoka.network.updates.ClassTagModel
-
public class ClassTagModel extends Object
The model of the class tag of an object.
-
-
Field Summary
Fields Modifier and Type Field Description StringclassNameThe name of the class of the object.TransactionReferenceModeljarThe transaction that installed the jar from where the class has been loaded.
-
Constructor Summary
Constructors Constructor Description ClassTagModel()ClassTagModel(ClassTag classTag)Builds the model of the class tag of an object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassTagtoBean(StorageReference object)Yields the class tag having this model, assuming that it belongs to the given object.
-
-
-
Field Detail
-
className
public String className
The name of the class of the object.
-
jar
public TransactionReferenceModel jar
The transaction that installed the jar from where the class has been loaded.
-
-
Constructor Detail
-
ClassTagModel
public ClassTagModel(ClassTag classTag)
Builds the model of the class tag of an object.- Parameters:
classTag- the class tag
-
ClassTagModel
public ClassTagModel()
-
-
Method Detail
-
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
-
-