- java.lang.Object
-
- io.hotmoka.network.signatures.SignatureModel
-
- io.hotmoka.network.signatures.FieldSignatureModel
-
public final class FieldSignatureModel extends SignatureModel
The model of the signature of a field of a class.
-
-
Field Summary
Fields Modifier and Type Field Description StringnameThe name of the field.StringtypeThe type of the field.-
Fields inherited from class io.hotmoka.network.signatures.SignatureModel
definingClass
-
-
Constructor Summary
Constructors Constructor Description FieldSignatureModel()FieldSignatureModel(FieldSignature field)Builds the model of the signature of a field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldSignaturetoBean()Yields the signature having this model.-
Methods inherited from class io.hotmoka.network.signatures.SignatureModel
nameOf, typeWithName
-
-
-
-
Constructor Detail
-
FieldSignatureModel
public FieldSignatureModel(FieldSignature field)
Builds the model of the signature of a field.- Parameters:
field- the signature of the field
-
FieldSignatureModel
public FieldSignatureModel()
-
-
Method Detail
-
toBean
public FieldSignature toBean()
Yields the signature having this model.- Returns:
- the signature
-
-