Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: adff15b3a4533d5a7e1242d18ab7af20ad928200 (plain) (blame)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/***************************************************************************
 * Copyright (c) 2004 - 2008 Eike Stepper, Germany.
 * 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:
 *    Simon McDuff - initial API and implementation
 *    Eike Stepper - maintenance
 **************************************************************************/
package org.eclipse.emf.internal.cdo;

import org.eclipse.emf.cdo.CDOInvalidationNotification;

import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EObject;

/**
 * @author Simon McDuff
 */
public class CDOInvalidationNotificationImpl implements CDOInvalidationNotification
{
  private EObject eObject;

  public CDOInvalidationNotificationImpl(EObject eObject)
  {
    this.eObject = eObject;
  }

  public Object getNotifier()
  {
    return eObject;
  }

  public int getEventType()
  {
    return INVALIDATE;
  }

  public Object getFeature()
  {
    return null;
  }

  public int getFeatureID(Class<?> expectedClass)
  {
    return NO_FEATURE_ID;
  }

  public int getPosition()
  {
    return NO_INDEX;
  }

  public boolean wasSet()
  {
    throw new UnsupportedOperationException();
  }

  public boolean isReset()
  {
    throw new UnsupportedOperationException();
  }

  public boolean isTouch()
  {
    throw new UnsupportedOperationException();
  }

  public boolean merge(Notification notification)
  {
    throw new UnsupportedOperationException();
  }

  public boolean getNewBooleanValue()
  {
    throw new UnsupportedOperationException();
  }

  public byte getNewByteValue()
  {
    throw new UnsupportedOperationException();
  }

  public char getNewCharValue()
  {
    throw new UnsupportedOperationException();
  }

  public double getNewDoubleValue()
  {
    throw new UnsupportedOperationException();
  }

  public float getNewFloatValue()
  {
    throw new UnsupportedOperationException();
  }

  public int getNewIntValue()
  {
    throw new UnsupportedOperationException();
  }

  public long getNewLongValue()
  {
    throw new UnsupportedOperationException();
  }

  public short getNewShortValue()
  {
    throw new UnsupportedOperationException();
  }

  public String getNewStringValue()
  {
    throw new UnsupportedOperationException();
  }

  public Object getNewValue()
  {
    throw new UnsupportedOperationException();
  }

  public boolean getOldBooleanValue()
  {
    throw new UnsupportedOperationException();
  }

  public byte getOldByteValue()
  {
    throw new UnsupportedOperationException();
  }

  public char getOldCharValue()
  {
    throw new UnsupportedOperationException();
  }

  public double getOldDoubleValue()
  {
    throw new UnsupportedOperationException();
  }

  public float getOldFloatValue()
  {
    throw new UnsupportedOperationException();
  }

  public int getOldIntValue()
  {
    throw new UnsupportedOperationException();
  }

  public long getOldLongValue()
  {
    throw new UnsupportedOperationException();
  }

  public short getOldShortValue()
  {
    throw new UnsupportedOperationException();
  }

  public String getOldStringValue()
  {
    throw new UnsupportedOperationException();
  }

  public Object getOldValue()
  {
    throw new UnsupportedOperationException();
  }
}

Back to the top