File: JDOMMergerExpected.java

package info (click to toggle)
eclipse-emf 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 50,912 kB
  • ctags: 60,697
  • sloc: java: 407,889; xml: 7,165; sh: 200; makefile: 13
file content (55 lines) | stat: -rwxr-xr-x 1,282 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import java.util.Date;

import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.examples.extlibrary.Item;

/**
 * This test shows handling of comments by AST Facade implementation
 * when nodes are moved or removed.
 * <p>
 * This is Example 2 in document "Changes to the EMF Code Merge" (http://www.eclipse.org/emf/docs/2.x/whatsnew/merge2.3.html)  
 */
public abstract class BookImpl extends EObjectImpl implements Book
{
  /**
   * @generated
   * @ordered
   */
  protected static final Date PUBLICATION_DATE_EDEFAULT = null;
  // comment immediately following the PUBLICATION_DATE_EDEFAULT will make the 'title' field
  // inserted without empty lines after the move
  
  /**
   * @generated
   * @ordered
   */
  protected Date publicationDate = PUBLICATION_DATE_EDEFAULT;
  
  // comments after removed 'isbn' are kept
  
  /**
   * @generated
   * @ordered
   */
  protected static final String AUTHOR_EDEFAULT = null;

  /**
   * @generated
   * @ordered
   */
  protected String author = AUTHOR_EDEFAULT;  
  // preceding comments will be moved with 'TITLE_EDEFAULT'
  
  /**
   * @generated
   * @ordered
   */
  protected static final String TITLE_EDEFAULT = null;

  /**
   * @generated
   * @ordered
   */
  protected String title = TITLE_EDEFAULT;
  
}