Compare commits
43 Commits
release/7.
...
hwang/TUP_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4214d7f282 | ||
|
|
bb56131ffb | ||
|
|
64083d1e2e | ||
|
|
7b21c010e2 | ||
|
|
3d08e7a41c | ||
|
|
107c52119a | ||
|
|
992e01de37 | ||
|
|
5bdc4ceef7 | ||
|
|
d2eaeb7b97 | ||
|
|
a53ffdfbf4 | ||
|
|
dc92855b54 | ||
|
|
e8d1ce17d0 | ||
|
|
ba19f14fc9 | ||
|
|
1a73160d6b | ||
|
|
6efbc76223 | ||
|
|
2aae24829a | ||
|
|
ea091c2cda | ||
|
|
ef5869370d | ||
|
|
dfc277d886 | ||
|
|
7a75fdc057 | ||
|
|
f4ecdf00c6 | ||
|
|
3ab6dc8441 | ||
|
|
f6903ae6d6 | ||
|
|
c05f0c4518 | ||
|
|
00837db7bf | ||
|
|
667fbf90ad | ||
|
|
17a34e40ac | ||
|
|
80484dc111 | ||
|
|
3cd8ee2958 | ||
|
|
5d75d89161 | ||
|
|
a518891e99 | ||
|
|
a26002f9a2 | ||
|
|
bea0b2a13b | ||
|
|
020d7af9fe | ||
|
|
12649f7a3d | ||
|
|
e9b5ce029d | ||
|
|
94f5432d89 | ||
|
|
bd26e3e912 | ||
|
|
73a2bdc6ec | ||
|
|
14b6b30d43 | ||
|
|
6e4b940576 | ||
|
|
c8ba22bde9 | ||
|
|
02d9f42f8c |
@@ -20,8 +20,10 @@
|
||||
<import plugin="org.apache.servicemix.bundles.avro" version="0.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.junit" version="0.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.slf4j.api" version="0.0.0" match="greaterOrEqual"/>
|
||||
<import plugin="org.apache.commons.configuration" version="2.0.0" match="greaterOrEqual"/>
|
||||
</requires>
|
||||
<plugin id="org.talend.daikon" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
|
||||
<plugin id="org.talend.daikon.exception" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
|
||||
<plugin id="org.talend.daikon.crypto.utils" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
|
||||
<plugin id="org.talend.utils" download-size="0" install-size="0" version="0.0.0" unpack="false"/>
|
||||
</feature>
|
||||
|
||||
@@ -33,6 +33,7 @@ import org.eclipse.swt.widgets.TreeItem;
|
||||
import org.talend.commons.ui.runtime.i18n.Messages;
|
||||
import org.talend.commons.ui.runtime.utils.TableUtils;
|
||||
import org.talend.commons.ui.runtime.ws.WindowSystem;
|
||||
import org.talend.commons.ui.swt.advanced.dataeditor.AbstractDataTableEditorView;
|
||||
import org.talend.commons.ui.swt.drawing.background.IBackgroundRefresher;
|
||||
import org.talend.commons.ui.swt.drawing.background.IBgDrawableComposite;
|
||||
import org.talend.commons.ui.swt.drawing.link.BezierHorizontalLink;
|
||||
@@ -464,4 +465,19 @@ public class TreeToTablesLinker<D1, D2> extends BgDrawableComposite implements I
|
||||
}
|
||||
}
|
||||
|
||||
protected <B> void loadItemDataForLazyLoad(AbstractDataTableEditorView<B> tableEditorView) {
|
||||
if (!tableEditorView.getTableViewerCreator().isLazyLoad()) {
|
||||
return;
|
||||
}
|
||||
List<B> beansList = tableEditorView.getExtendedTableModel().getBeansList();
|
||||
Table table = tableEditorView.getTable();
|
||||
for (TableItem tableItem : table.getItems()) {
|
||||
if (tableItem.getData() == null) {
|
||||
int index = table.indexOf(tableItem);
|
||||
B schemaTarget = beansList.get(index);
|
||||
tableItem.setData(schemaTarget);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -44,26 +44,27 @@ public class SyncLibrariesLoginTask extends AbstractLoginTask implements IRunnab
|
||||
ProxyRepositoryFactory.getInstance().executeRepositoryWorkUnit(
|
||||
new RepositoryWorkUnit<Void>(Messages.getString("SyncLibrariesLoginTask.createStatsLogAndImplicitParamter")) {
|
||||
|
||||
@Override
|
||||
protected void run() throws LoginException, PersistenceException {
|
||||
try {
|
||||
IWorkspace workspace = ResourcesPlugin.getWorkspace();
|
||||
IResourceRuleFactory ruleFactory = workspace.getRuleFactory();
|
||||
ProjectManager projectManager = ProjectManager.getInstance();
|
||||
ISchedulingRule refreshRule = ruleFactory
|
||||
.refreshRule(projectManager.getResourceProject(getProject().getEmfProject()));
|
||||
workspace.run(new IWorkspaceRunnable() {
|
||||
@Override
|
||||
protected void run() throws LoginException, PersistenceException {
|
||||
try {
|
||||
IWorkspace workspace = ResourcesPlugin.getWorkspace();
|
||||
IResourceRuleFactory ruleFactory = workspace.getRuleFactory();
|
||||
ProjectManager projectManager = ProjectManager.getInstance();
|
||||
ISchedulingRule refreshRule = ruleFactory.refreshRule(
|
||||
projectManager.getResourceProject(projectManager.getCurrentProject().getEmfProject()));
|
||||
workspace.run(new IWorkspaceRunnable() {
|
||||
|
||||
@Override
|
||||
public void run(IProgressMonitor monitor) throws CoreException {
|
||||
coreService.createStatsLogAndImplicitParamter(ProjectManager.getInstance().getCurrentProject());
|
||||
@Override
|
||||
public void run(IProgressMonitor monitor) throws CoreException {
|
||||
coreService
|
||||
.createStatsLogAndImplicitParamter(ProjectManager.getInstance().getCurrentProject());
|
||||
}
|
||||
}, refreshRule, IWorkspace.AVOID_UPDATE, monitor);
|
||||
} catch (Exception e) {
|
||||
ExceptionHandler.process(e);
|
||||
}
|
||||
}, refreshRule, IWorkspace.AVOID_UPDATE, monitor);
|
||||
} catch (Exception e) {
|
||||
ExceptionHandler.process(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -164,9 +164,9 @@ public enum EDatabaseVersion4Drivers {
|
||||
MAPRDB(new DbVersion4Drivers(EDatabaseTypeName.MAPRDB, new String[] {})),
|
||||
|
||||
REDSHIFT(new DbVersion4Drivers(EDatabaseTypeName.REDSHIFT, "redshift", "REDSHIFT", //$NON-NLS-1$ //$NON-NLS-2$
|
||||
"redshift-jdbc42-no-awssdk-1.2.20.1043.jar")), //$NON-NLS-1$
|
||||
"redshift-jdbc42-no-awssdk-1.2.32.1056.jar")), //$NON-NLS-1$
|
||||
REDSHIFT_SSO(new DbVersion4Drivers(EDatabaseTypeName.REDSHIFT_SSO, "redshift sso", "REDSHIFT_SSO", //$NON-NLS-1$ //$NON-NLS-2$
|
||||
new String[] { "redshift-jdbc42-no-awssdk-1.2.20.1043.jar", "aws-java-sdk-1.11.406.jar", "jackson-core-2.9.5.jar", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
new String[] { "redshift-jdbc42-no-awssdk-1.2.32.1056.jar", "aws-java-sdk-1.11.406.jar", "jackson-core-2.9.5.jar", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
"jackson-databind-2.9.5.jar", "jackson-annotations-2.9.0.jar", "httpcore-4.4.9.jar", "httpclient-4.5.5.jar", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$//$NON-NLS-4$
|
||||
"joda-time-2.8.1.jar", "commons-logging-1.1.3.jar" })), //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
||||
|
||||
@@ -98,6 +98,15 @@ public class JobContext implements IContext, Cloneable {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean containsSameParameterIgnoreCase(String parameterName) {
|
||||
for (IContextParameter contextParam : contextParameterList) {
|
||||
if (contextParam.getName() != null && contextParam.getName().equalsIgnoreCase(parameterName)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Commented by Marvin Wang on Mar.2, 2012, the user who invokes the method should notice that if the
|
||||
* <code>JobContext</code> has more than one <code>ContextParameter</code>s which names are same, this case will
|
||||
|
||||
@@ -2845,6 +2845,10 @@ public class RepositoryToComponentProperty {
|
||||
if (value.equals("USE_ENCODING")) {
|
||||
return connection.isUseFileNameEncoding();
|
||||
}
|
||||
|
||||
if(value.equals("CONNECTION_TIMEOUT")) {
|
||||
return connection.getTimeout();
|
||||
}
|
||||
|
||||
if (value.equals("ENCODING")) {
|
||||
if (isContextMode(connection, connection.getCustomEncode())) {
|
||||
|
||||
@@ -62,4 +62,6 @@ public interface IContext {
|
||||
public IContext clone();
|
||||
|
||||
public boolean sameAs(IContext context);
|
||||
|
||||
public boolean containsSameParameterIgnoreCase(String parameterName);
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ import org.talend.commons.exception.ExceptionHandler;
|
||||
import org.talend.commons.exception.PersistenceException;
|
||||
import org.talend.commons.utils.VersionUtils;
|
||||
import org.talend.core.GlobalServiceRegister;
|
||||
import org.talend.core.IESBService;
|
||||
import org.talend.core.ITDQItemService;
|
||||
import org.talend.core.PluginChecker;
|
||||
import org.talend.core.hadoop.IHadoopClusterService;
|
||||
@@ -33,7 +34,6 @@ import org.talend.core.model.general.Project;
|
||||
import org.talend.core.model.properties.Item;
|
||||
import org.talend.core.model.properties.JobletProcessItem;
|
||||
import org.talend.core.model.properties.ProcessItem;
|
||||
import org.talend.core.model.properties.ProjectReference;
|
||||
import org.talend.core.model.properties.Property;
|
||||
import org.talend.core.model.properties.SQLPatternItem;
|
||||
import org.talend.core.model.relationship.Relation;
|
||||
@@ -904,27 +904,7 @@ public final class ProcessUtils {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (needBeans && GlobalServiceRegister.getDefault().isServiceRegistered(IProxyRepositoryService.class)) {
|
||||
IProxyRepositoryService service = (IProxyRepositoryService) GlobalServiceRegister.getDefault()
|
||||
.getService(IProxyRepositoryService.class);
|
||||
ERepositoryObjectType beansType = ERepositoryObjectType.valueOf("BEANS"); //$NON-NLS-1$
|
||||
try {
|
||||
IProxyRepositoryFactory factory = service.getProxyRepositoryFactory();
|
||||
List<IRepositoryViewObject> all = factory.getAll(project, beansType);
|
||||
List<ProjectReference> references = ProjectManager.getInstance().getCurrentProject()
|
||||
.getProjectReferenceList(true);
|
||||
for (ProjectReference ref : references) {
|
||||
all.addAll(factory.getAll(new Project(ref.getReferencedProject()), beansType));
|
||||
}
|
||||
if (!all.isEmpty()) { // has bean
|
||||
return true;
|
||||
}
|
||||
} catch (PersistenceException e) {
|
||||
ExceptionHandler.process(e);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return needBeans && GlobalServiceRegister.getDefault().isServiceRegistered(IESBService.class);
|
||||
}
|
||||
|
||||
public static boolean isRequiredPigUDFs(IProcess process) {
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
// ============================================================================
|
||||
//
|
||||
// Copyright (C) 2006-2019 Talend Inc. - www.talend.com
|
||||
//
|
||||
// This source code is available under agreement available at
|
||||
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
|
||||
//
|
||||
// You should have received a copy of the agreement
|
||||
// along with this program; if not, write to Talend SA
|
||||
// 9 rue Pages 92150 Suresnes, France
|
||||
//
|
||||
// ============================================================================
|
||||
package org.talend.core.nexus;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class ResolverExceptionHandler {
|
||||
|
||||
public static IOException hideCredential(IOException e) {
|
||||
// hide the user/password in the error
|
||||
String regex = "\\://(.+)\\:(.+)@"; //$NON-NLS-1$
|
||||
String message = e.getMessage();
|
||||
message = message.replaceAll(regex, "://"); //$NON-NLS-1$
|
||||
Exception cause = null;
|
||||
if (e.getCause() != null) {
|
||||
String causeMessage = e.getCause().getMessage();
|
||||
causeMessage = causeMessage.replaceAll(regex, "://"); //$NON-NLS-1$
|
||||
cause = new Exception(causeMessage);
|
||||
}
|
||||
return new IOException(message, cause);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -101,8 +101,12 @@ public class TalendMavenResolver {
|
||||
|
||||
}
|
||||
|
||||
public static File resolve(String mvnUri) throws IOException, RuntimeException {
|
||||
return getMavenResolver().resolve(mvnUri);
|
||||
public static File resolve(String mvnUri) throws IOException {
|
||||
try {
|
||||
return getMavenResolver().resolve(mvnUri);
|
||||
} catch (IOException e) {
|
||||
throw ResolverExceptionHandler.hideCredential(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static void upload(String groupId, String artifactId, String classifier, String extension, String version,
|
||||
@@ -110,7 +114,11 @@ public class TalendMavenResolver {
|
||||
getMavenResolver().upload(groupId, artifactId, classifier, extension, version, artifact);
|
||||
}
|
||||
|
||||
public static MavenResolver getMavenResolver() throws RuntimeException {
|
||||
public static void initMavenResovler() throws RuntimeException {
|
||||
getMavenResolver();
|
||||
}
|
||||
|
||||
private static MavenResolver getMavenResolver() throws RuntimeException {
|
||||
if (mavenResolver == null) {
|
||||
final BundleContext context = CoreRuntimePlugin.getInstance().getBundle().getBundleContext();
|
||||
ServiceReference<org.ops4j.pax.url.mvn.MavenResolver> mavenResolverService = context
|
||||
|
||||
@@ -42,6 +42,8 @@ public interface MavenConstants {
|
||||
|
||||
static final String POM_FILTER = "POM_FILTER";
|
||||
|
||||
static final String USE_PROFILE_MODULE = "USE_PROFILE_MODULE";
|
||||
|
||||
/*
|
||||
* for lib
|
||||
*/
|
||||
|
||||
@@ -19,6 +19,7 @@ import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.eclipse.core.resources.IFile;
|
||||
@@ -97,17 +98,24 @@ public abstract class AbstractRoutineSynchronizer implements ITalendSynchronizer
|
||||
|
||||
private void getReferencedProjectRoutine(final Map<String, RoutineItem> beansList, final Project project,
|
||||
ERepositoryObjectType routineType, boolean syncRef) throws SystemException {
|
||||
for (IRepositoryViewObject obj : getRepositoryService().getProxyRepositoryFactory().getAll(project, routineType)) {
|
||||
final String key = obj.getProperty().getLabel();
|
||||
// it does not have a routine with same name
|
||||
if (!beansList.containsKey(key)) {
|
||||
beansList.put(key, (RoutineItem) obj.getProperty().getItem());
|
||||
}
|
||||
if (syncRef) {
|
||||
// sync routine
|
||||
syncRoutine((RoutineItem) obj.getProperty().getItem(), false, true, true);
|
||||
List<IRepositoryViewObject> list = getRepositoryService().getProxyRepositoryFactory().getAll(project, routineType);
|
||||
|
||||
if (list.size() == 0) {
|
||||
getRunProcessService().getTalendCodeJavaProject(routineType, project.getTechnicalLabel());
|
||||
} else {
|
||||
for (IRepositoryViewObject obj : list) {
|
||||
final String key = obj.getProperty().getLabel();
|
||||
// it does not have a routine with same name
|
||||
if (!beansList.containsKey(key)) {
|
||||
beansList.put(key, (RoutineItem) obj.getProperty().getItem());
|
||||
}
|
||||
if (syncRef) {
|
||||
// sync routine
|
||||
syncRoutine((RoutineItem) obj.getProperty().getItem(), false, true, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (syncRef) {
|
||||
// sync system routine
|
||||
syncSystemRoutine(project);
|
||||
|
||||
@@ -195,4 +195,7 @@ public interface IDesignerCoreService extends IService {
|
||||
public void setTACReadTimeout(int timeout);
|
||||
|
||||
boolean isDelegateNode(INode node);
|
||||
|
||||
boolean isNeedContextInJar(IProcess process);
|
||||
|
||||
}
|
||||
|
||||
@@ -254,6 +254,9 @@ public interface IProcessor {
|
||||
|
||||
public String[] getCommandLine(boolean needContext, boolean externalUse, int statOption, int traceOption,
|
||||
String... codeOptions);
|
||||
|
||||
public String[] getCommandLine(boolean needContext, boolean externalUse, int statOption, int traceOption, boolean ignoreCustomJVMSetting,
|
||||
String... codeOptions);
|
||||
|
||||
public void setContext(IContext context);
|
||||
|
||||
|
||||
@@ -98,6 +98,8 @@ public class RepositoryConstants {
|
||||
|
||||
public static final String REPOSITORY_CLOUD_APAC_ID = "cloud_apac"; //$NON-NLS-1$
|
||||
|
||||
public static final String REPOSITORY_CLOUD_US_WEST_ID = "cloud_us_west"; //$NON-NLS-1$
|
||||
|
||||
public static final String REPOSITORY_CLOUD_CUSTOM_ID = "cloud_custom"; //$NON-NLS-1$
|
||||
|
||||
public static final String REPOSITORY_URL = "url"; //$NON-NLS-1$
|
||||
|
||||
@@ -472,7 +472,7 @@ public class ContextNebulaGridComposite extends AbstractContextTabEditComposite
|
||||
paramNameFound = true;
|
||||
paramName = NEW_PARAM_NAME + numParam;
|
||||
for (int i = 0; i < listParams.size(); i++) {
|
||||
if (paramName.equals(listParams.get(i).getName())) {
|
||||
if (paramName.equalsIgnoreCase(listParams.get(i).getName())) {
|
||||
paramNameFound = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -715,6 +715,13 @@ public class SelectRepositoryContextDialog extends SelectionDialog {
|
||||
if (param != null && param.isBuiltIn()) {
|
||||
return false;
|
||||
}
|
||||
if (param == null) {
|
||||
boolean containsSameParameterIgnoreCase = manager.getDefaultContext()
|
||||
.containsSameParameterIgnoreCase(paramType.getName());
|
||||
if (containsSameParameterIgnoreCase) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ import org.talend.core.model.metadata.QueryUtil;
|
||||
import org.talend.core.model.metadata.builder.ConvertionHelper;
|
||||
import org.talend.core.model.metadata.builder.connection.MetadataTable;
|
||||
import org.talend.core.model.process.ElementParameterParser;
|
||||
import org.talend.core.model.process.ProcessUtils;
|
||||
import org.talend.core.model.properties.Item;
|
||||
import org.talend.core.model.relationship.RelationshipItemBuilder;
|
||||
import org.talend.core.model.repository.IRepositoryViewObject;
|
||||
@@ -280,9 +281,10 @@ public class CoreService implements ICoreService {
|
||||
ICodeGeneratorService codeGenService = (ICodeGeneratorService) GlobalServiceRegister.getDefault().getService(
|
||||
ICodeGeneratorService.class);
|
||||
codeGenService.createRoutineSynchronizer().syncAllRoutinesForLogOn();
|
||||
codeGenService.createRoutineSynchronizer().syncAllPigudfForLogOn();
|
||||
if (ProcessUtils.isRequiredPigUDFs(null)) {
|
||||
codeGenService.createRoutineSynchronizer().syncAllPigudfForLogOn();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -756,7 +756,7 @@ public class ProcessorUtilities {
|
||||
|
||||
public static boolean hasMetadataDynamic(IProcess currentProcess, JobInfo jobInfo) {
|
||||
boolean hasDynamicMetadata = false;
|
||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IDesignerCoreService.class)) {
|
||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IDesignerCoreService.class) && !isExportConfig()) {
|
||||
IDesignerCoreService designerCoreService =
|
||||
(IDesignerCoreService) GlobalServiceRegister.getDefault().getService(IDesignerCoreService.class);
|
||||
for (INode node : currentProcess.getGraphicalNodes()) {
|
||||
@@ -1231,14 +1231,23 @@ public class ProcessorUtilities {
|
||||
public static void cleanSourceFolder(IProgressMonitor progressMonitor, IProcess currentProcess,
|
||||
IProcessor processor) {
|
||||
try {
|
||||
ITalendProcessJavaProject jobProject = processor.getTalendJavaProject();
|
||||
// clean up source code
|
||||
IPath codePath = processor.getSrcCodePath().removeLastSegments(2);
|
||||
IFolder srcFolder = processor.getTalendJavaProject().getProject().getFolder(codePath);
|
||||
IFolder srcFolder = jobProject.getProject().getFolder(codePath);
|
||||
String jobPackageFolder = JavaResourcesHelper.getJobClassPackageFolder(currentProcess);
|
||||
for (IResource resource : srcFolder.members()) {
|
||||
if (resource.getProjectRelativePath().toPortableString().endsWith(jobPackageFolder)) {
|
||||
break;
|
||||
if (!resource.getProjectRelativePath().toPortableString().endsWith(jobPackageFolder)) {
|
||||
resource.delete(true, progressMonitor);
|
||||
}
|
||||
}
|
||||
// clean up resources folder if needed
|
||||
if (ProcessorUtilities.isExportConfig() && !designerCoreService.isNeedContextInJar(currentProcess)) {
|
||||
for (IResource resource : jobProject.getResourcesFolder().members()) {
|
||||
if (resource.exists()) {
|
||||
resource.delete(true, progressMonitor);
|
||||
}
|
||||
}
|
||||
resource.delete(true, progressMonitor);
|
||||
}
|
||||
} catch (CoreException e) {
|
||||
ExceptionHandler.process(e);
|
||||
@@ -2028,7 +2037,15 @@ public class ProcessorUtilities {
|
||||
public static String[] getCommandLine(String targetPlatform, boolean skipClasspathJar, boolean externalUse,
|
||||
String processId, String contextName, int statisticPort, int tracePort, String... codeOptions)
|
||||
throws ProcessorException {
|
||||
return getCommandLine(targetPlatform, skipClasspathJar, externalUse,
|
||||
processId, contextName, statisticPort, tracePort, false, codeOptions);
|
||||
}
|
||||
|
||||
//ignoreCustomJVMSetting mean will generate the java command without the job VM setting in studio "Run job" setting and studio preferences "Run/Debug" setting
|
||||
//only use for TDI-42443 in tRunJob
|
||||
public static String[] getCommandLine(String targetPlatform, boolean skipClasspathJar, boolean externalUse,
|
||||
String processId, String contextName, int statisticPort, int tracePort, boolean ignoreCustomJVMSetting, String... codeOptions)
|
||||
throws ProcessorException {
|
||||
IProcessor processor = findProcessorFromJobList(processId, contextName, null);
|
||||
if (processor != null && targetPlatform.equals(processor.getTargetPlatform())) {
|
||||
if (processor.isProcessUnloaded()) {
|
||||
@@ -2037,7 +2054,7 @@ public class ProcessorUtilities {
|
||||
boolean oldSkipClasspathJar = processor.isSkipClasspathJar();
|
||||
processor.setSkipClasspathJar(skipClasspathJar);
|
||||
try {
|
||||
return processor.getCommandLine(true, externalUse, statisticPort, tracePort, codeOptions);
|
||||
return processor.getCommandLine(true, externalUse, statisticPort, tracePort, ignoreCustomJVMSetting, codeOptions);
|
||||
} finally {
|
||||
processor.setSkipClasspathJar(oldSkipClasspathJar);
|
||||
}
|
||||
@@ -2055,7 +2072,7 @@ public class ProcessorUtilities {
|
||||
}
|
||||
// because all jobs are based one new way, set the flag "oldBuildJob" to false.
|
||||
return getCommandLine(false, skipClasspathJar, targetPlatform, externalUse, process,
|
||||
selectedProcessItem.getProperty(), contextName, true, statisticPort, tracePort, codeOptions);
|
||||
selectedProcessItem.getProperty(), contextName, true, statisticPort, tracePort, ignoreCustomJVMSetting, codeOptions);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2129,6 +2146,14 @@ public class ProcessorUtilities {
|
||||
public static String[] getCommandLine(boolean oldBuildJob, boolean skipClasspathJar, String targetPlatform,
|
||||
boolean externalUse, IProcess currentProcess, Property property, String contextName, boolean needContext,
|
||||
int statisticPort, int tracePort, String... codeOptions) throws ProcessorException {
|
||||
return getCommandLine(oldBuildJob, skipClasspathJar, targetPlatform,
|
||||
externalUse, currentProcess, property, contextName, needContext,
|
||||
statisticPort, tracePort, false, codeOptions);
|
||||
}
|
||||
|
||||
private static String[] getCommandLine(boolean oldBuildJob, boolean skipClasspathJar, String targetPlatform,
|
||||
boolean externalUse, IProcess currentProcess, Property property, String contextName, boolean needContext,
|
||||
int statisticPort, int tracePort, boolean ignoreCustomJVMSetting, String... codeOptions) throws ProcessorException {
|
||||
if (currentProcess == null) {
|
||||
return new String[] {};
|
||||
}
|
||||
@@ -2141,7 +2166,7 @@ public class ProcessorUtilities {
|
||||
processor.setSkipClasspathJar(skipClasspathJar);
|
||||
processor.setTargetPlatform(targetPlatform);
|
||||
processor.setOldBuildJob(oldBuildJob);
|
||||
return processor.getCommandLine(needContext, externalUse, statisticPort, tracePort, codeOptions);
|
||||
return processor.getCommandLine(needContext, externalUse, statisticPort, tracePort, ignoreCustomJVMSetting, codeOptions);
|
||||
}
|
||||
|
||||
public static String[] getCommandLine(boolean oldBuildJob, String targetPlatform, boolean externalUse,
|
||||
|
||||
@@ -46,12 +46,6 @@
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.talend.studio</groupId>
|
||||
<artifactId>features-maven-plugin-2-2-9-tos</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.talend.studio</groupId>
|
||||
<artifactId>maven-bundle-plugin-2-3-7-tos</artifactId>
|
||||
@@ -76,18 +70,30 @@
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.talend.studio</groupId>
|
||||
<artifactId>studio-maven-repository-zip</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.talend.studio</groupId>
|
||||
<artifactId>build-helper-maven-plugin-3-0-0-tos</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.talend.studio</groupId>
|
||||
<artifactId>karaf-maven-plugin-4-2-4-tos</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.talend.studio</groupId>
|
||||
<artifactId>studio-maven-repository-zip</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.talend.studio</groupId>
|
||||
<artifactId>karaf-maven-plugin-4-2-4-tos</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<profiles>
|
||||
<profile>
|
||||
|
||||
@@ -7,41 +7,30 @@
|
||||
<version>7.3.1-SNAPSHOT</version>
|
||||
<relativePath>../../../</relativePath>
|
||||
</parent>
|
||||
<artifactId>features-maven-plugin-2-2-9-tos</artifactId>
|
||||
<artifactId>karaf-maven-plugin-4-2-4-tos</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.karaf.tooling</groupId>
|
||||
<artifactId>features-maven-plugin</artifactId>
|
||||
<version>2.2.9</version>
|
||||
<artifactId>karaf-maven-plugin</artifactId>
|
||||
<version>4.2.4</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.apache.felix.bundlerepository</artifactId>
|
||||
<version>1.6.4</version>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<version>1.7.12</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
<artifactId>org.osgi.core</artifactId>
|
||||
<version>4.2.0</version>
|
||||
<groupId>org.apache.maven.shared</groupId>
|
||||
<artifactId>maven-dependency-tree</artifactId>
|
||||
<version>3.0.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.easymock</groupId>
|
||||
<artifactId>easymock</artifactId>
|
||||
<version>3.1</version>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-framework-bom</artifactId>
|
||||
<version>5.0.2.RELEASE</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
|
||||
<!-- Required by commons-lang-2.6.pom -->
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-parent</artifactId>
|
||||
<version>17</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
@@ -10,9 +10,9 @@
|
||||
<artifactId>studio-maven-repository-build</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>plugins/features-maven-plugin-2-2-9</module>
|
||||
<module>plugins/maven-bundle-plugin-2-3-7</module>
|
||||
<module>plugins/maven-bundle-plugin-2-5-3</module>
|
||||
<module>plugins/karaf-maven-plugin-4-2-4</module>
|
||||
<module>plugins/maven-install-plugin-2-5-1</module>
|
||||
<module>plugins/talend-compiler-plugin</module>
|
||||
<module>plugins/build-helper-maven-plugin-3-0-0</module>
|
||||
|
||||
@@ -11,4 +11,5 @@ ProjectPomProjectSettingPage_FilterPomLabel=Filter to use to generate poms:
|
||||
ProjectPomProjectSettingPage_FilterErrorMessage=Invalid filter: {0}
|
||||
ProjectPomProjectSettingPage.syncAllPomsButtonText=Force full re-synchronize poms
|
||||
AbstractPersistentProjectSettingPage.syncAllPoms=Do you want to update all poms? \n This operation might take long time depends on your project size.
|
||||
MavenProjectSettingPage.filterExampleMessage=Filter examples:\nlabel=myJob \t\t\t\t=> Generate only the job named "myJob"\n!(label=myJob) \t\t\t\t=> Generate any job except the one named "myJob"\n(path=folder1/folder2) \t\t\t=> Generate any job in the folder "folder1/folder2"\n(path=folder1/folder2)or(label=myJob)\t=> Generate any job in the folder "folder1/folder2" or named "myJob"\n(label=myJob)and(version=0.2) \t=> Generate only the job named "myJob" with version 0.2\n!((label=myJob)and(version=0.1)) \t=> Generate every jobs except the "myJob" version 0.1
|
||||
MavenProjectSettingPage.filterExampleMessage=Filter examples:\nlabel=myJob \t\t\t\t=> Generate only the job named "myJob"\n!(label=myJob) \t\t\t\t=> Generate any job except the one named "myJob"\n(path=folder1/folder2) \t\t\t=> Generate any job in the folder "folder1/folder2"\n(path=folder1/folder2)or(label=myJob)\t=> Generate any job in the folder "folder1/folder2" or named "myJob"\n(label=myJob)and(version=0.2) \t=> Generate only the job named "myJob" with version 0.2\n!((label=myJob)and(version=0.1)) \t=> Generate every jobs except the "myJob" version 0.1
|
||||
MavenProjectSettingPage.refModuleText=Set reference project modules in profile
|
||||
@@ -50,6 +50,8 @@ public class MavenProjectSettingPage extends AbstractProjectSettingPage {
|
||||
|
||||
private IPreferenceStore preferenceStore;
|
||||
|
||||
private Button useProfileModuleCheckbox;
|
||||
|
||||
public MavenProjectSettingPage() {
|
||||
noDefaultAndApplyButton();
|
||||
}
|
||||
@@ -84,6 +86,10 @@ public class MavenProjectSettingPage extends AbstractProjectSettingPage {
|
||||
filterExampleLable.setText(Messages.getString("MavenProjectSettingPage.filterExampleMessage")); //$NON-NLS-1$
|
||||
filterExampleLable.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
|
||||
|
||||
useProfileModuleCheckbox = new Button(parent, SWT.CHECK);
|
||||
useProfileModuleCheckbox.setText(Messages.getString("MavenProjectSettingPage.refModuleText")); //$NON-NLS-1$
|
||||
useProfileModuleCheckbox.setSelection(preferenceStore.getBoolean(MavenConstants.USE_PROFILE_MODULE));
|
||||
|
||||
filterText.setText(filter);
|
||||
filterText.addModifyListener(new ModifyListener() {
|
||||
|
||||
@@ -115,6 +121,7 @@ public class MavenProjectSettingPage extends AbstractProjectSettingPage {
|
||||
public void widgetSelected(SelectionEvent event) {
|
||||
try {
|
||||
preferenceStore.setValue(MavenConstants.POM_FILTER, getRealVersionFilter(filter));
|
||||
preferenceStore.setValue(MavenConstants.USE_PROFILE_MODULE, useProfileModuleCheckbox.getSelection());
|
||||
new AggregatorPomsHelper().syncAllPoms();
|
||||
} catch (Exception e) {
|
||||
ExceptionHandler.process(e);
|
||||
@@ -133,6 +140,7 @@ public class MavenProjectSettingPage extends AbstractProjectSettingPage {
|
||||
boolean ok = super.performOk();
|
||||
if (preferenceStore != null) {
|
||||
preferenceStore.setValue(MavenConstants.POM_FILTER, getRealVersionFilter(filter));
|
||||
preferenceStore.setValue(MavenConstants.USE_PROFILE_MODULE, useProfileModuleCheckbox.getSelection());
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
||||
@@ -12,24 +12,22 @@
|
||||
// ============================================================================
|
||||
package org.talend.designer.maven.tools;
|
||||
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.DIR_AGGREGATORS;
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.DIR_BEANS;
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.DIR_CODES;
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.DIR_JOBS;
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.DIR_PIGUDFS;
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.DIR_POMS;
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.DIR_ROUTINES;
|
||||
import static org.talend.designer.maven.model.TalendJavaProjectConstants.*;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.maven.model.Activation;
|
||||
import org.apache.maven.model.Model;
|
||||
import org.apache.maven.model.Profile;
|
||||
import org.eclipse.core.resources.IContainer;
|
||||
import org.eclipse.core.resources.IFile;
|
||||
import org.eclipse.core.resources.IFolder;
|
||||
@@ -56,7 +54,6 @@ import org.talend.core.context.Context;
|
||||
import org.talend.core.context.RepositoryContext;
|
||||
import org.talend.core.model.general.ILibrariesService;
|
||||
import org.talend.core.model.general.ModuleNeeded;
|
||||
import org.talend.core.model.general.Project;
|
||||
import org.talend.core.model.process.ProcessUtils;
|
||||
import org.talend.core.model.properties.Item;
|
||||
import org.talend.core.model.properties.ProjectReference;
|
||||
@@ -110,27 +107,29 @@ public class AggregatorPomsHelper {
|
||||
return projectTechName;
|
||||
}
|
||||
|
||||
public void createRootPom(List<String> modules, boolean force, IProgressMonitor monitor) throws Exception {
|
||||
public void createRootPom(Model model, boolean force, IProgressMonitor monitor)
|
||||
throws Exception {
|
||||
IFile pomFile = getProjectRootPom();
|
||||
if (force || !pomFile.exists()) {
|
||||
Map<String, Object> parameters = new HashMap<String, Object>();
|
||||
parameters.put(MavenTemplateManager.KEY_PROJECT_NAME, projectTechName);
|
||||
Model model = MavenTemplateManager.getCodeProjectTemplateModel(parameters);
|
||||
if (modules != null && !modules.isEmpty()) {
|
||||
model.setModules(modules);
|
||||
if (model == null) {
|
||||
model = getCodeProjectTemplateModel();
|
||||
}
|
||||
PomUtil.savePom(monitor, model, pomFile);
|
||||
}
|
||||
}
|
||||
|
||||
public void createRootPom(IProgressMonitor monitor) throws Exception {
|
||||
Model newModel = getCodeProjectTemplateModel();
|
||||
IFile pomFile = getProjectRootPom();
|
||||
List<String> modules = null;
|
||||
if (pomFile != null && pomFile.exists()) {
|
||||
Model model = MavenPlugin.getMavenModelManager().readMavenModel(pomFile);
|
||||
modules = model.getModules();
|
||||
Model oldModel = MavenPlugin.getMavenModelManager().readMavenModel(pomFile);
|
||||
List<Profile> profiles = oldModel.getProfiles().stream()
|
||||
.filter(profile -> StringUtils.startsWithIgnoreCase(profile.getId(), projectTechName))
|
||||
.collect(Collectors.toList());
|
||||
newModel.setModules(oldModel.getModules());
|
||||
newModel.getProfiles().addAll(profiles);
|
||||
}
|
||||
createRootPom(modules, true, monitor);
|
||||
createRootPom(newModel, true, monitor);
|
||||
}
|
||||
|
||||
public void installRootPom(boolean force) throws Exception {
|
||||
@@ -290,37 +289,38 @@ public class AggregatorPomsHelper {
|
||||
}
|
||||
}
|
||||
|
||||
public void updateRefProjectModules(List<ProjectReference> references) {
|
||||
public void updateRefProjectModules(List<ProjectReference> references, IProgressMonitor monitor) {
|
||||
if (!needUpdateRefProjectModules()) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
List<String> modules = new ArrayList<>();
|
||||
for (ProjectReference reference : references) {
|
||||
String refProjectTechName = reference.getReferencedProject().getTechnicalLabel();
|
||||
String modulePath = "../../" + refProjectTechName + "/" + TalendJavaProjectConstants.DIR_POMS; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
modules.add(modulePath);
|
||||
Model model = MavenPlugin.getMavenModelManager().readMavenModel(getProjectRootPom());
|
||||
if (PomIdsHelper.useProfileModule()) {
|
||||
List<Profile> profiles = collectRefProjectProfiles(references);
|
||||
Iterator<Profile> iterator = model.getProfiles().listIterator();
|
||||
iterator.forEachRemaining(profile -> {
|
||||
if (StringUtils.startsWithIgnoreCase(profile.getId(), projectTechName)) {
|
||||
iterator.remove();
|
||||
}
|
||||
});
|
||||
model.getProfiles().addAll(profiles);
|
||||
} else {
|
||||
List<String> refPrjectModules = new ArrayList<>();
|
||||
references.forEach(reference -> {
|
||||
String refProjectTechName = reference.getReferencedProject().getTechnicalLabel();
|
||||
String modulePath = "../../" + refProjectTechName + "/" + TalendJavaProjectConstants.DIR_POMS; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
refPrjectModules.add(modulePath);
|
||||
});
|
||||
List<String> modules = model.getModules();
|
||||
Iterator<String> iterator = modules.listIterator();
|
||||
iterator.forEachRemaining(modulePath -> {
|
||||
if (modulePath.startsWith("../../")) { //$NON-NLS-1$
|
||||
iterator.remove();
|
||||
}
|
||||
});
|
||||
modules.addAll(refPrjectModules);
|
||||
}
|
||||
|
||||
Project mainProject = ProjectManager.getInstance().getCurrentProject();
|
||||
IFolder mainPomsFolder = new AggregatorPomsHelper(mainProject.getTechnicalLabel()).getProjectPomsFolder();
|
||||
IFile mainPomFile = mainPomsFolder.getFile(TalendMavenConstants.POM_FILE_NAME);
|
||||
|
||||
Model model = MavenPlugin.getMavenModelManager().readMavenModel(mainPomFile);
|
||||
List<String> oldModules = model.getModules();
|
||||
if (oldModules == null) {
|
||||
oldModules = new ArrayList<>();
|
||||
}
|
||||
ListIterator<String> iterator = oldModules.listIterator();
|
||||
while (iterator.hasNext()) {
|
||||
String modulePath = iterator.next();
|
||||
if (modulePath.startsWith("../../")) { //$NON-NLS-1$
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
oldModules.addAll(modules);
|
||||
|
||||
PomUtil.savePom(null, model, mainPomFile);
|
||||
createRootPom(model, true, monitor);
|
||||
} catch (Exception e) {
|
||||
ExceptionHandler.process(e);
|
||||
}
|
||||
@@ -710,47 +710,48 @@ public class AggregatorPomsHelper {
|
||||
return null;
|
||||
}
|
||||
|
||||
private void collectModules(List<String> modules) {
|
||||
IRunProcessService service = getRunProcessService();
|
||||
if (service != null) {
|
||||
modules.add(
|
||||
getModulePath(service.getTalendCodeJavaProject(ERepositoryObjectType.ROUTINES).getProjectPom()));
|
||||
if (ProcessUtils.isRequiredPigUDFs(null)) {
|
||||
modules.add(
|
||||
getModulePath(service.getTalendCodeJavaProject(ERepositoryObjectType.PIG_UDF).getProjectPom()));
|
||||
}
|
||||
if (ProcessUtils.isRequiredBeans(null)) {
|
||||
modules.add(getModulePath(service
|
||||
.getTalendCodeJavaProject(ERepositoryObjectType.valueOf("BEANS")) //$NON-NLS-1$
|
||||
.getProjectPom()));
|
||||
}
|
||||
private List<Profile> collectRefProjectProfiles(List<ProjectReference> references) throws CoreException {
|
||||
if (!needUpdateRefProjectModules()) {
|
||||
Model model = MavenPlugin.getMavenModelManager().readMavenModel(getProjectRootPom());
|
||||
List<Profile> profiles = model.getProfiles();
|
||||
return profiles.stream().filter(profile -> StringUtils.startsWithIgnoreCase(profile.getId(), projectTechName))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
if (needUpdateRefProjectModules()) {
|
||||
List<ProjectReference> references =
|
||||
ProjectManager.getInstance().getCurrentProject().getProjectReferenceList(true);
|
||||
for (ProjectReference reference : references) {
|
||||
String refProjectTechName = reference.getReferencedProject().getTechnicalLabel();
|
||||
String modulePath = "../../" + refProjectTechName + "/" + TalendJavaProjectConstants.DIR_POMS; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
modules.add(modulePath);
|
||||
}
|
||||
} else {
|
||||
Project mainProject = ProjectManager.getInstance().getCurrentProject();
|
||||
IFolder mainPomsFolder = new AggregatorPomsHelper(mainProject.getTechnicalLabel()).getProjectPomsFolder();
|
||||
IFile mainPomFile = mainPomsFolder.getFile(TalendMavenConstants.POM_FILE_NAME);
|
||||
try {
|
||||
Model model = MavenPlugin.getMavenModelManager().readMavenModel(mainPomFile);
|
||||
List<String> oldModules = model.getModules();
|
||||
if (oldModules != null) {
|
||||
for (String modulePath : oldModules) {
|
||||
if (modulePath.startsWith("../../")) { //$NON-NLS-1$
|
||||
modules.add(modulePath);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (CoreException e) {
|
||||
ExceptionHandler.process(e);
|
||||
}
|
||||
if (references == null) {
|
||||
references = ProjectManager.getInstance().getCurrentProject().getProjectReferenceList(true);
|
||||
}
|
||||
List<Profile> profiles = new ArrayList<>();
|
||||
references.forEach(reference -> {
|
||||
String refProjectTechName = reference.getReferencedProject().getTechnicalLabel();
|
||||
String modulePath = "../../" + refProjectTechName + "/" + TalendJavaProjectConstants.DIR_POMS; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
Profile profile = new Profile();
|
||||
profile.setId((projectTechName + "_" + refProjectTechName).toLowerCase()); //$NON-NLS-1$
|
||||
Activation activation = new Activation();
|
||||
activation.setActiveByDefault(true);
|
||||
profile.setActivation(activation);
|
||||
profile.getModules().add(modulePath);
|
||||
profiles.add(profile);
|
||||
});
|
||||
return profiles;
|
||||
}
|
||||
|
||||
private List<String> collectRefProjectModules(List<ProjectReference> references) throws CoreException {
|
||||
if (!needUpdateRefProjectModules()) {
|
||||
Model model = MavenPlugin.getMavenModelManager().readMavenModel(getProjectRootPom());
|
||||
return model.getModules().stream().filter(modulePath -> modulePath.startsWith("../../")) //$NON-NLS-1$
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
if (references == null) {
|
||||
references = ProjectManager.getInstance().getCurrentProject().getProjectReferenceList(true);
|
||||
}
|
||||
List<String> modules = new ArrayList<>();
|
||||
references.forEach(reference -> {
|
||||
String refProjectTechName = reference.getReferencedProject().getTechnicalLabel();
|
||||
String modulePath = "../../" + refProjectTechName + "/" + TalendJavaProjectConstants.DIR_POMS; //$NON-NLS-1$ //$NON-NLS-2$
|
||||
modules.add(modulePath);
|
||||
});
|
||||
return modules;
|
||||
|
||||
}
|
||||
|
||||
public boolean needUpdateRefProjectModules() {
|
||||
@@ -841,8 +842,15 @@ public class AggregatorPomsHelper {
|
||||
}
|
||||
// sync project pom again with all modules.
|
||||
monitor.subTask("Synchronize project pom with modules"); //$NON-NLS-1$
|
||||
collectModules(modules);
|
||||
createRootPom(modules, true, monitor);
|
||||
collectCodeModules(modules);
|
||||
Model model = getCodeProjectTemplateModel();
|
||||
if (PomIdsHelper.useProfileModule()) {
|
||||
model.getProfiles().addAll(collectRefProjectProfiles(null));
|
||||
} else {
|
||||
modules.addAll(collectRefProjectModules(null));
|
||||
}
|
||||
model.setModules(modules);
|
||||
createRootPom(model, true, monitor);
|
||||
installRootPom(true);
|
||||
monitor.worked(1);
|
||||
if (monitor.isCanceled()) {
|
||||
@@ -851,6 +859,21 @@ public class AggregatorPomsHelper {
|
||||
monitor.done();
|
||||
}
|
||||
|
||||
private void collectCodeModules(List<String> modules) {
|
||||
// collect codes modules
|
||||
IRunProcessService service = getRunProcessService();
|
||||
if (service != null) {
|
||||
modules.add(getModulePath(service.getTalendCodeJavaProject(ERepositoryObjectType.ROUTINES).getProjectPom()));
|
||||
if (ProcessUtils.isRequiredPigUDFs(null)) {
|
||||
modules.add(getModulePath(service.getTalendCodeJavaProject(ERepositoryObjectType.PIG_UDF).getProjectPom()));
|
||||
}
|
||||
if (ProcessUtils.isRequiredBeans(null)) {
|
||||
modules.add(getModulePath(service.getTalendCodeJavaProject(ERepositoryObjectType.valueOf("BEANS")) //$NON-NLS-1$
|
||||
.getProjectPom()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if is a esb data service job
|
||||
*
|
||||
@@ -879,6 +902,12 @@ public class AggregatorPomsHelper {
|
||||
return null;
|
||||
}
|
||||
|
||||
private Model getCodeProjectTemplateModel() {
|
||||
Map<String, Object> parameters = new HashMap<String, Object>();
|
||||
parameters.put(MavenTemplateManager.KEY_PROJECT_NAME, projectTechName);
|
||||
return MavenTemplateManager.getCodeProjectTemplateModel(parameters);
|
||||
}
|
||||
|
||||
private static IRunProcessService getRunProcessService() {
|
||||
if (GlobalServiceRegister.getDefault().isServiceRegistered(IRunProcessService.class)) {
|
||||
IRunProcessService runProcessService =
|
||||
|
||||
@@ -260,6 +260,12 @@ public class PomIdsHelper {
|
||||
return manager.getValue(MavenConstants.POM_FILTER);
|
||||
}
|
||||
|
||||
public static boolean useProfileModule() {
|
||||
String projectTechName = ProjectManager.getInstance().getCurrentProject().getTechnicalLabel();
|
||||
ProjectPreferenceManager manager = getPreferenceManager(projectTechName);
|
||||
return manager.getBoolean(MavenConstants.USE_PROFILE_MODULE);
|
||||
}
|
||||
|
||||
private static String getGroupId(String projectTechName, String baseName, Property property) {
|
||||
if (projectTechName == null) {
|
||||
projectTechName = ProjectManager.getInstance().getCurrentProject().getTechnicalLabel();
|
||||
|
||||
@@ -547,7 +547,7 @@ public class PomUtil {
|
||||
|
||||
File resolve = null;
|
||||
try {
|
||||
resolve = TalendMavenResolver.getMavenResolver().resolve(localMavenUri);
|
||||
resolve = TalendMavenResolver.resolve(localMavenUri);
|
||||
} catch (IOException | RuntimeException e) {
|
||||
resolve = null;
|
||||
}
|
||||
|
||||
@@ -45,9 +45,9 @@
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.talend.libraries</groupId>
|
||||
<groupId>org.talend.components.lib</groupId>
|
||||
<artifactId>talend-db-exasol</artifactId>
|
||||
<version>2.1.3</version>
|
||||
<version>2.1.4</version>
|
||||
<type>jar</type>
|
||||
<overWrite>true</overWrite>
|
||||
<outputDirectory>${libs.dir}</outputDirectory>
|
||||
|
||||
@@ -116,6 +116,10 @@ public class ConfigModuleDialog extends TitleAreaDialog implements IConfigModule
|
||||
private String defaultURIValue = "";
|
||||
|
||||
private Set<String> jarsAvailable;
|
||||
|
||||
private boolean useCustom = false;
|
||||
|
||||
private String customURI = null;
|
||||
|
||||
/**
|
||||
* DOC wchen InstallModuleDialog constructor comment.
|
||||
@@ -553,11 +557,13 @@ public class ConfigModuleDialog extends TitleAreaDialog implements IConfigModule
|
||||
layoutWarningComposite(false, defaultUriTxt.getText());
|
||||
if (useCustomBtn.getSelection()) {
|
||||
customUriText.setEnabled(true);
|
||||
useCustom = true;
|
||||
if ("".equals(customUriText.getText())) {
|
||||
customUriText.setText(ModuleMavenURIUtils.MVNURI_TEMPLET);
|
||||
}
|
||||
} else {
|
||||
customUriText.setEnabled(false);
|
||||
useCustom = false;
|
||||
}
|
||||
checkFieldsError();
|
||||
}
|
||||
@@ -807,7 +813,6 @@ public class ConfigModuleDialog extends TitleAreaDialog implements IConfigModule
|
||||
@Override
|
||||
protected void okPressed() {
|
||||
String originalURI = null;
|
||||
String customURI = null;
|
||||
originalURI = defaultUriTxt.getText().trim();
|
||||
defaultURI = originalURI;
|
||||
if (useCustomBtn.getSelection()) {
|
||||
@@ -889,6 +894,9 @@ public class ConfigModuleDialog extends TitleAreaDialog implements IConfigModule
|
||||
*/
|
||||
@Override
|
||||
public String getMavenURI() {
|
||||
if (useCustom && customURI != null) {
|
||||
return customURI;
|
||||
}
|
||||
return defaultURI;
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ public class ShareMavenArtifactsOnStartup extends ShareLibrareisHelper {
|
||||
MavenUrlHelper.MVN_PROTOCOL + MavenConstants.LOCAL_RESOLUTION_URL + MavenUrlHelper.REPO_SEPERATOR);
|
||||
File file = null;
|
||||
try {
|
||||
file = TalendMavenResolver.getMavenResolver().resolve(localMvnUrl);
|
||||
file = TalendMavenResolver.resolve(localMvnUrl);
|
||||
} catch (IOException | RuntimeException e) {
|
||||
ExceptionHandler.process(e);
|
||||
}
|
||||
|
||||
@@ -98,23 +98,7 @@ public class NexusDownloadHelperWithProgress extends DownloadHelperWithProgress
|
||||
private File resolveJar(ArtifactRepositoryBean customNexusServer, String decryptedMvnUri) throws Exception {
|
||||
ILibraryManagerService libManager = (ILibraryManagerService) GlobalServiceRegister.getDefault()
|
||||
.getService(ILibraryManagerService.class);
|
||||
File resolved = null;
|
||||
try {
|
||||
resolved = libManager.resolveJar(customNexusServer, decryptedMvnUri);
|
||||
} catch (Exception e) {
|
||||
// hide the user/password in the error
|
||||
String regex = "\\://(.+)\\:(.+)@";
|
||||
String message = e.getMessage();
|
||||
message = message.replaceAll(regex, "://");
|
||||
Exception cause = null;
|
||||
if (e.getCause() != null) {
|
||||
String causeMessage = e.getCause().getMessage();
|
||||
causeMessage = causeMessage.replaceAll(regex, "://");
|
||||
cause = new Exception(causeMessage);
|
||||
}
|
||||
throw new Exception(message, cause);
|
||||
}
|
||||
return resolved;
|
||||
return libManager.resolveJar(customNexusServer, decryptedMvnUri);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
// ============================================================================
|
||||
package routines;
|
||||
|
||||
import routines.system.RandomUtils;
|
||||
|
||||
public class Mathematical {
|
||||
|
||||
/**
|
||||
@@ -381,7 +383,7 @@ public class Mathematical {
|
||||
*
|
||||
*/
|
||||
public static double RND(double a) {
|
||||
return Math.random() * a;
|
||||
return RandomUtils.random() * a;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,10 +6,13 @@
|
||||
package routines;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import routines.system.RandomUtils;
|
||||
|
||||
public class Numeric {
|
||||
|
||||
private static final java.util.Map<String, Integer> seq_Hash = new java.util.HashMap<String, Integer>();
|
||||
private static final java.util.Map<String, Integer> seq_Hash = new ConcurrentHashMap<>();
|
||||
|
||||
/**
|
||||
* return an incremented numeric id
|
||||
@@ -30,13 +33,8 @@ public class Numeric {
|
||||
*
|
||||
*/
|
||||
public static Integer sequence(String seqName, int startValue, int step) {
|
||||
if (seq_Hash.containsKey(seqName)) {
|
||||
seq_Hash.put(seqName, seq_Hash.get(seqName) + step);
|
||||
return seq_Hash.get(seqName);
|
||||
} else {
|
||||
seq_Hash.put(seqName, startValue);
|
||||
return startValue;
|
||||
}
|
||||
return seq_Hash.compute(seqName,
|
||||
(String k, Integer v) -> v == null ? startValue : v + step);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -68,9 +66,7 @@ public class Numeric {
|
||||
*/
|
||||
|
||||
public static void removeSequence(String seqName) {
|
||||
if (seq_Hash.containsKey(seqName)) {
|
||||
seq_Hash.remove(seqName);
|
||||
}
|
||||
seq_Hash.remove(seqName);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -94,7 +90,7 @@ public class Numeric {
|
||||
if (max < min) {
|
||||
throw new RuntimeException("Max value should be bigger than min value");
|
||||
}
|
||||
return ((Long) Math.round(min - 0.5 + (Math.random() * (max - min + 1)))).intValue();
|
||||
return ((Long) Math.round(min - 0.5 + (RandomUtils.random() * (max - min + 1)))).intValue();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
// ============================================================================
|
||||
package routines;
|
||||
|
||||
import routines.system.RandomUtils;
|
||||
|
||||
public class TalendDataGenerator {
|
||||
|
||||
/**
|
||||
@@ -18,7 +20,7 @@ public class TalendDataGenerator {
|
||||
String[] list = { "Abraham", "Andrew", "Benjamin", "Bill", "Calvin", "Chester", "Dwight", "Franklin", "George", "Gerald", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$
|
||||
"Grover", "Harry", "Herbert", "James", "Jimmy", "John", "Lyndon", "Martin", "Millard", "Richard", "Ronald", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$
|
||||
"Rutherford", "Theodore", "Thomas", "Ulysses", "Warren", "William", "Woodrow", "Zachary" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$
|
||||
Integer random = 0 + ((Long) Math.round(Math.random() * (list.length - 1 - 0))).intValue();
|
||||
Integer random = 0 + ((Long) Math.round(RandomUtils.random() * (list.length - 1 - 0))).intValue();
|
||||
return list[random];
|
||||
}
|
||||
|
||||
@@ -35,7 +37,7 @@ public class TalendDataGenerator {
|
||||
"Madison", "Monroe", "Carter", "Adams", "Kennedy", "Quincy", "Adams", "Tyler", "Johnson", "Van Buren", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$
|
||||
"Fillmore", "Nixon", "Reagan", "Hayes", "Roosevelt", "Jefferson", "Grant", "Harding", "Harrison", "Taft", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$
|
||||
"McKinley", "Wilson", "Taylor" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
Integer random = 0 + ((Long) Math.round(Math.random() * (list.length - 1 - 0))).intValue();
|
||||
Integer random = 0 + ((Long) Math.round(RandomUtils.random() * (list.length - 1 - 0))).intValue();
|
||||
return list[random];
|
||||
}
|
||||
|
||||
@@ -60,7 +62,7 @@ public class TalendDataGenerator {
|
||||
"San Simeon", "San Ysidro Blvd", "Santa Ana Freeway", "Santa Monica Road", "Santa Rosa North", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
|
||||
"Santa Rosa South", "South Highway", "South Roosevelt Drive", "Steele Lane", "Tanger Blvd", "Timberlane Drive", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$
|
||||
"Tully Road East", "Via Real", "W. Russell St.", "Westside Freeway", "Woodson Rd." }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
|
||||
Integer random = 0 + ((Long) Math.round(Math.random() * (list.length - 1 - 0))).intValue();
|
||||
Integer random = 0 + ((Long) Math.round(RandomUtils.random() * (list.length - 1 - 0))).intValue();
|
||||
return list[random];
|
||||
}
|
||||
|
||||
@@ -78,7 +80,7 @@ public class TalendDataGenerator {
|
||||
"Saint Paul", "Jackson", "Jefferson City", "Helena", "Lincoln", "Carson City", "Concord", "Trenton", "Santa Fe", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$
|
||||
"Albany", "Columbus", "Oklahoma City", "Salem", "Harrisburg", "Providence", "Nashville", "Austin", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$
|
||||
"Salt Lake City", "Montpelier", "Richmond", "Charleston", "Olympia", "Madison", "Cheyenne" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
|
||||
Integer random = 0 + ((Long) Math.round(Math.random() * (list.length - 1 - 0))).intValue();
|
||||
Integer random = 0 + ((Long) Math.round(RandomUtils.random() * (list.length - 1 - 0))).intValue();
|
||||
return list[random];
|
||||
}
|
||||
|
||||
@@ -96,7 +98,7 @@ public class TalendDataGenerator {
|
||||
"Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$
|
||||
"New Jersey", "New Mexico", "New York", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$
|
||||
"Tennessee", "Texas", "Utah", "Vermont", "Virginia", "West Virginia", "Washington", "Wisconsin", "Wyoming" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$
|
||||
Integer random = 0 + ((Long) Math.round(Math.random() * (list.length - 1 - 0))).intValue();
|
||||
Integer random = 0 + ((Long) Math.round(RandomUtils.random() * (list.length - 1 - 0))).intValue();
|
||||
return list[random];
|
||||
}
|
||||
|
||||
@@ -111,7 +113,7 @@ public class TalendDataGenerator {
|
||||
String[] list = { "AL", "AK", "AZ", "AR", "CA", "NC", "SC", "CO", "CT", "ND", "SD", "DE", "FL", "GA", "HI", "ID", "IL", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$ //$NON-NLS-12$ //$NON-NLS-13$ //$NON-NLS-14$ //$NON-NLS-15$ //$NON-NLS-16$ //$NON-NLS-17$
|
||||
"IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$ //$NON-NLS-12$ //$NON-NLS-13$ //$NON-NLS-14$ //$NON-NLS-15$ //$NON-NLS-16$ //$NON-NLS-17$ //$NON-NLS-18$ //$NON-NLS-19$
|
||||
"OH", "OK", "OR", "PA", "RI", "TN", "TX", "UT", "VT", "VA", "WV", "WA", "WI", "WY" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$ //$NON-NLS-12$ //$NON-NLS-13$ //$NON-NLS-14$
|
||||
Integer random = 0 + ((Long) Math.round(Math.random() * (list.length - 1 - 0))).intValue();
|
||||
Integer random = 0 + ((Long) Math.round(RandomUtils.random() * (list.length - 1 - 0))).intValue();
|
||||
return list[random];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ import java.util.TimeZone;
|
||||
|
||||
import routines.system.FastDateParser;
|
||||
import routines.system.LocaleProvider;
|
||||
import routines.system.RandomUtils;
|
||||
import routines.system.TalendTimestampWithTZ;
|
||||
|
||||
public class TalendDate {
|
||||
@@ -1147,7 +1148,7 @@ public class TalendDate {
|
||||
maxCal.set(Calendar.DAY_OF_MONTH, maxDay);
|
||||
|
||||
long random = minCal.getTimeInMillis()
|
||||
+ (long) ((maxCal.getTimeInMillis() - minCal.getTimeInMillis() + 1) * Math.random());
|
||||
+ (long) ((maxCal.getTimeInMillis() - minCal.getTimeInMillis() + 1) * RandomUtils.random());
|
||||
return new Date(random);
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ public class JobStructureCatcherUtils {
|
||||
this.job_version = jobVersion;
|
||||
}
|
||||
|
||||
public void addMessage(String component_id, String component_name, Map<String, String> component_parameters,
|
||||
private void addMessage(String component_id, String component_name, Map<String, String> component_parameters,
|
||||
List<Map<String, String>> component_schema, String input_connectors, String output_connectors,
|
||||
Map<String, String> connector_name_2_connector_schema, boolean current_connector_as_input,
|
||||
String current_connector_type, String current_connector, String currrent_row_content, long row_count,
|
||||
@@ -149,7 +149,7 @@ public class JobStructureCatcherUtils {
|
||||
current_connector_type, current_connector, null, 0, total_row_number, start_time, end_time, null);
|
||||
}
|
||||
|
||||
public void addComponentMessage(String component_id, String component_name) {
|
||||
public void addCM(String component_id, String component_name) {
|
||||
this.addMessage(component_id, component_name, null, null, null, null, null, false, null, null,
|
||||
null, 0, 0, 0, 0, null);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package routines.system;
|
||||
|
||||
import java.security.SecureRandom;
|
||||
|
||||
public class RandomUtils {
|
||||
|
||||
//lazy init, but no meaning now as only one method
|
||||
private static final class RandomNumberGeneratorHolder {
|
||||
static final SecureRandom randomNumberGenerator = new SecureRandom();
|
||||
}
|
||||
|
||||
public static double random() {
|
||||
return RandomNumberGeneratorHolder.randomNumberGenerator.nextDouble();
|
||||
}
|
||||
}
|
||||
@@ -20,6 +20,7 @@ import java.util.HashMap;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
public class RunStat implements Runnable {
|
||||
|
||||
@@ -51,7 +52,7 @@ public class RunStat implements Runnable {
|
||||
|
||||
public static String TYPE1_CONNECTION = "1";
|
||||
|
||||
public class StatBean {
|
||||
private class StatBean {
|
||||
|
||||
private String itemId;
|
||||
|
||||
@@ -333,7 +334,7 @@ public class RunStat implements Runnable {
|
||||
|
||||
private List<String> keysList4Meter = new LinkedList<String>();
|
||||
|
||||
public synchronized StatBean logStatOnConnection(String connectionId, int mode, int nbLine) {
|
||||
public synchronized StatBean log(String connectionId, int mode, int nbLine) {
|
||||
StatBean bean;
|
||||
String key = connectionId;
|
||||
if (connectionId.contains(".")) {
|
||||
@@ -386,7 +387,178 @@ public class RunStat implements Runnable {
|
||||
|
||||
return bean;
|
||||
}
|
||||
|
||||
public synchronized boolean log(Map<String, Object> resourceMap, String iterateId, String connectionUniqueName, int mode, int nbLine,
|
||||
JobStructureCatcherUtils jscu, String sourceNodeId, String sourceNodeComponent, String targetNodeId, String targetNodeComponent, String lineType) {
|
||||
if(resourceMap.get("inIterateVComp") == null || !((Boolean)resourceMap.get("inIterateVComp"))) {
|
||||
StatBean bean = log(connectionUniqueName, mode, nbLine);
|
||||
jscu.addConnectionMessage(
|
||||
sourceNodeId,
|
||||
sourceNodeComponent,
|
||||
false,
|
||||
lineType,
|
||||
connectionUniqueName+iterateId,
|
||||
bean.getNbLine(),
|
||||
bean.getStartTime(),
|
||||
bean.getEndTime()
|
||||
);
|
||||
|
||||
jscu.addConnectionMessage(
|
||||
targetNodeId,
|
||||
targetNodeComponent,
|
||||
true,
|
||||
"input",
|
||||
connectionUniqueName+iterateId,
|
||||
bean.getNbLine(),
|
||||
bean.getStartTime(),
|
||||
bean.getEndTime()
|
||||
);
|
||||
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void updateStat(Map<String, Object> resourceMap, String iterateId, int mode, int nbLine, String... connectionUniqueNames) {
|
||||
if(resourceMap.get("inIterateVComp") == null || !((Boolean)resourceMap.get("inIterateVComp"))){
|
||||
for(String connectionUniqueName : connectionUniqueNames) {
|
||||
updateStatOnConnection(connectionUniqueName+iterateId, mode, nbLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized boolean updateStatAndLog(boolean execStat, boolean enableLogStash, Map<String, Object> resourceMap, String iterateId, String connectionUniqueName, int mode, int nbLine,
|
||||
JobStructureCatcherUtils jscu, String sourceNodeId, String sourceNodeComponent, String targetNodeId, String targetNodeComponent, String lineType) {
|
||||
if(execStat) {
|
||||
updateStat(resourceMap, iterateId, mode, nbLine, connectionUniqueName);
|
||||
}
|
||||
|
||||
if(enableLogStash) {
|
||||
return log(resourceMap, iterateId, connectionUniqueName, mode, nbLine,
|
||||
jscu, sourceNodeId, sourceNodeComponent, targetNodeId, targetNodeComponent, lineType);
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void updateStatOnConnection(Map<String, Object> resourceMap, String iterateId, int mode, int nbLine, String... connectionUniqueNames) {
|
||||
if(resourceMap.get("inIterateVComp") == null){
|
||||
for(String connectionUniqueName : connectionUniqueNames) {
|
||||
updateStatOnConnection(connectionUniqueName+iterateId, mode, nbLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void log(Map<String, Object> resourceMap, String iterateId, int mode, int nbLine, String... connectionUniqueNames) {
|
||||
if(resourceMap.get("inIterateVComp") == null){
|
||||
for(String connectionUniqueName : connectionUniqueNames) {
|
||||
log(connectionUniqueName+iterateId, mode, nbLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void updateStatAndLog(boolean execStat, boolean enableLogStash, Map<String, Object> resourceMap, String iterateId, int mode, int nbLine, String... connectionUniqueNames) {
|
||||
if(execStat) {
|
||||
updateStatOnConnection(resourceMap, iterateId, mode, nbLine, connectionUniqueNames);
|
||||
}
|
||||
|
||||
if(enableLogStash) {
|
||||
log(resourceMap, iterateId, mode, nbLine, connectionUniqueNames);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void updateStatOnConnection(String iterateId, int mode, int nbLine, String... connectionUniqueNames) {
|
||||
for(String connectionUniqueName : connectionUniqueNames) {
|
||||
updateStatOnConnection(connectionUniqueName+iterateId, mode, nbLine);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void log(String iterateId, int mode, int nbLine, String... connectionUniqueNames) {
|
||||
for(String connectionUniqueName : connectionUniqueNames) {
|
||||
log(connectionUniqueName+iterateId, mode, nbLine);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void updateStatAndLog(boolean execStat, boolean enableLogStash, String iterateId, int mode, int nbLine, String... connectionUniqueNames) {
|
||||
if(execStat) {
|
||||
updateStatOnConnection(iterateId, mode, nbLine, connectionUniqueNames);
|
||||
}
|
||||
|
||||
if(enableLogStash) {
|
||||
log(iterateId, mode, nbLine, connectionUniqueNames);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void updateStatOnConnectionAndLog(Map<String, Object> globalMap, int iterateLoop, String iterateId, boolean execStat, boolean enableLogStash, int nbLine, String... connectionUniqueNames) {
|
||||
for(String connectionUniqueName : connectionUniqueNames) {
|
||||
ConcurrentHashMap<Object, Object> concurrentHashMap = (ConcurrentHashMap) globalMap.get("concurrentHashMap");
|
||||
concurrentHashMap.putIfAbsent(connectionUniqueName + iterateLoop,new java.util.concurrent.atomic.AtomicInteger(0));
|
||||
java.util.concurrent.atomic.AtomicInteger stats = (java.util.concurrent.atomic.AtomicInteger) concurrentHashMap.get(connectionUniqueName + iterateLoop);
|
||||
|
||||
int step = stats.incrementAndGet()<=1?0:1;
|
||||
|
||||
if(execStat) {
|
||||
updateStatOnConnection(connectionUniqueName+iterateId, step, nbLine);
|
||||
}
|
||||
|
||||
if(enableLogStash) {
|
||||
log(connectionUniqueName+iterateId, step, nbLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* work for avoiding the 65535 issue
|
||||
*/
|
||||
public synchronized void updateStatOnConnectionAndLog(Map<String, Object> resourceMap, Map<String, Object> globalMap, int iterateLoop, String iterateId, boolean execStat, boolean enableLogStash, int nbLine, String... connectionUniqueNames) {
|
||||
for(String connectionUniqueName : connectionUniqueNames) {
|
||||
if(resourceMap.get("inIterateVComp") == null) {
|
||||
ConcurrentHashMap<Object, Object> concurrentHashMap = (ConcurrentHashMap) globalMap.get("concurrentHashMap");
|
||||
concurrentHashMap.putIfAbsent(connectionUniqueName + iterateLoop,new java.util.concurrent.atomic.AtomicInteger(0));
|
||||
java.util.concurrent.atomic.AtomicInteger stats = (java.util.concurrent.atomic.AtomicInteger) concurrentHashMap.get(connectionUniqueName + iterateLoop);
|
||||
|
||||
int step = stats.incrementAndGet()<=1?0:1;
|
||||
|
||||
if(execStat) {
|
||||
updateStatOnConnection(connectionUniqueName+iterateId, step, nbLine);
|
||||
}
|
||||
|
||||
if(enableLogStash) {
|
||||
log(connectionUniqueName+iterateId, step, nbLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized void updateStatOnConnection(String connectionId, int mode, int nbLine) {
|
||||
StatBean bean;
|
||||
String key = connectionId;
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
<%
|
||||
EXTRACT(__SCHEMA__);
|
||||
String fieldsCreated = "";
|
||||
boolean flagCreated=false;
|
||||
|
||||
for(int i=0; i < __SCHEMA__.length; i++){
|
||||
if(flagCreated){
|
||||
fieldsCreated += ",";
|
||||
}else{
|
||||
flagCreated=true;
|
||||
}
|
||||
if( __SCHEMA_DBTYPE__[i].equals("VARCHAR") || __SCHEMA_DBTYPE__[i].equals("VARCHAR2") || __SCHEMA_DBTYPE__[i].equals("CHAR") || __SCHEMA_DBTYPE__[i].equals("BYTE") || __SCHEMA_DBTYPE__[i].equals("VARBYTE")){
|
||||
fieldsCreated += (__SCHEMA_NAME__[i] + " " + __SCHEMA_DBTYPE__[i] +" ("+ __SCHEMA_LENGTH__[i] +") ");
|
||||
} else if(__SCHEMA_DBTYPE__[i].equals("NUMBER") || __SCHEMA_DBTYPE__[i].equals("DECIMAL")){
|
||||
fieldsCreated += (__SCHEMA_NAME__[i] + " " + __SCHEMA_DBTYPE__[i] +" ("+ __SCHEMA_LENGTH__[i] +","+ __SCHEMA_PRECISION__[i] +") ");
|
||||
} else {
|
||||
fieldsCreated += (__SCHEMA_NAME__[i] + " " + __SCHEMA_DBTYPE__[i]);
|
||||
}
|
||||
if(__SCHEMA_NULLABLE__[i].equals("false")){
|
||||
fieldsCreated += " NOT NULL";
|
||||
}
|
||||
}
|
||||
String primary = "";
|
||||
for(int j=0; j < __SCHEMA__.length; j++){
|
||||
if(__SCHEMA_ISKEY__[j].equals("true") && __SCHEMA_NULLABLE__[j].equals("false")){
|
||||
if(primary.startsWith(" , PRIMARY KEY")) {
|
||||
primary += ","+__SCHEMA_NAME__[j];
|
||||
} else {
|
||||
primary += " , PRIMARY KEY ("+__SCHEMA_NAME__[j];
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!primary.equals("")){
|
||||
fieldsCreated += primary+")";
|
||||
}
|
||||
%>
|
||||
|
||||
CREATE TABLE <%= __TABLE_NAME__ %>
|
||||
(
|
||||
<%= fieldsCreated %>
|
||||
);
|
||||
@@ -0,0 +1,41 @@
|
||||
<%
|
||||
EXTRACT(__SCHEMA_TARGET__);
|
||||
String fieldsCreated = "";
|
||||
boolean flagCreated=false;
|
||||
|
||||
for(int i=0; i < __SCHEMA_TARGET__.length; i++){
|
||||
if(flagCreated){
|
||||
fieldsCreated += ",";
|
||||
}else{
|
||||
flagCreated=true;
|
||||
}
|
||||
if( __SCHEMA_TARGET_DBTYPE__[i].equals("VARCHAR") || __SCHEMA_TARGET_DBTYPE__[i].equals("VARCHAR2") || __SCHEMA_TARGET_DBTYPE__[i].equals("CHAR") || __SCHEMA_TARGET_DBTYPE__[i].equals("BYTE") || __SCHEMA_TARGET_DBTYPE__[i].equals("VARBYTE")){
|
||||
fieldsCreated += (__SCHEMA_TARGET_NAME__[i] + " " + __SCHEMA_TARGET_DBTYPE__[i] +" ("+ __SCHEMA_TARGET_LENGTH__[i] +") ");
|
||||
} else if(__SCHEMA_TARGET_DBTYPE__[i].equals("NUMBER") || __SCHEMA_TARGET_DBTYPE__[i].equals("DECIMAL")){
|
||||
fieldsCreated += (__SCHEMA_TARGET_NAME__[i] + " " + __SCHEMA_TARGET_DBTYPE__[i] +" ("+ __SCHEMA_TARGET_LENGTH__[i] +","+ __SCHEMA_TARGET_PRECISION__[i] +") ");
|
||||
} else {
|
||||
fieldsCreated += (__SCHEMA_TARGET_NAME__[i] + " " + __SCHEMA_TARGET_DBTYPE__[i]);
|
||||
}
|
||||
if(__SCHEMA_TARGET_NULLABLE__[i].equals("false")){
|
||||
fieldsCreated += " NOT NULL";
|
||||
}
|
||||
}
|
||||
String primary = "";
|
||||
for(int j=0; j < __SCHEMA_TARGET__.length; j++){
|
||||
if(__SCHEMA_TARGET_ISKEY__[j].equals("true") && __SCHEMA_TARGET_NULLABLE__[j].equals("false")){
|
||||
if(primary.startsWith(" , PRIMARY KEY")) {
|
||||
primary += ","+__SCHEMA_TARGET_NAME__[j];
|
||||
} else {
|
||||
primary += " , PRIMARY KEY ("+__SCHEMA_TARGET_NAME__[j];
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!primary.equals("")){
|
||||
fieldsCreated += primary+")";
|
||||
}
|
||||
%>
|
||||
|
||||
CREATE TABLE <%= __TABLE_NAME_TARGET__ %>
|
||||
(
|
||||
<%= fieldsCreated %>
|
||||
);
|
||||
@@ -0,0 +1,2 @@
|
||||
-- DROP SOURCE TABLE
|
||||
DROP TABLE <%= __TABLE_NAME__ %>;
|
||||
@@ -0,0 +1,2 @@
|
||||
-- DROP TARGET TABLE
|
||||
DROP TABLE <%=__TABLE_NAME_TARGET__%>;
|
||||
@@ -0,0 +1,101 @@
|
||||
-- This pattern generates a merge statement for Snowflake
|
||||
--(c) 2019 Talend Inc.
|
||||
<%
|
||||
EXTRACT(__MERGE_ON__);
|
||||
EXTRACT(__UPDATE_MAPPING__);
|
||||
EXTRACT(__ADDITIONAL_UPDATE_COLUMNS__);
|
||||
EXTRACT(__INSERT_MAPPING__);
|
||||
EXTRACT(__ADDITIONAL_INSERT_COLUMNS__);
|
||||
String dbType = "__DBTYPE__";
|
||||
boolean hasUpdateClause = __USE_UPDATE__;
|
||||
boolean hasAddtionalUpdateColumns = __SPECIFY_ADDITIONAL_UPDATE_COLUMNS__;
|
||||
boolean hasUpdateWhereClause = __SPECIFY_UPDATE_WHERE_CLAUSE__;
|
||||
boolean hasInsertClause = __USE_INSERT__;
|
||||
boolean hasAdditionalInsertColumns = __SPECIFY_ADDITIONAL_INSERT_COLUMNS__;
|
||||
boolean hasInsertWhereClause = __SPECIFY_INSERT_WHERE_CLAUSE__;
|
||||
|
||||
boolean flag = false;
|
||||
String mergeOnStr = "";
|
||||
for(int i=0; i < __MERGE_ON_SRC_COLUMN__.length; i++){
|
||||
if (flag) {
|
||||
mergeOnStr += " AND ";
|
||||
} else {
|
||||
flag = true;
|
||||
}
|
||||
mergeOnStr += (__TARGET_TABLE__ + "." + __MERGE_ON_TRG_COLUMN__[i] + " = " + __SOURCE_TABLE__ + "." + __MERGE_ON_SRC_COLUMN__[i]);
|
||||
}
|
||||
|
||||
String updateStr = "";
|
||||
String updateWhereStr = "";
|
||||
flag = false;
|
||||
if (hasUpdateClause) {
|
||||
for(int i=0; i < __UPDATE_MAPPING_SRC_COLUMN__.length; i++) {
|
||||
if (flag) {
|
||||
updateStr += ",";
|
||||
} else {
|
||||
flag = true;
|
||||
}
|
||||
updateStr += (__TARGET_TABLE__ + "." + __UPDATE_MAPPING_TRG_COLUMN__[i] + " = " + __SOURCE_TABLE__ + "." + __UPDATE_MAPPING_SRC_COLUMN__[i]);
|
||||
}
|
||||
if (hasAddtionalUpdateColumns) {
|
||||
for(int i=0; i < __ADDITIONAL_UPDATE_COLUMNS_TRG_COLUMN_VALUE__.length; i++) {
|
||||
if (flag) {
|
||||
updateStr += ",";
|
||||
} else {
|
||||
flag = true;
|
||||
}
|
||||
updateStr += (__TARGET_TABLE__ + "." + __ADDITIONAL_UPDATE_COLUMNS_TRG_COLUMN_NAME__[i] + " = " + __ADDITIONAL_UPDATE_COLUMNS_TRG_COLUMN_VALUE__[i]);
|
||||
}
|
||||
}
|
||||
if (hasUpdateWhereClause) {
|
||||
updateWhereStr = " " + __UPDATE_WHERE_CLAUSE__ + " ";
|
||||
}
|
||||
}
|
||||
|
||||
String insertColumnsStr = "";
|
||||
String insertValuesStr = "";
|
||||
String insertWhereStr = "";
|
||||
String insertStr = "";
|
||||
flag = false;
|
||||
if (hasInsertClause) {
|
||||
for(int i=0; i < __INSERT_MAPPING_TRG_COLUMN__.length; i++) {
|
||||
if (flag) {
|
||||
insertColumnsStr += ",";
|
||||
insertValuesStr += ",";
|
||||
} else {
|
||||
flag = true;
|
||||
}
|
||||
insertColumnsStr += (__TARGET_TABLE__ + "." + __INSERT_MAPPING_TRG_COLUMN__[i]);
|
||||
insertValuesStr += (__SOURCE_TABLE__ + "." + __INSERT_MAPPING_SRC_COLUMN__[i]);
|
||||
}
|
||||
if (hasAdditionalInsertColumns) {
|
||||
for(int i=0; i < __ADDITIONAL_INSERT_COLUMNS_TRG_COLUMN_NAME__.length; i++) {
|
||||
if (flag) {
|
||||
insertColumnsStr += ",";
|
||||
insertValuesStr += ",";
|
||||
} else {
|
||||
flag = true;
|
||||
}
|
||||
insertColumnsStr += (__TARGET_TABLE__ + "." + __ADDITIONAL_INSERT_COLUMNS_TRG_COLUMN_NAME__[i]);
|
||||
insertValuesStr += (__ADDITIONAL_INSERT_COLUMNS_TRG_COLUMN_VALUE__[i]);
|
||||
}
|
||||
}
|
||||
if (hasInsertWhereClause) {
|
||||
insertWhereStr = " " + __INSERT_WHERE_CLAUSE__ + " ";
|
||||
}
|
||||
|
||||
insertStr = "(" + insertColumnsStr + ") VALUES (" + insertValuesStr + ")";
|
||||
}
|
||||
|
||||
String mergeString = "";
|
||||
|
||||
if (hasInsertClause || hasUpdateClause) {
|
||||
mergeString = "MERGE INTO " + __TARGET_TABLE__ + " USING " + __SOURCE_TABLE__ +
|
||||
" ON (" + mergeOnStr + ")" +
|
||||
(hasUpdateClause ? (" WHEN MATCHED " + (hasUpdateWhereClause ? ("AND " + updateWhereStr) : "") + " THEN UPDATE SET " + updateStr) : "") +
|
||||
(hasInsertClause ? (" WHEN NOT MATCHED " + (hasInsertWhereClause ? ("AND " + insertWhereStr) : "") + " THEN INSERT " + insertStr) : "");
|
||||
} else {
|
||||
mergeString = "DELETE FROM " + __TARGET_TABLE__ + " WHERE 1=0";
|
||||
}
|
||||
%>
|
||||
<%=mergeString%>;
|
||||
@@ -46,7 +46,6 @@ import org.eclipse.core.runtime.preferences.ConfigurationScope;
|
||||
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
|
||||
import org.eclipse.core.runtime.preferences.InstanceScope;
|
||||
import org.eclipse.emf.common.util.EMap;
|
||||
import org.ops4j.pax.url.mvn.MavenResolver;
|
||||
import org.osgi.framework.BundleContext;
|
||||
import org.osgi.framework.FrameworkUtil;
|
||||
import org.osgi.framework.ServiceReference;
|
||||
@@ -971,7 +970,7 @@ public class LocalLibraryManager implements ILibraryManagerService, IChangedLibr
|
||||
localMavenUri = mvnUriStatusKey.replace("mvn:", "mvn:" + MavenConstants.LOCAL_RESOLUTION_URL + "!"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
try {
|
||||
File resolvedJar = TalendMavenResolver.getMavenResolver().resolve(localMavenUri);
|
||||
File resolvedJar = TalendMavenResolver.resolve(localMavenUri);
|
||||
if (resolvedJar != null) {
|
||||
try {
|
||||
updatePomFileForJar(mvnUriStatusKey);
|
||||
@@ -993,7 +992,6 @@ public class LocalLibraryManager implements ILibraryManagerService, IChangedLibr
|
||||
|
||||
private void updatePomFileForJar(String mvnUri) throws Exception {
|
||||
try {
|
||||
MavenResolver mavenResolver = TalendMavenResolver.getMavenResolver();
|
||||
MavenArtifact ma = MavenUrlHelper.parseMvnUrl(mvnUri);
|
||||
if (ma != null) {
|
||||
String repositoryUrl = ma.getRepositoryUrl();
|
||||
@@ -1015,14 +1013,14 @@ public class LocalLibraryManager implements ILibraryManagerService, IChangedLibr
|
||||
File pomFile = null;
|
||||
Exception pomEx = null;
|
||||
try {
|
||||
pomFile = mavenResolver.resolve(MavenUrlHelper.generateMvnUrl(pomMa));
|
||||
pomFile = TalendMavenResolver.resolve(MavenUrlHelper.generateMvnUrl(pomMa));
|
||||
} catch (Exception e) {
|
||||
pomEx = e;
|
||||
}
|
||||
if (pomFile == null && classifier != null && !classifier.trim().isEmpty()) {
|
||||
pomMa.setClassifier(classifier);
|
||||
try {
|
||||
pomFile = mavenResolver.resolve(MavenUrlHelper.generateMvnUrl(pomMa));
|
||||
pomFile = TalendMavenResolver.resolve(MavenUrlHelper.generateMvnUrl(pomMa));
|
||||
} catch (Exception e) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
@@ -1672,7 +1672,7 @@ public final class ConnectionContextHelper {
|
||||
}
|
||||
}
|
||||
for (String var : neededVars) {
|
||||
if (context.getContextParameter(var) != null) {
|
||||
if (context.containsSameParameterIgnoreCase(var)) {
|
||||
continue;
|
||||
}
|
||||
ContextParameterType param = ContextUtils.getContextParameterTypeByName(type, var);
|
||||
|
||||
@@ -1042,6 +1042,9 @@ public class ExtractMetaDataUtils {
|
||||
}
|
||||
}else{
|
||||
String jarName = librairesManagerService.getJarNameFromMavenuri(driverJarPathArg);
|
||||
if (jarName == null) {
|
||||
jarName = driverJarPathArg.split("/")[1] + ".jar";
|
||||
}
|
||||
if (!new File(getJavaLibPath() + jarName).exists()) {
|
||||
librairesManagerService.retrieve(jarName, getJavaLibPath(), new NullProgressMonitor());
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ public class ExtractManager {
|
||||
tablesToFilter = new ArrayList<String>();
|
||||
}
|
||||
try {
|
||||
Set<String> availableTableTypes = getAvailableTableTypes(dbMetaData);
|
||||
Set<String> availableTableTypes = getTableTypes(dbMetaData);
|
||||
retrieveTables(dbMetaData, schema, medataTables, availableTableTypes, tablesToFilter, limit);
|
||||
} catch (SQLException e) {
|
||||
ExceptionHandler.process(e);
|
||||
@@ -193,7 +193,7 @@ public class ExtractManager {
|
||||
ResultSet rsTableTypes = dbMetaData.getTableTypes();
|
||||
Set<String> availableTableTypes = new HashSet<String>();
|
||||
String[] neededTableTypes = { ETableTypes.TABLETYPE_TABLE.getName(), ETableTypes.TABLETYPE_VIEW.getName(),
|
||||
ETableTypes.TABLETYPE_SYNONYM.getName() };
|
||||
ETableTypes.TABLETYPE_SYNONYM.getName(), ETableTypes.EXTERNAL_TABLE.getName()};
|
||||
|
||||
try {
|
||||
while (rsTableTypes.next()) {
|
||||
@@ -213,6 +213,48 @@ public class ExtractManager {
|
||||
}
|
||||
return availableTableTypes;
|
||||
}
|
||||
|
||||
public Set<String> getTableTypes(DatabaseMetaData dbMetaData) throws SQLException{
|
||||
ResultSet rsTableTypes = dbMetaData.getTableTypes();
|
||||
Set<String> availableTableTypes = new HashSet<String>();
|
||||
String[] neededTableTypes = { ETableTypes.TABLETYPE_TABLE.getName(), ETableTypes.TABLETYPE_VIEW.getName(),
|
||||
ETableTypes.TABLETYPE_SYNONYM.getName(), ETableTypes.EXTERNAL_TABLE.getName()};
|
||||
try {
|
||||
while (rsTableTypes.next()) {
|
||||
// StringUtils.trimToEmpty(name) is because bug 4547
|
||||
String currentTableType = StringUtils.trimToEmpty(rsTableTypes.getString(ExtractManager.TABLE_TYPE));
|
||||
// Because BASE TABLE which UniJDBCClientResultSet gets is not the support type of
|
||||
// UniJDBCDatabaseMetaData, do this so as to dispose bug 17281.
|
||||
if ("BASE TABLE".equalsIgnoreCase(currentTableType)) { //$NON-NLS-1$
|
||||
currentTableType = ETableTypes.TABLETYPE_TABLE.getName();
|
||||
}
|
||||
if (ArrayUtils.contains(neededTableTypes, currentTableType)) {
|
||||
availableTableTypes.add(currentTableType);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
rsTableTypes.close();// See bug 5029 Avoid "Invalid cursor exception"
|
||||
}
|
||||
|
||||
if (EDatabaseTypeName.HIVE.getDisplayName().equals(dbType.getDbType())) {
|
||||
availableTableTypes.add(ETableTypes.MANAGED_TABLE.getName());
|
||||
availableTableTypes.add(ETableTypes.INDEX_TABLE.getName());
|
||||
availableTableTypes.add(ETableTypes.VIRTUAL_VIEW.getName());
|
||||
} else if (EDatabaseTypeName.SAPHana.getDisplayName().equals(dbType.getDbType())) {
|
||||
availableTableTypes.add(ETableTypes.TABLETYPE_CALCULATION_VIEW.getName());
|
||||
} else if (EDatabaseTypeName.MYSQL.getDisplayName().equals(dbType.getDbType())) {
|
||||
availableTableTypes.add(ETableTypes.SYSTEM_TABLE.getName());
|
||||
availableTableTypes.add(ETableTypes.SYSTEM_VIEW.getName());
|
||||
}else if (EDatabaseTypeName.AS400.getDisplayName().equals(dbType.getDbType())) {
|
||||
availableTableTypes.add(ETableTypes.TABLETYPE_TABLE.getName());
|
||||
availableTableTypes.add(ETableTypes.EXTERNAL_TABLE.getName());
|
||||
availableTableTypes.add(ETableTypes.TABLETYPE_VIEW.getName());
|
||||
availableTableTypes.add(ETableTypes.TABLETYPE_SYNONYM.getName());
|
||||
}else if (MetadataConnectionUtils.isOracle(dbMetaData)) {
|
||||
availableTableTypes.add(ETableTypes.TABLETYPE_ALL_SYNONYM.getName());
|
||||
}
|
||||
return availableTableTypes;
|
||||
}
|
||||
|
||||
public String getSchema(IMetadataConnection metadataConnection) {
|
||||
return metadataConnection != null ? metadataConnection.getSchema() : null;
|
||||
|
||||
@@ -2,12 +2,18 @@ Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.talend.model;singleton:=true
|
||||
Automatic-Module-Name: org.talend.model
|
||||
Bundle-Version: 7.3.1.qualifier
|
||||
Bundle-ClassPath: .
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core.runtime",
|
||||
org.talend.core.model.component_cache;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util",
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
||||
Export-Package: org.talend.core.model;
|
||||
uses:="org.osgi.framework,
|
||||
org.eclipse.core.runtime",
|
||||
org.talend.core.model.component_cache;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util",
|
||||
org.talend.core.model.component_cache.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -24,7 +30,9 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.eclipse.emf.ecore.resource,
|
||||
org.eclipse.emf.ecore.xmi.impl,
|
||||
org.talend.core.model.component_cache",
|
||||
org.talend.core.model.expression;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util",
|
||||
org.talend.core.model.expression;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util",
|
||||
org.talend.core.model.expression.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -72,7 +80,9 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.talend.designer.core.model.utils.emf.talendfile,
|
||||
org.talend.core.model.metadata.builder.connection,
|
||||
org.eclipse.gmf.runtime.notation",
|
||||
org.talend.core.model.properties.helper;uses:="org.eclipse.emf.common.util,org.eclipse.emf.ecore.resource.impl",
|
||||
org.talend.core.model.properties.helper;
|
||||
uses:="org.eclipse.emf.common.util,
|
||||
org.eclipse.emf.ecore.resource.impl",
|
||||
org.talend.core.model.properties.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -90,9 +100,16 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.talend.core.model.properties,
|
||||
org.eclipse.emf.common.notify,
|
||||
org.eclipse.emf.common.notify.impl",
|
||||
org.talend.core.model.resources;uses:="org.eclipse.emf.ecore,org.talend.core.model.properties",
|
||||
org.talend.cwm.constants;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util",
|
||||
org.talend.cwm.constants.impl;uses:="org.eclipse.emf.ecore,org.eclipse.emf.ecore.impl,org.talend.cwm.constants",
|
||||
org.talend.core.model.resources;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.talend.core.model.properties",
|
||||
org.talend.cwm.constants;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util",
|
||||
org.talend.cwm.constants.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
org.talend.cwm.constants",
|
||||
org.talend.cwm.helper;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
orgomg.cwm.foundation.businessinformation,
|
||||
@@ -140,7 +157,9 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.eclipse.emf.common.notify.impl,
|
||||
org.talend.core.model.metadata.builder.connection,
|
||||
org.talend.cwm.relational",
|
||||
org.talend.cwm.softwaredeployment;uses:="org.eclipse.emf.ecore,orgomg.cwm.foundation.softwaredeployment",
|
||||
org.talend.cwm.softwaredeployment;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
orgomg.cwm.foundation.softwaredeployment",
|
||||
org.talend.cwm.softwaredeployment.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -153,7 +172,10 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.eclipse.emf.common.notify,
|
||||
org.eclipse.emf.common.notify.impl,
|
||||
org.talend.cwm.softwaredeployment",
|
||||
org.talend.cwm.xml;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util,orgomg.cwm.resource.xml",
|
||||
org.talend.cwm.xml;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util,
|
||||
orgomg.cwm.resource.xml",
|
||||
org.talend.cwm.xml.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -168,7 +190,9 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.eclipse.emf.common.notify.impl,
|
||||
orgomg.cwm.resource.xml,
|
||||
org.talend.cwm.xml",
|
||||
org.talend.designer.business.model.business;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util",
|
||||
org.talend.designer.business.model.business;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util",
|
||||
org.talend.designer.business.model.business.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -180,7 +204,10 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.talend.designer.business.model.business,
|
||||
org.eclipse.emf.common.notify,
|
||||
org.eclipse.emf.common.notify.impl",
|
||||
org.talend.designer.core.model.utils.emf.component;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util,org.eclipse.emf.ecore.util",
|
||||
org.talend.designer.core.model.utils.emf.component;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util,
|
||||
org.eclipse.emf.ecore.util",
|
||||
org.talend.designer.core.model.utils.emf.component.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -199,7 +226,10 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.eclipse.emf.ecore.resource,
|
||||
org.eclipse.emf.ecore.util,
|
||||
org.talend.designer.core.model.utils.emf.component",
|
||||
org.talend.designer.core.model.utils.emf.talendfile;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util,org.eclipse.emf.ecore.util",
|
||||
org.talend.designer.core.model.utils.emf.talendfile;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util,
|
||||
org.eclipse.emf.ecore.util",
|
||||
org.talend.designer.core.model.utils.emf.talendfile.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -218,7 +248,10 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.eclipse.emf.common.notify,
|
||||
org.eclipse.emf.common.notify.impl,
|
||||
org.eclipse.emf.ecore.util",
|
||||
org.talend.designer.joblet.model;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util,org.talend.designer.core.model.utils.emf.talendfile",
|
||||
org.talend.designer.joblet.model;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util,
|
||||
org.talend.designer.core.model.utils.emf.talendfile",
|
||||
org.talend.designer.joblet.model.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
@@ -237,14 +270,18 @@ Export-Package: org.talend.core.model;uses:="org.osgi.framework,org.eclipse.core
|
||||
org.eclipse.emf.ecore.resource,
|
||||
org.eclipse.emf.common.notify,
|
||||
org.eclipse.emf.common.notify.impl",
|
||||
org.talend.model.bridge;uses:="org.talend.core.model.properties,org.eclipse.core.resources",
|
||||
org.talend.model.bridge;
|
||||
uses:="org.talend.core.model.properties,
|
||||
org.eclipse.core.resources",
|
||||
org.talend.model.emf;
|
||||
uses:="org.eclipse.emf.common.util,
|
||||
org.talend.commons.runtime.model.emf,
|
||||
org.eclipse.emf.ecore.resource,
|
||||
org.eclipse.emf.ecore.xmi.impl,
|
||||
org.eclipse.emf.ecore.xmi",
|
||||
org.talend.model.recyclebin;uses:="org.eclipse.emf.ecore,org.eclipse.emf.common.util",
|
||||
org.talend.model.recyclebin;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.common.util",
|
||||
org.talend.model.recyclebin.impl;
|
||||
uses:="org.eclipse.emf.ecore,
|
||||
org.eclipse.emf.ecore.impl,
|
||||
|
||||
@@ -725,6 +725,7 @@
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Proxypassword" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CustomEncode" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="UseFileNameEncoding" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Timeout" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
|
||||
</eClassifiers>
|
||||
<eClassifiers xsi:type="ecore:EClass" name="BRMSConnection" eSuperTypes="#//Connection">
|
||||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="xmlField" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
||||
|
||||
@@ -477,6 +477,7 @@
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute metadata.ecore#//FTPConnection/Proxypassword"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute metadata.ecore#//FTPConnection/CustomEncode"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute metadata.ecore#//FTPConnection/UseFileNameEncoding"/>
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute metadata.ecore#//FTPConnection/Timeout"/>
|
||||
</genClasses>
|
||||
<genClasses ecoreClass="metadata.ecore#//BRMSConnection">
|
||||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute metadata.ecore#//BRMSConnection/xmlField"/>
|
||||
|
||||
@@ -20,6 +20,7 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties <em>Properties</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getId <em>Id</em>}</li>
|
||||
@@ -29,7 +30,6 @@ import org.eclipse.emf.ecore.EObject;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#isSynchronised <em>Synchronised</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#isDivergency <em>Divergency</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getAbstractMetadataObject()
|
||||
* @model abstract="true"
|
||||
@@ -57,6 +57,7 @@ public interface AbstractMetadataObject extends ModelElement {
|
||||
* @model default="" dataType="org.talend.core.model.metadata.builder.connection.Map" required="true"
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
HashMap getProperties();
|
||||
|
||||
/**
|
||||
@@ -64,8 +65,10 @@ public interface AbstractMetadataObject extends ModelElement {
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Properties</em>' attribute.
|
||||
* @see #getProperties()
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
void setProperties(HashMap value);
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,11 +11,11 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.AdditionalConnectionProperty#getPropertyName <em>Property Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.AdditionalConnectionProperty#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getAdditionalConnectionProperty()
|
||||
* @model
|
||||
|
||||
@@ -15,6 +15,7 @@ import java.util.ArrayList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.BRMSConnection#getXmlField <em>Xml Field</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.BRMSConnection#getUrlName <em>Url Name</em>}</li>
|
||||
@@ -26,7 +27,6 @@ import java.util.ArrayList;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.BRMSConnection#getLoop <em>Loop</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.BRMSConnection#getPackage <em>Package</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getBRMSConnection()
|
||||
* @model
|
||||
|
||||
@@ -20,11 +20,11 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.CDCConnection#getConnection <em>Connection</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.CDCConnection#getCdcTypes <em>Cdc Types</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getCDCConnection()
|
||||
* @model
|
||||
|
||||
@@ -14,13 +14,13 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.CDCType#getLinkDB <em>Link DB</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.CDCType#getSubscribers <em>Subscribers</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.CDCType#getCdcConnection <em>Cdc Connection</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.CDCType#getJournalName <em>Journal Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getCDCType()
|
||||
* @model
|
||||
|
||||
@@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Concept#getLoopExpression <em>Loop Expression</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Concept#getLoopLimit <em>Loop Limit</em>}</li>
|
||||
@@ -27,7 +28,6 @@ import org.eclipse.emf.ecore.EObject;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Concept#getConceptType <em>Concept Type</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Concept#getXPathPrefix <em>XPath Prefix</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getConcept()
|
||||
* @model
|
||||
|
||||
@@ -14,12 +14,12 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.ConceptTarget#getSchema <em>Schema</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.ConceptTarget#getTargetName <em>Target Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.ConceptTarget#getRelativeLoopExpression <em>Relative Loop Expression</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getConceptTarget()
|
||||
* @model
|
||||
|
||||
@@ -14,13 +14,13 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.ConditionType#getInputColumn <em>Input Column</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.ConditionType#getFunction <em>Function</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.ConditionType#getOperator <em>Operator</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.ConditionType#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getConditionType()
|
||||
* @model
|
||||
|
||||
@@ -233,9 +233,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int ABSTRACT_METADATA_OBJECT__PROPERTIES = CorePackage.MODEL_ELEMENT_FEATURE_COUNT + 0;
|
||||
|
||||
/**
|
||||
@@ -471,9 +473,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int METADATA__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -717,9 +721,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int CONNECTION__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -1103,9 +1109,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int METADATA_COLUMN__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -1342,9 +1350,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Default Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int METADATA_COLUMN__DEFAULT_VALUE = ABSTRACT_METADATA_OBJECT_FEATURE_COUNT + 22;
|
||||
|
||||
/**
|
||||
@@ -1382,9 +1392,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Original Field</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int METADATA_COLUMN__ORIGINAL_FIELD = ABSTRACT_METADATA_OBJECT_FEATURE_COUNT + 27;
|
||||
|
||||
/**
|
||||
@@ -1615,9 +1627,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int METADATA_TABLE__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -1816,9 +1830,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Source Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int METADATA_TABLE__SOURCE_NAME = ABSTRACT_METADATA_OBJECT_FEATURE_COUNT + 17;
|
||||
|
||||
/**
|
||||
@@ -1856,9 +1872,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Connection</b></em>' reference.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getConnection() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int METADATA_TABLE__CONNECTION = ABSTRACT_METADATA_OBJECT_FEATURE_COUNT + 22;
|
||||
|
||||
/**
|
||||
@@ -2055,9 +2073,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int FILE_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -2606,9 +2626,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int DELIMITED_FILE_CONNECTION__PROPERTIES = FILE_CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -3174,9 +3196,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int POSITIONAL_FILE_CONNECTION__PROPERTIES = FILE_CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -3725,9 +3749,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int EBCDIC_CONNECTION__PROPERTIES = FILE_CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -4319,9 +4345,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int MDM_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -4795,9 +4823,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int DATABASE_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -5393,9 +5423,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -5917,9 +5949,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_FUNCTION_UNIT__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -6253,9 +6287,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAPI_DOC_UNIT__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -6548,9 +6584,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_FUNCTION_PARAMETER_COLUMN__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -6836,9 +6874,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_FUNCTION_PARAMETER_TABLE__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -7083,9 +7123,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int INPUT_SAP_FUNCTION_PARAMETER_TABLE__PROPERTIES = SAP_FUNCTION_PARAMETER_TABLE__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -7339,9 +7381,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int OUTPUT_SAP_FUNCTION_PARAMETER_TABLE__PROPERTIES = SAP_FUNCTION_PARAMETER_TABLE__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -7595,9 +7639,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int REGEXP_FILE_CONNECTION__PROPERTIES = FILE_CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -8155,9 +8201,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int XML_FILE_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -8732,9 +8780,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int QUERY__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -8994,9 +9044,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int LDIF_FILE_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -9420,9 +9472,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int FILE_EXCEL_CONNECTION__PROPERTIES = FILE_CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -10110,9 +10164,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int GENERIC_SCHEMA_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -10513,9 +10569,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int LDAP_SCHEMA_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -11086,9 +11144,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int WSDL_SCHEMA_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -11606,9 +11666,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SALESFORCE_SCHEMA_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -12230,9 +12292,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int CDC_TYPE__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -12500,9 +12564,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SUBSCRIBER_TABLE__PROPERTIES = RelationalPackage.TD_TABLE__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -12701,9 +12767,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Source Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SUBSCRIBER_TABLE__SOURCE_NAME = RelationalPackage.TD_TABLE__SOURCE_NAME;
|
||||
|
||||
/**
|
||||
@@ -12741,9 +12809,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Connection</b></em>' reference.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getConnection() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SUBSCRIBER_TABLE__CONNECTION = RelationalPackage.TD_TABLE__CONNECTION;
|
||||
|
||||
/**
|
||||
@@ -13006,9 +13076,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_TEST_INPUT_PARAMETER_TABLE__PROPERTIES = SAP_FUNCTION_PARAMETER_TABLE__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -13262,9 +13334,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int CONCEPT__PROPERTIES = RelationalPackage.TD_TABLE__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -13463,9 +13537,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Source Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int CONCEPT__SOURCE_NAME = RelationalPackage.TD_TABLE__SOURCE_NAME;
|
||||
|
||||
/**
|
||||
@@ -13503,9 +13579,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Connection</b></em>' reference.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getConnection() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int CONCEPT__CONNECTION = RelationalPackage.TD_TABLE__CONNECTION;
|
||||
|
||||
/**
|
||||
@@ -13882,9 +13960,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int HL7_CONNECTION__PROPERTIES = FILE_CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -14469,9 +14549,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
/**
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int HEADER_FOOTER_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -15306,9 +15388,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int FTP_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -15698,6 +15782,15 @@ public interface ConnectionPackage extends EPackage {
|
||||
*/
|
||||
int FTP_CONNECTION__USE_FILE_NAME_ENCODING = CONNECTION_FEATURE_COUNT + 19;
|
||||
|
||||
/**
|
||||
* The feature id for the '<em><b>Timeout</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
int FTP_CONNECTION__TIMEOUT = CONNECTION_FEATURE_COUNT + 20;
|
||||
|
||||
/**
|
||||
* The number of structural features of the '<em>FTP Connection</em>' class.
|
||||
* <!-- begin-user-doc -->
|
||||
@@ -15705,7 +15798,7 @@ public interface ConnectionPackage extends EPackage {
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
int FTP_CONNECTION_FEATURE_COUNT = CONNECTION_FEATURE_COUNT + 20;
|
||||
int FTP_CONNECTION_FEATURE_COUNT = CONNECTION_FEATURE_COUNT + 21;
|
||||
|
||||
/**
|
||||
* The meta object id for the '{@link org.talend.core.model.metadata.builder.connection.impl.BRMSConnectionImpl <em>BRMS Connection</em>}' class.
|
||||
@@ -15892,9 +15985,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int BRMS_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -16389,9 +16484,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int VALIDATION_RULES_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -17021,9 +17118,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int EDIFACT_CONNECTION__PROPERTIES = CONNECTION__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -17454,9 +17553,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int EDIFACT_COLUMN__PROPERTIES = METADATA_COLUMN__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -17715,9 +17816,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Default Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int EDIFACT_COLUMN__DEFAULT_VALUE = METADATA_COLUMN__DEFAULT_VALUE;
|
||||
|
||||
/**
|
||||
@@ -17760,9 +17863,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Original Field</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int EDIFACT_COLUMN__ORIGINAL_FIELD = METADATA_COLUMN__ORIGINAL_FIELD;
|
||||
|
||||
/**
|
||||
@@ -18022,9 +18127,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SALESFORCE_MODULE_UNIT__PROPERTIES = ABSTRACT_METADATA_OBJECT__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -18358,9 +18465,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_TABLE__PROPERTIES = METADATA_TABLE__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -18574,9 +18683,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Source Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_TABLE__SOURCE_NAME = METADATA_TABLE__SOURCE_NAME;
|
||||
|
||||
/**
|
||||
@@ -18619,9 +18730,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Connection</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getConnection() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_TABLE__CONNECTION = METADATA_TABLE__CONNECTION;
|
||||
|
||||
/**
|
||||
@@ -18826,9 +18939,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_TABLE_FIELD__PROPERTIES = METADATA_COLUMN__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -19087,9 +19202,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Default Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_TABLE_FIELD__DEFAULT_VALUE = METADATA_COLUMN__DEFAULT_VALUE;
|
||||
|
||||
/**
|
||||
@@ -19132,9 +19249,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Original Field</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAP_TABLE_FIELD__ORIGINAL_FIELD = METADATA_COLUMN__ORIGINAL_FIELD;
|
||||
|
||||
/**
|
||||
@@ -19559,9 +19678,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAPBW_TABLE__PROPERTIES = SAP_TABLE__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -19775,9 +19896,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Source Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAPBW_TABLE__SOURCE_NAME = SAP_TABLE__SOURCE_NAME;
|
||||
|
||||
/**
|
||||
@@ -19820,9 +19943,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Connection</b></em>' reference.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getConnection() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAPBW_TABLE__CONNECTION = SAP_TABLE__CONNECTION;
|
||||
|
||||
/**
|
||||
@@ -20082,9 +20207,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Properties</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAPBW_TABLE_FIELD__PROPERTIES = SAP_TABLE_FIELD__PROPERTIES;
|
||||
|
||||
/**
|
||||
@@ -20343,9 +20470,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Default Value</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAPBW_TABLE_FIELD__DEFAULT_VALUE = SAP_TABLE_FIELD__DEFAULT_VALUE;
|
||||
|
||||
/**
|
||||
@@ -20388,9 +20517,11 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The feature id for the '<em><b>Original Field</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField() model documentation} for details.
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@Deprecated
|
||||
int SAPBW_TABLE_FIELD__ORIGINAL_FIELD = SAP_TABLE_FIELD__ORIGINAL_FIELD;
|
||||
|
||||
/**
|
||||
@@ -20712,8 +20843,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* @return the meta object for the attribute '<em>Default Value</em>'.
|
||||
* @see org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue()
|
||||
* @see #getMetadataColumn()
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute getMetadataColumn_DefaultValue();
|
||||
|
||||
/**
|
||||
@@ -20767,8 +20900,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* @return the meta object for the attribute '<em>Original Field</em>'.
|
||||
* @see org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField()
|
||||
* @see #getMetadataColumn()
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute getMetadataColumn_OriginalField();
|
||||
|
||||
/**
|
||||
@@ -20841,8 +20976,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* @return the meta object for the attribute '<em>Properties</em>'.
|
||||
* @see org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties()
|
||||
* @see #getAbstractMetadataObject()
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute getAbstractMetadataObject_Properties();
|
||||
|
||||
/**
|
||||
@@ -20928,6 +21065,7 @@ public interface ConnectionPackage extends EPackage {
|
||||
* @see #getMetadataTable()
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute getMetadataTable_SourceName();
|
||||
|
||||
/**
|
||||
@@ -20984,6 +21122,7 @@ public interface ConnectionPackage extends EPackage {
|
||||
* @see #getMetadataTable()
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EReference getMetadataTable_Connection();
|
||||
|
||||
/**
|
||||
@@ -24418,6 +24557,17 @@ public interface ConnectionPackage extends EPackage {
|
||||
*/
|
||||
EAttribute getFTPConnection_UseFileNameEncoding();
|
||||
|
||||
/**
|
||||
* Returns the meta object for the attribute '{@link org.talend.core.model.metadata.builder.connection.FTPConnection#getTimeout <em>Timeout</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @return the meta object for the attribute '<em>Timeout</em>'.
|
||||
* @see org.talend.core.model.metadata.builder.connection.FTPConnection#getTimeout()
|
||||
* @see #getFTPConnection()
|
||||
* @generated
|
||||
*/
|
||||
EAttribute getFTPConnection_Timeout();
|
||||
|
||||
/**
|
||||
* Returns the meta object for class '{@link org.talend.core.model.metadata.builder.connection.BRMSConnection <em>BRMS Connection</em>}'.
|
||||
* <!-- begin-user-doc -->
|
||||
@@ -24752,6 +24902,7 @@ public interface ConnectionPackage extends EPackage {
|
||||
* @see java.util.Map.Entry
|
||||
* @model keyDataType="org.eclipse.emf.ecore.EString"
|
||||
* valueDataType="org.eclipse.emf.ecore.EString"
|
||||
* annotation="MapEntry"
|
||||
* @generated
|
||||
*/
|
||||
EClass getAdditionalProperties();
|
||||
@@ -25498,8 +25649,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The meta object literal for the '<em><b>Default Value</b></em>' attribute feature.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute METADATA_COLUMN__DEFAULT_VALUE = eINSTANCE.getMetadataColumn_DefaultValue();
|
||||
|
||||
/**
|
||||
@@ -25538,8 +25691,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The meta object literal for the '<em><b>Original Field</b></em>' attribute feature.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute METADATA_COLUMN__ORIGINAL_FIELD = eINSTANCE.getMetadataColumn_OriginalField();
|
||||
|
||||
/**
|
||||
@@ -25595,8 +25750,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The meta object literal for the '<em><b>Properties</b></em>' attribute feature.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.AbstractMetadataObject#getProperties() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute ABSTRACT_METADATA_OBJECT__PROPERTIES = eINSTANCE.getAbstractMetadataObject_Properties();
|
||||
|
||||
/**
|
||||
@@ -25660,8 +25817,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The meta object literal for the '<em><b>Source Name</b></em>' attribute feature.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EAttribute METADATA_TABLE__SOURCE_NAME = eINSTANCE.getMetadataTable_SourceName();
|
||||
|
||||
/**
|
||||
@@ -25700,8 +25859,10 @@ public interface ConnectionPackage extends EPackage {
|
||||
* The meta object literal for the '<em><b>Connection</b></em>' reference feature.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getConnection() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
EReference METADATA_TABLE__CONNECTION = eINSTANCE.getMetadataTable_Connection();
|
||||
|
||||
/**
|
||||
@@ -28338,6 +28499,14 @@ public interface ConnectionPackage extends EPackage {
|
||||
*/
|
||||
EAttribute FTP_CONNECTION__USE_FILE_NAME_ENCODING = eINSTANCE.getFTPConnection_UseFileNameEncoding();
|
||||
|
||||
/**
|
||||
* The meta object literal for the '<em><b>Timeout</b></em>' attribute feature.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
EAttribute FTP_CONNECTION__TIMEOUT = eINSTANCE.getFTPConnection_Timeout();
|
||||
|
||||
/**
|
||||
* The meta object literal for the '{@link org.talend.core.model.metadata.builder.connection.impl.BRMSConnectionImpl <em>BRMS Connection</em>}' class.
|
||||
* <!-- begin-user-doc -->
|
||||
|
||||
@@ -750,7 +750,7 @@ public interface DatabaseConnection extends Connection {
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Parameters</em>' map.
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getDatabaseConnection_Parameters()
|
||||
* @model mapType="org.talend.core.model.metadata.builder.connection.AdditionalProperties<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>"
|
||||
* @model mapType="org.talend.core.model.metadata.builder.connection.AdditionalProperties<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>"
|
||||
* @generated
|
||||
*/
|
||||
EMap<String, String> getParameters();
|
||||
|
||||
@@ -12,11 +12,11 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.DelimitedFileConnection#getFieldSeparatorType <em>Field Separator Type</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.DelimitedFileConnection#isSplitRecord <em>Split Record</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getDelimitedFileConnection()
|
||||
* @model
|
||||
|
||||
@@ -12,11 +12,11 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EDIFACTColumn#getEDIColumnName <em>EDI Column Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EDIFACTColumn#getEDIXpath <em>EDI Xpath</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getEDIFACTColumn()
|
||||
* @model
|
||||
|
||||
@@ -14,12 +14,12 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EDIFACTConnection#getXmlName <em>Xml Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EDIFACTConnection#getFileName <em>File Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EDIFACTConnection#getXmlPath <em>Xml Path</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getEDIFACTConnection()
|
||||
* @model
|
||||
|
||||
@@ -12,6 +12,7 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EbcdicConnection#getMidFile <em>Mid File</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EbcdicConnection#getDataFile <em>Data File</em>}</li>
|
||||
@@ -19,7 +20,6 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EbcdicConnection#getSourceFileStart <em>Source File Start</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.EbcdicConnection#getSourceFileEnd <em>Source File End</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getEbcdicConnection()
|
||||
* @model
|
||||
|
||||
@@ -90,6 +90,8 @@ public enum Escape implements Enumerator {
|
||||
* Returns the '<em><b>Escape</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static Escape get(String literal) {
|
||||
@@ -106,6 +108,8 @@ public enum Escape implements Enumerator {
|
||||
* Returns the '<em><b>Escape</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static Escape getByName(String name) {
|
||||
@@ -122,6 +126,8 @@ public enum Escape implements Enumerator {
|
||||
* Returns the '<em><b>Escape</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static Escape get(int value) {
|
||||
|
||||
@@ -34,6 +34,7 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FTPConnection#getProxypassword <em>Proxypassword</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FTPConnection#getCustomEncode <em>Custom Encode</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FTPConnection#isUseFileNameEncoding <em>Use File Name Encoding</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FTPConnection#getTimeout <em>Timeout</em>}</li>
|
||||
* </ul>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getFTPConnection()
|
||||
@@ -562,4 +563,30 @@ public interface FTPConnection extends Connection {
|
||||
*/
|
||||
void setUseFileNameEncoding(boolean value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Timeout</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Timeout</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Timeout</em>' attribute.
|
||||
* @see #setTimeout(long)
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getFTPConnection_Timeout()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
long getTimeout();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.talend.core.model.metadata.builder.connection.FTPConnection#getTimeout <em>Timeout</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Timeout</em>' attribute.
|
||||
* @see #getTimeout()
|
||||
* @generated
|
||||
*/
|
||||
void setTimeout(long value);
|
||||
|
||||
} // FTPConnection
|
||||
|
||||
@@ -231,6 +231,8 @@ public enum FieldSeparator implements Enumerator {
|
||||
* Returns the '<em><b>Field Separator</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static FieldSeparator get(String literal) {
|
||||
@@ -247,6 +249,8 @@ public enum FieldSeparator implements Enumerator {
|
||||
* Returns the '<em><b>Field Separator</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static FieldSeparator getByName(String name) {
|
||||
@@ -263,6 +267,8 @@ public enum FieldSeparator implements Enumerator {
|
||||
* Returns the '<em><b>Field Separator</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static FieldSeparator get(int value) {
|
||||
|
||||
@@ -12,6 +12,7 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileConnection#getServer <em>Server</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileConnection#getFilePath <em>File Path</em>}</li>
|
||||
@@ -34,7 +35,6 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileConnection#getTextEnclosure <em>Text Enclosure</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileConnection#isCsvOption <em>Csv Option</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getFileConnection()
|
||||
* @model abstract="true"
|
||||
|
||||
@@ -15,6 +15,7 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileExcelConnection#getSheetName <em>Sheet Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileExcelConnection#getSheetColumns <em>Sheet Columns</em>}</li>
|
||||
@@ -27,7 +28,6 @@ import org.eclipse.emf.common.util.EList;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileExcelConnection#getSheetList <em>Sheet List</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.FileExcelConnection#getGenerationMode <em>Generation Mode</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getFileExcelConnection()
|
||||
* @model
|
||||
|
||||
@@ -114,6 +114,8 @@ public enum FileFormat implements Enumerator {
|
||||
* Returns the '<em><b>File Format</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static FileFormat get(String literal) {
|
||||
@@ -130,6 +132,8 @@ public enum FileFormat implements Enumerator {
|
||||
* Returns the '<em><b>File Format</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static FileFormat getByName(String name) {
|
||||
@@ -146,6 +150,8 @@ public enum FileFormat implements Enumerator {
|
||||
* Returns the '<em><b>File Format</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static FileFormat get(int value) {
|
||||
|
||||
@@ -207,6 +207,8 @@ public enum Function implements Enumerator {
|
||||
* Returns the '<em><b>Function</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static Function get(String literal) {
|
||||
@@ -239,6 +241,8 @@ public enum Function implements Enumerator {
|
||||
* Returns the '<em><b>Function</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static Function get(int value) {
|
||||
|
||||
@@ -12,11 +12,11 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.GenericSchemaConnection#isMappingTypeUsed <em>Mapping Type Used</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.GenericSchemaConnection#getMappingTypeId <em>Mapping Type Id</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getGenericSchemaConnection()
|
||||
* @model
|
||||
|
||||
@@ -14,13 +14,13 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7Connection#getStartChar <em>Start Char</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7Connection#getEndChar <em>End Char</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7Connection#getRoot <em>Root</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7Connection#getOutputFilePath <em>Output File Path</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getHL7Connection()
|
||||
* @model
|
||||
|
||||
@@ -14,6 +14,7 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7FileNode#getFilePath <em>File Path</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7FileNode#getOrder <em>Order</em>}</li>
|
||||
@@ -22,7 +23,6 @@ import org.eclipse.emf.ecore.EObject;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7FileNode#getRelatedColumn <em>Related Column</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HL7FileNode#isRepeatable <em>Repeatable</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getHL7FileNode()
|
||||
* @model
|
||||
|
||||
@@ -12,13 +12,13 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HeaderFooterConnection#isIsHeader <em>Is Header</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HeaderFooterConnection#getImports <em>Imports</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HeaderFooterConnection#getMainCode <em>Main Code</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.HeaderFooterConnection#getLibraries <em>Libraries</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getHeaderFooterConnection()
|
||||
* @model
|
||||
|
||||
@@ -12,10 +12,10 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.InputSAPFunctionParameterTable#getFunctionUnit <em>Function Unit</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getInputSAPFunctionParameterTable()
|
||||
* @model
|
||||
|
||||
@@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LDAPSchemaConnection#getHost <em>Host</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LDAPSchemaConnection#getPort <em>Port</em>}</li>
|
||||
@@ -39,7 +40,6 @@ import org.eclipse.emf.common.util.EList;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LDAPSchemaConnection#getReturnAttributes <em>Return Attributes</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LDAPSchemaConnection#getSelectedDN <em>Selected DN</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getLDAPSchemaConnection()
|
||||
* @model
|
||||
|
||||
@@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LdifFileConnection#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LdifFileConnection#getFilePath <em>File Path</em>}</li>
|
||||
@@ -21,7 +22,6 @@ import org.eclipse.emf.common.util.EList;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LdifFileConnection#isUseLimit <em>Use Limit</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.LdifFileConnection#getServer <em>Server</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getLdifFileConnection()
|
||||
* @model
|
||||
|
||||
@@ -46,7 +46,7 @@ public enum LogicalOperator implements Enumerator {
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @see #AND
|
||||
* @model name="And" literal="&&"
|
||||
* @model name="And" literal="&amp;&amp;"
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@@ -86,6 +86,8 @@ public enum LogicalOperator implements Enumerator {
|
||||
* Returns the '<em><b>Logical Operator</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static LogicalOperator get(String literal) {
|
||||
@@ -102,6 +104,8 @@ public enum LogicalOperator implements Enumerator {
|
||||
* Returns the '<em><b>Logical Operator</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static LogicalOperator getByName(String name) {
|
||||
@@ -118,6 +122,8 @@ public enum LogicalOperator implements Enumerator {
|
||||
* Returns the '<em><b>Logical Operator</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static LogicalOperator get(int value) {
|
||||
|
||||
@@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MDMConnection#getUsername <em>Username</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MDMConnection#getPassword <em>Password</em>}</li>
|
||||
@@ -27,7 +28,6 @@ import org.eclipse.emf.common.util.EList;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MDMConnection#getContext <em>Context</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MDMConnection#getServerUrl <em>Server Url</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getMDMConnection()
|
||||
* @model
|
||||
|
||||
@@ -66,6 +66,8 @@ public enum MDMConnectionProtocol implements Enumerator {
|
||||
* Returns the '<em><b>MDM Connection Protocol</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static MDMConnectionProtocol get(String literal) {
|
||||
@@ -82,6 +84,8 @@ public enum MDMConnectionProtocol implements Enumerator {
|
||||
* Returns the '<em><b>MDM Connection Protocol</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static MDMConnectionProtocol getByName(String name) {
|
||||
@@ -98,6 +102,8 @@ public enum MDMConnectionProtocol implements Enumerator {
|
||||
* Returns the '<em><b>MDM Connection Protocol</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static MDMConnectionProtocol get(int value) {
|
||||
|
||||
@@ -116,6 +116,8 @@ public enum MdmConceptType implements Enumerator {
|
||||
* Returns the '<em><b>Mdm Concept Type</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static MdmConceptType get(String literal) {
|
||||
@@ -132,6 +134,8 @@ public enum MdmConceptType implements Enumerator {
|
||||
* Returns the '<em><b>Mdm Concept Type</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static MdmConceptType getByName(String name) {
|
||||
@@ -148,6 +152,8 @@ public enum MdmConceptType implements Enumerator {
|
||||
* Returns the '<em><b>Mdm Concept Type</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static MdmConceptType get(int value) {
|
||||
|
||||
@@ -14,10 +14,10 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Metadata#getConnections <em>Connections</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getMetadata()
|
||||
* @model
|
||||
|
||||
@@ -18,6 +18,7 @@ import orgomg.cwm.resource.record.Field;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getSourceType <em>Source Type</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue <em>Default Value</em>}</li>
|
||||
@@ -32,7 +33,6 @@ import orgomg.cwm.resource.record.Field;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getRelatedEntity <em>Related Entity</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getRelationshipType <em>Relationship Type</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getMetadataColumn()
|
||||
* @model
|
||||
@@ -89,6 +89,7 @@ public interface MetadataColumn extends AbstractMetadataObject, Field {
|
||||
* @model default="" transient="true" volatile="true"
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
String getDefaultValue();
|
||||
|
||||
/**
|
||||
@@ -96,8 +97,10 @@ public interface MetadataColumn extends AbstractMetadataObject, Field {
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Default Value</em>' attribute.
|
||||
* @see #getDefaultValue()
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getDefaultValue() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
void setDefaultValue(String value);
|
||||
|
||||
/**
|
||||
@@ -222,6 +225,7 @@ public interface MetadataColumn extends AbstractMetadataObject, Field {
|
||||
* @model default="" transient="true" volatile="true"
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
String getOriginalField();
|
||||
|
||||
/**
|
||||
@@ -229,8 +233,10 @@ public interface MetadataColumn extends AbstractMetadataObject, Field {
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Original Field</em>' attribute.
|
||||
* @see #getOriginalField()
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataColumn#getOriginalField() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
void setOriginalField(String value);
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,7 @@ import org.eclipse.emf.common.util.EMap;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName <em>Source Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataTable#getTableType <em>Table Type</em>}</li>
|
||||
@@ -26,7 +27,6 @@ import org.eclipse.emf.common.util.EMap;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataTable#getConnection <em>Connection</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.MetadataTable#getAdditionalProperties <em>Additional Properties</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getMetadataTable()
|
||||
* @model
|
||||
@@ -49,6 +49,7 @@ public interface MetadataTable extends AbstractMetadataObject, orgomg.cwm.object
|
||||
* @model transient="true" volatile="true"
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
String getSourceName();
|
||||
|
||||
/**
|
||||
@@ -56,8 +57,10 @@ public interface MetadataTable extends AbstractMetadataObject, orgomg.cwm.object
|
||||
* <!-- begin-user-doc --> <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Source Name</em>' attribute.
|
||||
* @see #getSourceName()
|
||||
* @deprecated See {@link org.talend.core.model.metadata.builder.connection.MetadataTable#getSourceName() model documentation} for details.
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
void setSourceName(String value);
|
||||
|
||||
/**
|
||||
@@ -91,6 +94,7 @@ public interface MetadataTable extends AbstractMetadataObject, orgomg.cwm.object
|
||||
* @model transient="true" changeable="false" volatile="true"
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
Connection getConnection();
|
||||
|
||||
/**
|
||||
@@ -105,7 +109,7 @@ public interface MetadataTable extends AbstractMetadataObject, orgomg.cwm.object
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Additional Properties</em>' map.
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getMetadataTable_AdditionalProperties()
|
||||
* @model mapType="org.talend.core.model.metadata.builder.connection.AdditionalProperties<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>"
|
||||
* @model mapType="org.talend.core.model.metadata.builder.connection.AdditionalProperties<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>"
|
||||
* @generated
|
||||
*/
|
||||
EMap<String, String> getAdditionalProperties();
|
||||
|
||||
@@ -108,7 +108,7 @@ public enum Operator implements Enumerator {
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @see #GREATER
|
||||
* @model name="Greater" literal=">"
|
||||
* @model name="Greater" literal=">"
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@@ -123,7 +123,7 @@ public enum Operator implements Enumerator {
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @see #LOWER
|
||||
* @model name="Lower" literal="<"
|
||||
* @model name="Lower" literal="<"
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@@ -138,7 +138,7 @@ public enum Operator implements Enumerator {
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @see #GREATER_OR_EQUALS
|
||||
* @model name="Greater_or_equals" literal=">="
|
||||
* @model name="Greater_or_equals" literal=">="
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@@ -153,7 +153,7 @@ public enum Operator implements Enumerator {
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @see #LOWER_OR_EQUALS
|
||||
* @model name="Lower_or_equals" literal="<="
|
||||
* @model name="Lower_or_equals" literal="<="
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
@@ -179,6 +179,8 @@ public enum Operator implements Enumerator {
|
||||
* Returns the '<em><b>Operator</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static Operator get(String literal) {
|
||||
@@ -211,6 +213,8 @@ public enum Operator implements Enumerator {
|
||||
* Returns the '<em><b>Operator</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc --> <!--
|
||||
* end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static Operator get(int value) {
|
||||
|
||||
@@ -12,10 +12,10 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.OutputSAPFunctionParameterTable#getFunctionUnit <em>Function Unit</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getOutputSAPFunctionParameterTable()
|
||||
* @model
|
||||
|
||||
@@ -15,11 +15,11 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.QueriesConnection#getConnection <em>Connection</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.QueriesConnection#getQuery <em>Query</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getQueriesConnection()
|
||||
* @model
|
||||
|
||||
@@ -14,12 +14,12 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Query#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Query#getQueries <em>Queries</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.Query#isContextMode <em>Context Mode</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getQuery()
|
||||
* @model
|
||||
|
||||
@@ -12,10 +12,10 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.RegexpFileConnection#getFieldSeparatorType <em>Field Separator Type</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getRegexpFileConnection()
|
||||
* @model
|
||||
|
||||
@@ -88,6 +88,8 @@ public enum RowSeparator implements Enumerator {
|
||||
* Returns the '<em><b>Row Separator</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static RowSeparator get(String literal) {
|
||||
@@ -104,6 +106,8 @@ public enum RowSeparator implements Enumerator {
|
||||
* Returns the '<em><b>Row Separator</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static RowSeparator getByName(String name) {
|
||||
@@ -120,6 +124,8 @@ public enum RowSeparator implements Enumerator {
|
||||
* Returns the '<em><b>Row Separator</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static RowSeparator get(int value) {
|
||||
|
||||
@@ -116,6 +116,8 @@ public enum RuleType implements Enumerator {
|
||||
* Returns the '<em><b>Rule Type</b></em>' literal with the specified literal value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param literal the literal.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static RuleType get(String literal) {
|
||||
@@ -132,6 +134,8 @@ public enum RuleType implements Enumerator {
|
||||
* Returns the '<em><b>Rule Type</b></em>' literal with the specified name.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param name the name.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static RuleType getByName(String name) {
|
||||
@@ -148,6 +152,8 @@ public enum RuleType implements Enumerator {
|
||||
* Returns the '<em><b>Rule Type</b></em>' literal with the specified integer value.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the integer value.
|
||||
* @return the matching enumerator or <code>null</code>.
|
||||
* @generated
|
||||
*/
|
||||
public static RuleType get(int value) {
|
||||
|
||||
@@ -11,6 +11,7 @@ import java.util.Date;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPBWTable#getModelType <em>Model Type</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPBWTable#isActive <em>Active</em>}</li>
|
||||
@@ -18,7 +19,6 @@ import java.util.Date;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPBWTable#getInfoAreaName <em>Info Area Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPBWTable#getInnerIOType <em>Inner IO Type</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPBWTable()
|
||||
* @model
|
||||
|
||||
@@ -9,10 +9,10 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPBWTableField#getLogicalName <em>Logical Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPBWTableField()
|
||||
* @model
|
||||
|
||||
@@ -14,6 +14,7 @@ import org.eclipse.emf.common.util.EMap;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPConnection#getHost <em>Host</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPConnection#getUsername <em>Username</em>}</li>
|
||||
@@ -32,7 +33,6 @@ import org.eclipse.emf.common.util.EMap;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPConnection#getBWInfoCubes <em>BW Info Cubes</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPConnection#getBWInfoObjects <em>BW Info Objects</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPConnection()
|
||||
* @model
|
||||
|
||||
@@ -11,11 +11,11 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParamData#getInputRoot <em>Input Root</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParamData#getOutputRoot <em>Output Root</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPFunctionParamData()
|
||||
* @model
|
||||
|
||||
@@ -13,6 +13,7 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameter#getName <em>Name</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameter#getType <em>Type</em>}</li>
|
||||
@@ -23,7 +24,6 @@ import org.eclipse.emf.ecore.EObject;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameter#getChildren <em>Children</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameter#isTableResideInTables <em>Table Reside In Tables</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPFunctionParameter()
|
||||
* @model
|
||||
|
||||
@@ -12,6 +12,7 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameterColumn#getParameterType <em>Parameter Type</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameterColumn#getStructureOrTableName <em>Structure Or Table Name</em>}</li>
|
||||
@@ -20,7 +21,6 @@ package org.talend.core.model.metadata.builder.connection;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameterColumn#getValue <em>Value</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameterColumn#getParameterTable <em>Parameter Table</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPFunctionParameterColumn()
|
||||
* @model
|
||||
@@ -141,6 +141,7 @@ public interface SAPFunctionParameterColumn extends AbstractMetadataObject {
|
||||
* @model descriptionDataType="orgomg.cwm.objectmodel.core.String"
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
void setDescription(String description);
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,10 +14,10 @@ import org.eclipse.emf.common.util.EList;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionParameterTable#getColumns <em>Columns</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPFunctionParameterTable()
|
||||
* @model
|
||||
|
||||
@@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EObject;
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionUnit#getOutputType <em>Output Type</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionUnit#getOutputTableName <em>Output Table Name</em>}</li>
|
||||
@@ -28,7 +29,6 @@ import org.eclipse.emf.ecore.EObject;
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionUnit#getParamData <em>Param Data</em>}</li>
|
||||
* <li>{@link org.talend.core.model.metadata.builder.connection.SAPFunctionUnit#isAsXmlSchema <em>As Xml Schema</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.talend.core.model.metadata.builder.connection.ConnectionPackage#getSAPFunctionUnit()
|
||||
* @model
|
||||
@@ -97,6 +97,7 @@ public interface SAPFunctionUnit extends AbstractMetadataObject {
|
||||
* @model documentDataType="orgomg.cwm.objectmodel.core.String"
|
||||
* @generated
|
||||
*/
|
||||
@Deprecated
|
||||
void setDocument(String document);
|
||||
|
||||
/**
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user