public class NodeUpdate extends Message<LightningApi.NodeUpdate>
Message
,
LightningApi.NodeUpdate
Modifier and Type | Class and Description |
---|---|
static class |
NodeUpdate.FeaturesEntries
Wrapping class used for conversion between Map and XML notation.
|
static class |
NodeUpdate.FeaturesEntry
Inner class FeaturesEntry for class NodeUpdate.
|
Modifier and Type | Field and Description |
---|---|
protected NodeUpdate.FeaturesEntries |
featuresEntries |
builder, wrapperFactory
Constructor and Description |
---|
NodeUpdate()
Empty Constructor
|
NodeUpdate(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
NodeUpdate(LightningApi.NodeUpdate apiObject)
Constructor using underlying Lightning API Object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAddresses()
Getter for a list of addresses.
|
java.lang.String |
getAlias()
Getter for alias.
|
java.lang.String |
getColor()
Getter for color.
|
java.util.Map<java.lang.Integer,Feature> |
getFeaturesAsDetachedMap()
Returns features as a detached map.
|
NodeUpdate.FeaturesEntries |
getFeaturesEntries()
Gets the map entries as a wrapped list, used for XML conversion.
|
byte[] |
getGlobalFeatures()
Getter for globalFeatures.
|
java.lang.String |
getIdentityKey()
Getter for identityKey.
|
java.util.List<NodeAddress> |
getNodeAddresses()
Getter for a list of nodeAddresses.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setAddresses(java.util.List<java.lang.String> valueList)
Setter for list of addresses.
|
void |
setAlias(java.lang.String value)
Setter for alias.
|
void |
setColor(java.lang.String value)
Setter for color.
|
void |
setFeatures(java.util.Map<java.lang.Integer,Feature> valueMap)
Populates features with all the values in the map.
|
void |
setFeaturesEntries(NodeUpdate.FeaturesEntries entries)
Sets a wrapped list of entries, used for XML conversion.
|
void |
setGlobalFeatures(byte[] value)
Setter for globalFeatures.
|
void |
setIdentityKey(java.lang.String value)
Setter for identityKey.
|
void |
setNodeAddresses(java.util.List<NodeAddress> valueList)
Setter for list of nodeAddresses.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
protected NodeUpdate.FeaturesEntries featuresEntries
public NodeUpdate()
public NodeUpdate(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public NodeUpdate(LightningApi.NodeUpdate apiObject)
public java.util.List<java.lang.String> getAddresses() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setAddresses(java.util.List<java.lang.String> valueList)
public java.lang.String getIdentityKey()
public void setIdentityKey(java.lang.String value)
public byte[] getGlobalFeatures()
public void setGlobalFeatures(byte[] value)
public java.lang.String getAlias()
public void setAlias(java.lang.String value)
public java.lang.String getColor()
public void setColor(java.lang.String value)
public java.util.List<NodeAddress> getNodeAddresses() throws ClientSideException
ClientSideException
- if problems occurred constructing the wrapped object.public void setNodeAddresses(java.util.List<NodeAddress> valueList)
public java.util.Map<java.lang.Integer,Feature> getFeaturesAsDetachedMap()
public void setFeatures(java.util.Map<java.lang.Integer,Feature> valueMap)
public NodeUpdate.FeaturesEntries getFeaturesEntries()
public void setFeaturesEntries(NodeUpdate.FeaturesEntries entries)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<LightningApi.NodeUpdate>