public class Block extends Object
| Constructor and Description |
|---|
Block() |
| Modifier and Type | Method and Description |
|---|---|
Block |
blockHash(String blockHash) |
Block |
blockNumber(Integer blockNumber) |
Block |
connectionId(Integer connectionId) |
boolean |
equals(Object o) |
String |
getBlockHash()
Get blockHash
|
Integer |
getBlockNumber()
Get blockNumber
|
Integer |
getConnectionId()
Get connectionId
|
Integer |
getId()
Get id
|
org.joda.time.DateTime |
getTimestamp()
Get timestamp
|
int |
hashCode() |
Block |
id(Integer id) |
void |
setBlockHash(String blockHash) |
void |
setBlockNumber(Integer blockNumber) |
void |
setConnectionId(Integer connectionId) |
void |
setId(Integer id) |
void |
setTimestamp(org.joda.time.DateTime timestamp) |
Block |
timestamp(org.joda.time.DateTime timestamp) |
String |
toString() |
public Integer getId()
public void setId(Integer id)
public Integer getConnectionId()
public void setConnectionId(Integer connectionId)
public Block timestamp(org.joda.time.DateTime timestamp)
public org.joda.time.DateTime getTimestamp()
public void setTimestamp(org.joda.time.DateTime timestamp)
public Integer getBlockNumber()
public void setBlockNumber(Integer blockNumber)
public String getBlockHash()
public void setBlockHash(String blockHash)
Copyright © 2018. All rights reserved.