Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/PersistenceUnitDefaults.java')
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/PersistenceUnitDefaults.java218
1 files changed, 218 insertions, 0 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/PersistenceUnitDefaults.java b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/PersistenceUnitDefaults.java
new file mode 100755
index 000000000..4774184c5
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/PersistenceUnitDefaults.java
@@ -0,0 +1,218 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: PersistenceUnitDefaults.java,v 1.1 2009/03/15 23:45:00 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.jpa.orm;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Persistence Unit Defaults</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ *
+ * These defaults are applied to the persistence unit as a whole
+ * unless they are overridden by local annotation or XML
+ * element settings.
+ *
+ * schema - Used as the schema for all tables or secondary tables
+ * that apply to the persistence unit
+ * catalog - Used as the catalog for all tables or secondary tables
+ * that apply to the persistence unit
+ * access - Used as the access type for all managed classes in
+ * the persistence unit
+ * cascade-persist - Adds cascade-persist to the set of cascade options
+ * in entity relationships of the persistence unit
+ * entity-listeners - List of default entity listeners to be invoked
+ * on each entity in the persistence unit.
+ *
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getSchema <em>Schema</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getCatalog <em>Catalog</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getAccess <em>Access</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getCascadePersist <em>Cascade Persist</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getEntityListeners <em>Entity Listeners</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getPersistenceUnitDefaults()
+ * @model extendedMetaData="name='persistence-unit-defaults' kind='elementOnly'"
+ * @generated
+ */
+public interface PersistenceUnitDefaults extends EObject {
+ /**
+ * Returns the value of the '<em><b>Schema</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Schema</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Schema</em>' attribute.
+ * @see #setSchema(String)
+ * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getPersistenceUnitDefaults_Schema()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='schema' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getSchema();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getSchema <em>Schema</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Schema</em>' attribute.
+ * @see #getSchema()
+ * @generated
+ */
+ void setSchema(String value);
+
+ /**
+ * Returns the value of the '<em><b>Catalog</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Catalog</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Catalog</em>' attribute.
+ * @see #setCatalog(String)
+ * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getPersistenceUnitDefaults_Catalog()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='catalog' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getCatalog();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getCatalog <em>Catalog</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Catalog</em>' attribute.
+ * @see #getCatalog()
+ * @generated
+ */
+ void setCatalog(String value);
+
+ /**
+ * Returns the value of the '<em><b>Access</b></em>' attribute.
+ * The literals are from the enumeration {@link org.eclipse.emf.teneo.jpa.orm.AccessType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Access</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Access</em>' attribute.
+ * @see org.eclipse.emf.teneo.jpa.orm.AccessType
+ * @see #isSetAccess()
+ * @see #unsetAccess()
+ * @see #setAccess(AccessType)
+ * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getPersistenceUnitDefaults_Access()
+ * @model unsettable="true"
+ * extendedMetaData="kind='element' name='access' namespace='##targetNamespace'"
+ * @generated
+ */
+ AccessType getAccess();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getAccess <em>Access</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Access</em>' attribute.
+ * @see org.eclipse.emf.teneo.jpa.orm.AccessType
+ * @see #isSetAccess()
+ * @see #unsetAccess()
+ * @see #getAccess()
+ * @generated
+ */
+ void setAccess(AccessType value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getAccess <em>Access</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAccess()
+ * @see #getAccess()
+ * @see #setAccess(AccessType)
+ * @generated
+ */
+ void unsetAccess();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getAccess <em>Access</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Access</em>' attribute is set.
+ * @see #unsetAccess()
+ * @see #getAccess()
+ * @see #setAccess(AccessType)
+ * @generated
+ */
+ boolean isSetAccess();
+
+ /**
+ * Returns the value of the '<em><b>Cascade Persist</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Cascade Persist</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Cascade Persist</em>' containment reference.
+ * @see #setCascadePersist(EmptyType)
+ * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getPersistenceUnitDefaults_CascadePersist()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='cascade-persist' namespace='##targetNamespace'"
+ * @generated
+ */
+ EmptyType getCascadePersist();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getCascadePersist <em>Cascade Persist</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Cascade Persist</em>' containment reference.
+ * @see #getCascadePersist()
+ * @generated
+ */
+ void setCascadePersist(EmptyType value);
+
+ /**
+ * Returns the value of the '<em><b>Entity Listeners</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Entity Listeners</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Entity Listeners</em>' containment reference.
+ * @see #setEntityListeners(EntityListeners)
+ * @see org.eclipse.emf.teneo.jpa.orm.OrmPackage#getPersistenceUnitDefaults_EntityListeners()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='entity-listeners' namespace='##targetNamespace'"
+ * @generated
+ */
+ EntityListeners getEntityListeners();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.jpa.orm.PersistenceUnitDefaults#getEntityListeners <em>Entity Listeners</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Entity Listeners</em>' containment reference.
+ * @see #getEntityListeners()
+ * @generated
+ */
+ void setEntityListeners(EntityListeners value);
+
+} // PersistenceUnitDefaults

Back to the top