Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/Printer.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytableFactory.java46
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytablePackage.java237
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/PrinterImpl.java329
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytableFactoryImpl.java99
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytablePackageImpl.java308
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/package.jdo27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.genmodel17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.xsd28
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/secondarytable.ecore50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableAdapterFactory.java124
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableSwitch.java130
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/validation/PrinterValidator.java23
16 files changed, 0 insertions, 1700 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/Printer.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/Printer.java
deleted file mode 100644
index c1149f5b9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/Printer.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Printer.java,v 1.3 2006/09/13 10:39:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Printer</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getMake <em>Make</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getModel <em>Model</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerMake <em>Toner Make</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerModel <em>Toner Model</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage#getPrinter()
- * @model annotation="teneo.jpa appinfo='\n\t\t\t\t@SecondaryTable(name=\"THETONER\" pkJoinColumns={@PrimaryKeyJoinColumn(name=\"PRINTER_ID\")})\n\t\t'"
- * extendedMetaData="name='Printer' kind='elementOnly'"
- * @generated
- */
-public interface Printer extends EObject {
- /**
- * Returns the value of the '<em><b>Make</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Make</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Make</em>' attribute.
- * @see #setMake(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage#getPrinter_Make()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='make'"
- * @generated
- */
- String getMake();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getMake <em>Make</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Make</em>' attribute.
- * @see #getMake()
- * @generated
- */
- void setMake(String value);
-
- /**
- * Returns the value of the '<em><b>Model</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Model</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Model</em>' attribute.
- * @see #setModel(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage#getPrinter_Model()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='model'"
- * @generated
- */
- String getModel();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getModel <em>Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Model</em>' attribute.
- * @see #getModel()
- * @generated
- */
- void setModel(String value);
-
- /**
- * Returns the value of the '<em><b>Toner Make</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Toner Make</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Toner Make</em>' attribute.
- * @see #setTonerMake(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage#getPrinter_TonerMake()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Column(table=\"THETONER\")'"
- * extendedMetaData="kind='element' name='tonerMake'"
- * @generated
- */
- String getTonerMake();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerMake <em>Toner Make</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Toner Make</em>' attribute.
- * @see #getTonerMake()
- * @generated
- */
- void setTonerMake(String value);
-
- /**
- * Returns the value of the '<em><b>Toner Model</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Toner Model</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Toner Model</em>' attribute.
- * @see #setTonerModel(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage#getPrinter_TonerModel()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Column(table=\"THETONER\")'"
- * extendedMetaData="kind='element' name='tonerModel'"
- * @generated
- */
- String getTonerModel();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerModel <em>Toner Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Toner Model</em>' attribute.
- * @see #getTonerModel()
- * @generated
- */
- void setTonerModel(String value);
-
-} // Printer
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytableFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytableFactory.java
deleted file mode 100644
index aae4fab83..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytableFactory.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytableFactory.java,v 1.1 2006/07/11 16:57:15 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage
- * @generated
- */
-public interface SecondarytableFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- SecondarytableFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.SecondarytableFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Printer</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Printer</em>'.
- * @generated
- */
- Printer createPrinter();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- SecondarytablePackage getSecondarytablePackage();
-
-} //SecondarytableFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytablePackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytablePackage.java
deleted file mode 100644
index 5aecd70bd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/SecondarytablePackage.java
+++ /dev/null
@@ -1,237 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytablePackage.java,v 1.1 2006/07/11 16:57:15 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytableFactory
- * @model kind="package"
- * @generated
- */
-public interface SecondarytablePackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "secondarytable";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytable";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "secondarytable";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- SecondarytablePackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.SecondarytablePackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl <em>Printer</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.SecondarytablePackageImpl#getPrinter()
- * @generated
- */
- int PRINTER = 0;
-
- /**
- * The feature id for the '<em><b>Make</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRINTER__MAKE = 0;
-
- /**
- * The feature id for the '<em><b>Model</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRINTER__MODEL = 1;
-
- /**
- * The feature id for the '<em><b>Toner Make</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRINTER__TONER_MAKE = 2;
-
- /**
- * The feature id for the '<em><b>Toner Model</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRINTER__TONER_MODEL = 3;
-
- /**
- * The number of structural features of the '<em>Printer</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRINTER_FEATURE_COUNT = 4;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer <em>Printer</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Printer</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer
- * @generated
- */
- EClass getPrinter();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getMake <em>Make</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Make</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getMake()
- * @see #getPrinter()
- * @generated
- */
- EAttribute getPrinter_Make();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getModel <em>Model</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Model</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getModel()
- * @see #getPrinter()
- * @generated
- */
- EAttribute getPrinter_Model();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerMake <em>Toner Make</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Toner Make</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerMake()
- * @see #getPrinter()
- * @generated
- */
- EAttribute getPrinter_TonerMake();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerModel <em>Toner Model</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Toner Model</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer#getTonerModel()
- * @see #getPrinter()
- * @generated
- */
- EAttribute getPrinter_TonerModel();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- SecondarytableFactory getSecondarytableFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl <em>Printer</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.SecondarytablePackageImpl#getPrinter()
- * @generated
- */
- EClass PRINTER = eINSTANCE.getPrinter();
-
- /**
- * The meta object literal for the '<em><b>Make</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PRINTER__MAKE = eINSTANCE.getPrinter_Make();
-
- /**
- * The meta object literal for the '<em><b>Model</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PRINTER__MODEL = eINSTANCE.getPrinter_Model();
-
- /**
- * The meta object literal for the '<em><b>Toner Make</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PRINTER__TONER_MAKE = eINSTANCE.getPrinter_TonerMake();
-
- /**
- * The meta object literal for the '<em><b>Toner Model</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PRINTER__TONER_MODEL = eINSTANCE.getPrinter_TonerModel();
-
- }
-
-} //SecondarytablePackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/PrinterImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/PrinterImpl.java
deleted file mode 100644
index 9e595bccd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/PrinterImpl.java
+++ /dev/null
@@ -1,329 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PrinterImpl.java,v 1.2 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer;
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Printer</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl#getMake <em>Make</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl#getModel <em>Model</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl#getTonerMake <em>Toner Make</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl#getTonerModel <em>Toner Model</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PrinterImpl extends EObjectImpl implements Printer {
- /**
- * The default value of the '{@link #getMake() <em>Make</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMake()
- * @generated
- * @ordered
- */
- protected static final String MAKE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMake() <em>Make</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMake()
- * @generated
- * @ordered
- */
- protected String make = MAKE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getModel() <em>Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getModel()
- * @generated
- * @ordered
- */
- protected static final String MODEL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getModel() <em>Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getModel()
- * @generated
- * @ordered
- */
- protected String model = MODEL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTonerMake() <em>Toner Make</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTonerMake()
- * @generated
- * @ordered
- */
- protected static final String TONER_MAKE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTonerMake() <em>Toner Make</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTonerMake()
- * @generated
- * @ordered
- */
- protected String tonerMake = TONER_MAKE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTonerModel() <em>Toner Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTonerModel()
- * @generated
- * @ordered
- */
- protected static final String TONER_MODEL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTonerModel() <em>Toner Model</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTonerModel()
- * @generated
- * @ordered
- */
- protected String tonerModel = TONER_MODEL_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PrinterImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return SecondarytablePackage.Literals.PRINTER;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getMake() {
- return make;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMake(String newMake) {
- String oldMake = make;
- make = newMake;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SecondarytablePackage.PRINTER__MAKE, oldMake, make));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getModel() {
- return model;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setModel(String newModel) {
- String oldModel = model;
- model = newModel;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SecondarytablePackage.PRINTER__MODEL, oldModel, model));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTonerMake() {
- return tonerMake;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTonerMake(String newTonerMake) {
- String oldTonerMake = tonerMake;
- tonerMake = newTonerMake;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SecondarytablePackage.PRINTER__TONER_MAKE, oldTonerMake, tonerMake));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTonerModel() {
- return tonerModel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTonerModel(String newTonerModel) {
- String oldTonerModel = tonerModel;
- tonerModel = newTonerModel;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, SecondarytablePackage.PRINTER__TONER_MODEL, oldTonerModel, tonerModel));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case SecondarytablePackage.PRINTER__MAKE:
- return getMake();
- case SecondarytablePackage.PRINTER__MODEL:
- return getModel();
- case SecondarytablePackage.PRINTER__TONER_MAKE:
- return getTonerMake();
- case SecondarytablePackage.PRINTER__TONER_MODEL:
- return getTonerModel();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case SecondarytablePackage.PRINTER__MAKE:
- setMake((String)newValue);
- return;
- case SecondarytablePackage.PRINTER__MODEL:
- setModel((String)newValue);
- return;
- case SecondarytablePackage.PRINTER__TONER_MAKE:
- setTonerMake((String)newValue);
- return;
- case SecondarytablePackage.PRINTER__TONER_MODEL:
- setTonerModel((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case SecondarytablePackage.PRINTER__MAKE:
- setMake(MAKE_EDEFAULT);
- return;
- case SecondarytablePackage.PRINTER__MODEL:
- setModel(MODEL_EDEFAULT);
- return;
- case SecondarytablePackage.PRINTER__TONER_MAKE:
- setTonerMake(TONER_MAKE_EDEFAULT);
- return;
- case SecondarytablePackage.PRINTER__TONER_MODEL:
- setTonerModel(TONER_MODEL_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case SecondarytablePackage.PRINTER__MAKE:
- return MAKE_EDEFAULT == null ? make != null : !MAKE_EDEFAULT.equals(make);
- case SecondarytablePackage.PRINTER__MODEL:
- return MODEL_EDEFAULT == null ? model != null : !MODEL_EDEFAULT.equals(model);
- case SecondarytablePackage.PRINTER__TONER_MAKE:
- return TONER_MAKE_EDEFAULT == null ? tonerMake != null : !TONER_MAKE_EDEFAULT.equals(tonerMake);
- case SecondarytablePackage.PRINTER__TONER_MODEL:
- return TONER_MODEL_EDEFAULT == null ? tonerModel != null : !TONER_MODEL_EDEFAULT.equals(tonerModel);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (make: ");
- result.append(make);
- result.append(", model: ");
- result.append(model);
- result.append(", tonerMake: ");
- result.append(tonerMake);
- result.append(", tonerModel: ");
- result.append(tonerModel);
- result.append(')');
- return result.toString();
- }
-
-} //PrinterImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytableFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytableFactoryImpl.java
deleted file mode 100644
index 46127772a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytableFactoryImpl.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytableFactoryImpl.java,v 1.2 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SecondarytableFactoryImpl extends EFactoryImpl implements SecondarytableFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static SecondarytableFactory init() {
- try {
- SecondarytableFactory theSecondarytableFactory = (SecondarytableFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytable");
- if (theSecondarytableFactory != null) {
- return theSecondarytableFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new SecondarytableFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecondarytableFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case SecondarytablePackage.PRINTER: return createPrinter();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Printer createPrinter() {
- PrinterImpl printer = new PrinterImpl();
- return printer;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecondarytablePackage getSecondarytablePackage() {
- return (SecondarytablePackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static SecondarytablePackage getPackage() {
- return SecondarytablePackage.eINSTANCE;
- }
-
-} //SecondarytableFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytablePackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytablePackageImpl.java
deleted file mode 100644
index 4c19ae772..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/SecondarytablePackageImpl.java
+++ /dev/null
@@ -1,308 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytablePackageImpl.java,v 1.4 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer;
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytableFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SecondarytablePackageImpl extends EPackageImpl implements SecondarytablePackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass printerEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage#eNS_URI
- * @see #init()
- * @generated
- */
- private SecondarytablePackageImpl() {
- super(eNS_URI, SecondarytableFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static SecondarytablePackage init() {
- if (isInited) return (SecondarytablePackage)EPackage.Registry.INSTANCE.getEPackage(SecondarytablePackage.eNS_URI);
-
- // Obtain or create and register package
- SecondarytablePackageImpl theSecondarytablePackage = (SecondarytablePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof SecondarytablePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new SecondarytablePackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theSecondarytablePackage.createPackageContents();
-
- // Initialize created meta-data
- theSecondarytablePackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theSecondarytablePackage.freeze();
-
- return theSecondarytablePackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPrinter() {
- return printerEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPrinter_Make() {
- return (EAttribute)printerEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPrinter_Model() {
- return (EAttribute)printerEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPrinter_TonerMake() {
- return (EAttribute)printerEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPrinter_TonerModel() {
- return (EAttribute)printerEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecondarytableFactory getSecondarytableFactory() {
- return (SecondarytableFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- printerEClass = createEClass(PRINTER);
- createEAttribute(printerEClass, PRINTER__MAKE);
- createEAttribute(printerEClass, PRINTER__MODEL);
- createEAttribute(printerEClass, PRINTER__TONER_MAKE);
- createEAttribute(printerEClass, PRINTER__TONER_MODEL);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(printerEClass, Printer.class, "Printer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPrinter_Make(), theXMLTypePackage.getString(), "make", null, 1, 1, Printer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPrinter_Model(), theXMLTypePackage.getString(), "model", null, 1, 1, Printer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPrinter_TonerMake(), theXMLTypePackage.getString(), "tonerMake", null, 1, 1, Printer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPrinter_TonerModel(), theXMLTypePackage.getString(), "tonerModel", null, 1, 1, Printer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // teneo.jpa
- createTeneoAnnotations();
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (printerEClass,
- source,
- new String[] {
- "name", "Printer",
- "kind", "elementOnly"
- });
- addAnnotation
- (getPrinter_Make(),
- source,
- new String[] {
- "kind", "element",
- "name", "make"
- });
- addAnnotation
- (getPrinter_Model(),
- source,
- new String[] {
- "kind", "element",
- "name", "model"
- });
- addAnnotation
- (getPrinter_TonerMake(),
- source,
- new String[] {
- "kind", "element",
- "name", "tonerMake"
- });
- addAnnotation
- (getPrinter_TonerModel(),
- source,
- new String[] {
- "kind", "element",
- "name", "tonerModel"
- });
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createTeneoAnnotations() {
- String source = "teneo.jpa";
- addAnnotation
- (printerEClass,
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t@SecondaryTable(name=\"THETONER\" pkJoinColumns={@PrimaryKeyJoinColumn(name=\"PRINTER_ID\")})\n\t\t"
- });
- addAnnotation
- (getPrinter_TonerMake(),
- source,
- new String[] {
- "appinfo", "@Column(table=\"THETONER\")"
- });
- addAnnotation
- (getPrinter_TonerModel(),
- source,
- new String[] {
- "appinfo", "@Column(table=\"THETONER\")"
- });
- }
-
-} //SecondarytablePackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/package.jdo b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/package.jdo
deleted file mode 100644
index 6aa25c2b9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/impl/package.jdo
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-
-<jdo>
- <package name="org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="printer" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="Printer"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <join table="THETONER">
- <column name="PRINTER_ID"/>
- </join>
- <field name="make" persistence-modifier="persistent" null-value="exception"/>
- <field name="model" persistence-modifier="persistent" null-value="exception"/>
- <field name="tonerMake" persistence-modifier="persistent" table="THETONER" null-value="none">
- <column name="tonermake" allows-null="true"/>
- </field>
- <field name="tonerModel" persistence-modifier="persistent" table="THETONER" null-value="none">
- <column name="tonermodel" allows-null="true"/>
- </field>
- </class>
- </package>
-</jdo> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.genmodel
deleted file mode 100644
index 24c34f3f9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.genmodel
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.teneo.samples/src"
- modelPluginID="org.eclipse.emf.teneo.samples" modelName="SecondaryTable" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="5.0">
- <foreignModel>SecondaryTable.xsd</foreignModel>
- <genPackages prefix="Secondarytable" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="secondarytable.ecore#/">
- <genClasses ecoreClass="secondarytable.ecore#//Printer">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute secondarytable.ecore#//Printer/make"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute secondarytable.ecore#//Printer/model"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute secondarytable.ecore#//Printer/tonerMake"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute secondarytable.ecore#//Printer/tonerModel"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.xsd
deleted file mode 100644
index 179607243..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/SecondaryTable.xsd
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytable"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:lib="http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytable"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="Printer">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @SecondaryTable(name="THETONER" pkJoinColumns={@PrimaryKeyJoinColumn(name="PRINTER_ID")})
- </xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="make" type="xsd:string"/>
- <xsd:element name="model" type="xsd:string"/>
- <xsd:element name="tonerMake" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Column(table="THETONER")</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="tonerModel" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Column(table="THETONER")</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/secondarytable.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/secondarytable.ecore
deleted file mode 100644
index a79980757..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/model/secondarytable.ecore
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="secondarytable"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/secondarytable"
- nsPrefix="secondarytable">
- <eClassifiers xsi:type="ecore:EClass" name="Printer">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;@SecondaryTable(name=&quot;THETONER&quot; pkJoinColumns={@PrimaryKeyJoinColumn(name=&quot;PRINTER_ID&quot;)})&#xA;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Printer"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="make" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="make"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="model" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="model"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="tonerMake" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Column(table=&quot;THETONER&quot; nullable=false)&#xA;@Basic(optional=false)"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="tonerMake"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="tonerModel" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Column(table=&quot;THETONER&quot;)"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="tonerModel"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableAdapterFactory.java
deleted file mode 100644
index fc158266b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableAdapterFactory.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytableAdapterFactory.java,v 1.2 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage
- * @generated
- */
-public class SecondarytableAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static SecondarytablePackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecondarytableAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = SecondarytablePackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SecondarytableSwitch<Adapter> modelSwitch =
- new SecondarytableSwitch<Adapter>() {
- @Override
- public Adapter casePrinter(Printer object) {
- return createPrinterAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer <em>Printer</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer
- * @generated
- */
- public Adapter createPrinterAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //SecondarytableAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceFactoryImpl.java
deleted file mode 100644
index f2418402f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytableResourceFactoryImpl.java,v 1.2 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.util.SecondarytableResourceImpl
- * @generated
- */
-public class SecondarytableResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecondarytableResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new SecondarytableResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //SecondarytableResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceImpl.java
deleted file mode 100644
index a5461811f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytableResourceImpl.java,v 1.1 2006/07/11 16:57:17 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.util.SecondarytableResourceFactoryImpl
- * @generated
- */
-public class SecondarytableResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public SecondarytableResourceImpl(URI uri) {
- super(uri);
- }
-
-} //SecondarytableResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableSwitch.java
deleted file mode 100644
index 8d02a65b2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableSwitch.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytableSwitch.java,v 1.2 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage
- * @generated
- */
-public class SecondarytableSwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static SecondarytablePackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecondarytableSwitch() {
- if (modelPackage == null) {
- modelPackage = SecondarytablePackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public T doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject) {
- if (theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case SecondarytablePackage.PRINTER: {
- Printer printer = (Printer)theEObject;
- T result = casePrinter(printer);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Printer</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Printer</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePrinter(Printer object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //SecondarytableSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableXMLProcessor.java
deleted file mode 100644
index 8ceec50a6..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/util/SecondarytableXMLProcessor.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecondarytableXMLProcessor.java,v 1.2 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.SecondarytablePackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class SecondarytableXMLProcessor extends XMLProcessor {
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecondarytableXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- SecondarytablePackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the SecondarytableResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new SecondarytableResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new SecondarytableResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //SecondarytableXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/validation/PrinterValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/validation/PrinterValidator.java
deleted file mode 100644
index 5cfc250dc..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/secondarytable/validation/PrinterValidator.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PrinterValidator.java,v 1.1 2007/02/08 23:09:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface PrinterValidator {
- boolean validate();
-
- boolean validateMake(String value);
- boolean validateModel(String value);
- boolean validateTonerMake(String value);
- boolean validateTonerModel(String value);
-}

Back to the top