Gets data for this node using the given key.
The data.
The type of the data.
The key for the data
if the key was not set in this node.