Class FieldSignatureModel

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 Details

    • name

      public String name
      The name of the field.
    • type

      public String type
      The type of the field.
  • Constructor Details

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

    • toBean

      public FieldSignature toBean()
      Yields the signature having this model.
      Returns:
      the signature