Skip to main content
summaryrefslogtreecommitdiffstats
blob: 7ac1cd2d1af560755bc5acd29ca51d6788bd7e9d (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
/*
 * Copyright (c) 2010-2012 Eike Stepper (Berlin, Germany) 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:
 *    Simon McDuff - initial API and implementation
 *    Ibrahim Sallam - code refactoring for CDO 3.0
 */
package org.eclipse.emf.cdo.server.internal.objectivity.mapper;

import org.eclipse.emf.cdo.server.internal.objectivity.db.ObjyObject;

import org.eclipse.emf.ecore.EStructuralFeature;

public interface ISingleTypeMapper extends ITypeMapper
{

  // Instance
  public void setValue(ObjyObject objyObject, EStructuralFeature feature, Object newValue);

  public Object getValue(ObjyObject objyObject, EStructuralFeature feature);

  // remove the entry.
  // 100204:IS - Hmmm. I'm not sure what the usage...
  public Object remove(ObjyObject objyObject, EStructuralFeature feature);

}

Back to the top