Class Fault

  • All Implemented Interfaces:
    EventData

    public class Fault
    extends java.lang.Object
    implements EventData
    • Constructor Summary

      Constructors 
      Constructor Description
      Fault()  
      Fault​(java.lang.Long eraId, PublicKey publicKey, java.lang.String timestamp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getEraId()
      The period of time used to specify when specific events in a blockchain network occur.
      PublicKey getPublicKey()
      A unique personal address that is shared in the network.
      java.lang.String getTimestamp()
      A timestamp type, representing a concrete moment in time of the fault.
      void setEraId​(java.lang.Long eraId)
      The period of time used to specify when specific events in a blockchain network occur.
      void setPublicKey​(PublicKey publicKey)
      A unique personal address that is shared in the network.
      void setTimestamp​(java.lang.String timestamp)
      A timestamp type, representing a concrete moment in time of the fault.
      • Methods inherited from class java.lang.Object

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

      • Fault

        public Fault​(java.lang.Long eraId,
                     PublicKey publicKey,
                     java.lang.String timestamp)
      • Fault

        public Fault()
    • Method Detail

      • getEraId

        public java.lang.Long getEraId()
        The period of time used to specify when specific events in a blockchain network occur.
      • getPublicKey

        public PublicKey getPublicKey()
        A unique personal address that is shared in the network.
      • getTimestamp

        public java.lang.String getTimestamp()
        A timestamp type, representing a concrete moment in time of the fault.
      • setEraId

        public void setEraId​(java.lang.Long eraId)
        The period of time used to specify when specific events in a blockchain network occur.
      • setPublicKey

        public void setPublicKey​(PublicKey publicKey)
        A unique personal address that is shared in the network.
      • setTimestamp

        public void setTimestamp​(java.lang.String timestamp)
        A timestamp type, representing a concrete moment in time of the fault.