public class MetaDataGeneratorUtils extends Object
Constructor and Description |
---|
MetaDataGeneratorUtils() |
Modifier and Type | Method and Description |
---|---|
static org.mule.common.metadata.MetaData |
extractPropertiesToMetaData(org.mule.common.metadata.MetaDataModel wrappedMetaDataModel,
org.mule.common.metadata.MetaData userDefinedMetaData)
This method will create a new
MetaData where:
the inner MetaDataModel will be the wrappedMetaDataModel object
the properties from userDefinedMetaData (coded by the connector's developer) will be copied into the newly created MetaData
|
public static org.mule.common.metadata.MetaData extractPropertiesToMetaData(org.mule.common.metadata.MetaDataModel wrappedMetaDataModel, org.mule.common.metadata.MetaData userDefinedMetaData)
MetaData
where:
MetaDataModel
will be the wrappedMetaDataModel
objectuserDefinedMetaData
(coded by the connector's developer) will be copied into the newly created MetaData
wrappedMetaDataModel
- object generated by DevKit, see MessageProcessorGenerator.foldMetaData(GenericType,GeneratedVariable,ProcessorMethod)
userDefinedMetaData
- metaData object created by the connector's developer to extract and copy its propertiesCopyright © 2010–2015 MuleSoft, Inc.. All rights reserved.