public interface MNode extends Serializable
The permitted number of occurrences of a node within its parent is defined
by its Multiplicity
.
Modifier and Type | Method and Description |
---|---|
String |
getFullName()
Returns the full name of the node defining its hierarchy.
|
MMessage |
getMessage()
Deprecated.
this method is not logical as it is no longer mandatory for
a node to be part of a message. The upwards hierarchy of any node can be
followed using
getParent() . |
Multiplicity |
getMultiplicity()
Returns the node's multiplicity within its parent.
|
String |
getName()
Returns the node name.
|
MRecord |
getParent()
Returns the parent record (or message).
|
boolean |
isField()
Indicates whether the node is a field.
|
boolean |
isMessage()
Indicates whether the node is a top level message.
|
boolean |
isRecord()
Indicates whether the node is a record.
|
String getName()
String getFullName()
boolean isField()
MField
).boolean isRecord()
boolean isMessage()
MMessage
).Multiplicity getMultiplicity()
Multiplicity.SINGLE_REQUIRED
.MRecord getParent()
@Deprecated MMessage getMessage()
getParent()
.Copyright © 2016 Push Technology Ltd. All Rights Reserved.