public interface MContent extends MGroup
This describes the layout of topic content and can be made up of records and/or fields.
Content metadata can be built using a MContent.Builder
or using a
MetadataFactory
convenience method. For example:
MetadataFactory factory = Diffusion.metadata();
MContent content =
factory.content(
"Content",
factory.record(
"REC",
factory.string("A"),
factory.string("B")));
The above example would create a content definition with a single record that
has two string fields named "A" and "B".Modifier and Type | Interface and Description |
---|---|
static interface |
MContent.Builder
Content metadata 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.