public interface MRecord extends MGroup
A record is a node which may have children which may be records
or fields
. Some data type implementations (such as
RECORD
) do not support nested records.
The easiest way to define a record definition is using a
MetadataFactory
convenience method. For example:
MetadataFactory factory = Diffusion.metadata();
MRecord record = factory.record("REC",factory.string("A"),factory.string("B"));
But for more complex requirements a MRecord.Builder
may be used.Modifier and Type | Interface and Description |
---|---|
static interface |
MRecord.Builder
Record metadata definition builder.
|
MNode.DataType, MNode.Multiplicity, MNode.NodeType
childCount, childNodes, getChild, getField, getRecord
getDataType, getFullName, getMultiplicity, getName, getNodeType, getParent
Copyright © 2016 Push Technology Ltd. All Rights Reserved.