use of org.talend.mdm.repository.model.mdmserverobject.WSDataModelE in project tmdm-studio-se by Talend.
the class NewDataModelAction method newBlankDataModel.
private WSDataModelE newBlankDataModel(String key) {
WSDataModelE dataModel = MdmserverobjectFactory.eINSTANCE.createWSDataModelE();
dataModel.setName(key);
//
String defaultXSD = // $NON-NLS-1$
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + // $NON-NLS-1$
"<xsd:schema xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"/>";
dataModel.setXsdSchema(defaultXSD);
//
return dataModel;
}
Aggregations