diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/mapper/ITypeMapper.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/mapper/ITypeMapper.java | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/mapper/ITypeMapper.java b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/mapper/ITypeMapper.java index 0b7b429566..ab8a331af1 100644 --- a/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/mapper/ITypeMapper.java +++ b/plugins/org.eclipse.emf.cdo.server.objectivity/src/org/eclipse/emf/cdo/server/internal/objectivity/mapper/ITypeMapper.java @@ -1,49 +1,49 @@ -/*
- * Copyright (c) 2004 - 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;
-
-import com.objy.as.app.Class_Object;
-import com.objy.as.app.Numeric_Value;
-import com.objy.as.app.Proposed_Class;
-import com.objy.as.app.d_Attribute;
-
-/**
- * Maps between Objy types (classes and objects), and EMF types.
- *
- * @author ibrahim
- */
-public interface ITypeMapper
-{
-
- final Numeric_Value numericTrue = new Numeric_Value(true);
-
- final Numeric_Value numericFalse = new Numeric_Value(false);
-
- // Model
- public boolean validate(d_Attribute ooAttribute, EStructuralFeature feature);
-
- public boolean createSchema(Proposed_Class proposedClasses, EStructuralFeature feature);
-
- public void modifySchema(Proposed_Class proposedooClass, EStructuralFeature feature);
-
- // Instance
- public void initialize(Class_Object class_Object, EStructuralFeature feature);
-
- // delete the entry.
- // 100204:IS - Hmmm. I'm not sure what the usage...
- public void delete(ObjyObject objyObject, EStructuralFeature feature);
-
-}
+/* + * Copyright (c) 2004 - 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; + +import com.objy.as.app.Class_Object; +import com.objy.as.app.Numeric_Value; +import com.objy.as.app.Proposed_Class; +import com.objy.as.app.d_Attribute; + +/** + * Maps between Objy types (classes and objects), and EMF types. + * + * @author ibrahim + */ +public interface ITypeMapper +{ + + final Numeric_Value numericTrue = new Numeric_Value(true); + + final Numeric_Value numericFalse = new Numeric_Value(false); + + // Model + public boolean validate(d_Attribute ooAttribute, EStructuralFeature feature); + + public boolean createSchema(Proposed_Class proposedClasses, EStructuralFeature feature); + + public void modifySchema(Proposed_Class proposedooClass, EStructuralFeature feature); + + // Instance + public void initialize(Class_Object class_Object, EStructuralFeature feature); + + // delete the entry. + // 100204:IS - Hmmm. I'm not sure what the usage... + public void delete(ObjyObject objyObject, EStructuralFeature feature); + +} |