public class MRvNodeImpl extends java.lang.Object implements MNodeImpl, MObjWithIdSort.HasIdString, java.io.Serializable
MNode
class encapsulates a self-describing data unit.
Each MNode
has a name and a data portion.
Each MTree
contains a collection of MNode
s.
Modifier and Type | Field and Description |
---|---|
protected com.tibco.tibrv.TibrvMsgField |
m_Data |
protected java.lang.Object |
m_EncapsulatedData |
Constructor and Description |
---|
MRvNodeImpl(java.lang.String name,
java.lang.Object data)
Constructor for creating node objects.
|
MRvNodeImpl(com.tibco.tibrv.TibrvMsg p_data,
boolean p_copy)
internal use only - do not document
|
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
java.lang.Object |
getData()
Return the data encapsulated by this
MNode . |
java.lang.String |
getIdAsString()
Return the node as a string
|
java.lang.String |
getName()
Return the name of the node.
|
java.lang.String |
toString()
Return the string representation of this object
|
protected com.tibco.tibrv.TibrvMsgField m_Data
protected java.lang.Object m_EncapsulatedData
public MRvNodeImpl(java.lang.String name, java.lang.Object data)
name
- Name of the node being created. If name
is null, a
system-generated object is provided.data
- The data you want to encapsulate in this node.
The data
argument can be one of these object types:
MNode
, Short
, Integer
, Long
,
Float
, Double
, String
, Byte
, Boolean
public MRvNodeImpl(com.tibco.tibrv.TibrvMsg p_data, boolean p_copy) throws MException
MException
public java.lang.String getName()
public java.lang.String getIdAsString()
getIdAsString
in interface MObjWithIdSort.HasIdString
getIdAsString
in interface MNodeImpl
public java.lang.Object getData()
MNode
.public void finalize() throws java.lang.Throwable