
Chapter 13. Implementing Enterprise Metadata Discovery 409
Example 13-5 shows the sample.
Example 13-5 Sample setFunctionDescriptions method implementation
try {
ArrayList functionDescriptions = new ArrayList();
//Selection props will be used to get the relative path
PropertyGroup selectionProps =
WBIMetadataSelectionImpl.getAppliedSelectionProperties();
MetadataImportConfiguration[] confArray = selection.getSelection();
String nameSpaceValue = "";
for (int i = 0; i < confArray.length; i++) {
String location = "./";
WBIMetadataImportConfigurationImpl spec = (WBIMetadataImportConfigurationImpl)
confArray[i];
WBIOutboundFunctionDescriptionImpl funcDesc ...