/**
* <copyright>
*
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* </copyright>
*/
package org.eclipse.emf.test.tools.merger;
import source.ClassA;
import target.ClassA;
/**
* Target javadoc 1
* Target javadoc 2
* <!-- begin-user-doc -->
* Target user javadoc 3
* Target user javadoc 4
* <!-- end-user-doc -->
*
* @author EMF Team (target)
* @generated
*/
public class MergerExample
{
/**
* Target javadoc 5
* @generated
*/
private int a1 = -1;
/**
* Target javadoc 6
* @generated
*/
private int a2 = -2;
/**
* Target javadoc 7
* @generated
*/
private int a3 = -3;
/**
* Target javadoc 8
* <!-- begin-user-doc -->
* Target user javadoc 9
* <!-- end-user-doc -->
* @generated
*/
private int a4 = -4;
/**
* Target javadoc 10
* <!-- begin-user-doc -->
* Target user javadoc 11
* <!-- end-user-doc -->
* @generated
*/
private int a5 = -5;
/**
* Target javadoc 12
* <!-- begin-user-doc -->
* Target user javadoc 13
* <!-- end-user-doc -->
* Target javadoc 14
* @generated
*/
protected String id = "target";
/**
* Target javadoc 15
* <!-- begin-user-doc -->
* Target user javadoc 16
* Target user javadoc 17
* <!-- end-user-doc -->
* Target javadoc 18
* @return target
* @generated
*/
public boolean isID()
{
// begin-user-code
System.out.println("Target user code 2");
// end-user-code
System.out.println("Target code 3");
return id == "target";
}
/**
* Target javadoc 19
* <!-- begin-user-doc -->
* Target user javadoc 20
* Target user javadoc 21
* <!-- end-user-doc -->
* Target javadoc 22
* @param target
* @generated NOT
*/
public void setID(boolean value)
{
id = value ? "target" : "source";
System.out.println("Target code 4");
}
/**
* Target javadoc 23
* <!-- begin-user-doc -->
* Target user javadoc 24
* <!-- end-user-doc -->
* Target javadoc 25
* @param target
*/
protected Object sourceRequired()
{
System.out.println("Target code 5");
}
/**
* Target javadoc 26
* @generated
*/
private void methodWithTargetWithoutUserSections()
{
System.out.println("Target code 6");
}
/**
* Target javadoc 27
* <!-- begin-user-doc -->
* Target user javadoc 28
* <!-- end-user-doc -->
* Target javadoc 29
* @generated
*/
private void methodWithSourceWithoutUserSections()
{
// begin-user-code
System.out.println("Target user code 7");
// end-user-code
System.out.println("Target code 8");
}
/**
* Target javadoc 30
* @generated
*/
private void methodWithoutUserSections()
{
System.out.println("Target code 9");
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
emf-sdo-SDK-2.2.2
共224个文件
html:53个
zip:36个
jar:33个
5星 · 超过95%的资源 需积分: 9 245 下载量 43 浏览量
2009-01-09
14:15:12
上传
评论 10
收藏 16.66MB ZIP 举报
温馨提示
Eclipse 插件Eclipse 插件Eclipse 插件Eclipse 插件Eclipse 插件Eclipse 插件
资源推荐
资源详情
资源评论
收起资源包目录
emf-sdo-SDK-2.2.2 (224个子文件)
codeGen.bat 940B
codeGen.bat 937B
_49.cfs 305KB
_1.cfs 14KB
deletable 4B
deletable 4B
library.ecore 2KB
examples.exsd 7KB
modelImporterDescriptors.exsd 7KB
modelExporterDescriptors.exsd 6KB
factory_override.exsd 5KB
generated_package.exsd 5KB
extension_parser.exsd 5KB
protocol_parser.exsd 4KB
uri_mapping.exsd 4KB
package_registry_implementation.exsd 3KB
eclipse32.gif 2KB
eclipse32.gif 2KB
epl-v10.html 15KB
epl-v10.html 15KB
epl-v10.html 15KB
epl-v10.html 15KB
epl-v10.html 15KB
epl-v10.html 15KB
epl-v10.html 15KB
license.html 6KB
license.html 6KB
notice.html 6KB
license.html 6KB
license.html 6KB
license.html 6KB
license.html 6KB
about.html 6KB
readme.html 5KB
readme.html 5KB
readme.html 5KB
about.html 5KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
about.html 1KB
indexed_contributions 147B
indexed_contributions 127B
indexed_dependencies 159B
indexed_dependencies 159B
indexed_docs 13KB
indexed_docs 138B
about.ini 490B
about.ini 490B
about.ini 490B
about.ini 490B
org.eclipse.emf.codegen.ecore_2.2.2.v200702131851.jar 756KB
org.eclipse.emf.ecore_2.2.2.v200702131851.jar 733KB
org.eclipse.emf.edit_2.2.2.v200702131851.jar 220KB
org.eclipse.emf.codegen_2.2.2.v200702131851.jar 187KB
org.eclipse.emf.mapping_2.2.0.v200702131851.jar 172KB
org.eclipse.emf.ecore.xmi_2.2.2.v200702131851.jar 167KB
org.eclipse.emf.ecore.sdo_2.2.1.v200702131851.jar 164KB
org.eclipse.emf.common_2.2.1.v200702131851.jar 153KB
org.eclipse.emf.mapping.ui_2.2.1.v200702131851.jar 128KB
org.eclipse.emf.edit.ui_2.2.1.v200702131851.jar 122KB
org.eclipse.emf.codegen.ecore.ui_2.2.1.v200702131851.jar 109KB
org.eclipse.emf.importer.rose_2.2.0.v200702131851.jar 93KB
org.eclipse.emf.common.ui_2.2.1.v200702131851.jar 88KB
org.eclipse.emf.ecore.sdo.editor_2.2.0.v200702131851.jar 85KB
org.eclipse.emf.mapping.ecore2xml.ui_2.2.0.v200702131851.jar 84KB
org.eclipse.emf.ecore.editor_2.2.0.v200702131851.jar 75KB
org.eclipse.emf.converter_2.2.1.v200702131851.jar 74KB
org.eclipse.emf.ecore.edit_2.2.0.v200702131851.jar 72KB
org.eclipse.emf.ecore.change_2.2.1.v200702131851.jar 69KB
共 224 条
- 1
- 2
- 3
资源评论
- WillardLife2011-09-10我是在教材上看到的,要下载这个版本的便于学习,熟悉好教材上讲的后,再升级高版本的,用起来不错。感谢CSDN!
- OnIyGo2014-04-11版本比较久了,但是还是可以用的
wangpeng599
- 粉丝: 32
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功