Class NodeDataBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.api.data.NodeDataBean
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeDataBean>
public class NodeDataBean extends Object implements Serializable, Comparable<NodeDataBean>
- Author:
- iris.dimni
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeDataBean()
NodeDataBean(String address, String shortAddress, String alias, ConcurrentSkipListSet<String> linkedNodes, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(NodeDataBean o)
boolean
equals(Object obj)
String
getAddress()
String
getAlias()
ConcurrentSkipListSet<String>
getLinkedNodes()
String
getShortAddress()
String
getType()
int
hashCode()
void
setAddress(String address)
void
setAlias(String alias)
void
setLinkedNodes(ConcurrentSkipListSet<String> linkedNodes)
void
setShortAddress(String shortAddress)
void
setType(String type)
-
-
-
Method Detail
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
getShortAddress
public String getShortAddress()
-
setShortAddress
public void setShortAddress(String shortAddress)
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
getLinkedNodes
public ConcurrentSkipListSet<String> getLinkedNodes()
-
setLinkedNodes
public void setLinkedNodes(ConcurrentSkipListSet<String> linkedNodes)
-
getType
public String getType()
-
setType
public void setType(String type)
-
compareTo
public int compareTo(NodeDataBean o)
- Specified by:
compareTo
in interfaceComparable<NodeDataBean>
-
-