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/impl/OneToOneImpl.java')
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/OneToOneImpl.java682
1 files changed, 0 insertions, 682 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/OneToOneImpl.java b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/OneToOneImpl.java
deleted file mode 100755
index 2e7c7f613..000000000
--- a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/OneToOneImpl.java
+++ /dev/null
@@ -1,682 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: OneToOneImpl.java,v 1.2 2009/07/23 11:16:29 mtaal Exp $
- */
-package org.eclipse.emf.teneo.jpa.orm.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.emf.teneo.jpa.orm.CascadeType;
-import org.eclipse.emf.teneo.jpa.orm.FetchType;
-import org.eclipse.emf.teneo.jpa.orm.JoinColumn;
-import org.eclipse.emf.teneo.jpa.orm.JoinTable;
-import org.eclipse.emf.teneo.jpa.orm.OneToOne;
-import org.eclipse.emf.teneo.jpa.orm.OrmPackage;
-import org.eclipse.emf.teneo.jpa.orm.PrimaryKeyJoinColumn;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>One To One</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getPrimaryKeyJoinColumn <em>Primary Key Join Column</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getJoinColumn <em>Join Column</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getJoinTable <em>Join Table</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getCascade <em>Cascade</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getFetch <em>Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getMappedBy <em>Mapped By</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#isOptional <em>Optional</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.OneToOneImpl#getTargetEntity <em>Target Entity</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OneToOneImpl extends EObjectImpl implements OneToOne {
- /**
- * The cached value of the '{@link #getPrimaryKeyJoinColumn() <em>Primary Key Join Column</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrimaryKeyJoinColumn()
- * @generated
- * @ordered
- */
- protected EList<PrimaryKeyJoinColumn> primaryKeyJoinColumn;
-
- /**
- * The cached value of the '{@link #getJoinColumn() <em>Join Column</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getJoinColumn()
- * @generated
- * @ordered
- */
- protected EList<JoinColumn> joinColumn;
-
- /**
- * The cached value of the '{@link #getJoinTable() <em>Join Table</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getJoinTable()
- * @generated
- * @ordered
- */
- protected JoinTable joinTable;
-
- /**
- * The cached value of the '{@link #getCascade() <em>Cascade</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCascade()
- * @generated
- * @ordered
- */
- protected CascadeType cascade;
-
- /**
- * The default value of the '{@link #getFetch() <em>Fetch</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFetch()
- * @generated
- * @ordered
- */
- protected static final FetchType FETCH_EDEFAULT = FetchType.LAZY;
-
- /**
- * The cached value of the '{@link #getFetch() <em>Fetch</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFetch()
- * @generated
- * @ordered
- */
- protected FetchType fetch = FETCH_EDEFAULT;
-
- /**
- * This is true if the Fetch attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean fetchESet;
-
- /**
- * The default value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMappedBy()
- * @generated
- * @ordered
- */
- protected static final String MAPPED_BY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMappedBy()
- * @generated
- * @ordered
- */
- protected String mappedBy = MAPPED_BY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOptional()
- * @generated
- * @ordered
- */
- protected static final boolean OPTIONAL_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOptional()
- * @generated
- * @ordered
- */
- protected boolean optional = OPTIONAL_EDEFAULT;
-
- /**
- * This is true if the Optional attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean optionalESet;
-
- /**
- * The default value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetEntity()
- * @generated
- * @ordered
- */
- protected static final String TARGET_ENTITY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTargetEntity()
- * @generated
- * @ordered
- */
- protected String targetEntity = TARGET_ENTITY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OneToOneImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OrmPackage.Literals.ONE_TO_ONE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn() {
- if (primaryKeyJoinColumn == null) {
- primaryKeyJoinColumn = new EObjectContainmentEList<PrimaryKeyJoinColumn>(PrimaryKeyJoinColumn.class, this, OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN);
- }
- return primaryKeyJoinColumn;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<JoinColumn> getJoinColumn() {
- if (joinColumn == null) {
- joinColumn = new EObjectContainmentEList<JoinColumn>(JoinColumn.class, this, OrmPackage.ONE_TO_ONE__JOIN_COLUMN);
- }
- return joinColumn;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JoinTable getJoinTable() {
- return joinTable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetJoinTable(JoinTable newJoinTable, NotificationChain msgs) {
- JoinTable oldJoinTable = joinTable;
- joinTable = newJoinTable;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_TABLE, oldJoinTable, newJoinTable);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setJoinTable(JoinTable newJoinTable) {
- if (newJoinTable != joinTable) {
- NotificationChain msgs = null;
- if (joinTable != null)
- msgs = ((InternalEObject)joinTable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__JOIN_TABLE, null, msgs);
- if (newJoinTable != null)
- msgs = ((InternalEObject)newJoinTable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__JOIN_TABLE, null, msgs);
- msgs = basicSetJoinTable(newJoinTable, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_TABLE, newJoinTable, newJoinTable));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CascadeType getCascade() {
- return cascade;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetCascade(CascadeType newCascade, NotificationChain msgs) {
- CascadeType oldCascade = cascade;
- cascade = newCascade;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE, oldCascade, newCascade);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCascade(CascadeType newCascade) {
- if (newCascade != cascade) {
- NotificationChain msgs = null;
- if (cascade != null)
- msgs = ((InternalEObject)cascade).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__CASCADE, null, msgs);
- if (newCascade != null)
- msgs = ((InternalEObject)newCascade).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__CASCADE, null, msgs);
- msgs = basicSetCascade(newCascade, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE, newCascade, newCascade));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FetchType getFetch() {
- return fetch;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFetch(FetchType newFetch) {
- FetchType oldFetch = fetch;
- fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
- boolean oldFetchESet = fetchESet;
- fetchESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__FETCH, oldFetch, fetch, !oldFetchESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetFetch() {
- FetchType oldFetch = fetch;
- boolean oldFetchESet = fetchESet;
- fetch = FETCH_EDEFAULT;
- fetchESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__FETCH, oldFetch, FETCH_EDEFAULT, oldFetchESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetFetch() {
- return fetchESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getMappedBy() {
- return mappedBy;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMappedBy(String newMappedBy) {
- String oldMappedBy = mappedBy;
- mappedBy = newMappedBy;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__MAPPED_BY, oldMappedBy, mappedBy));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isOptional() {
- return optional;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOptional(boolean newOptional) {
- boolean oldOptional = optional;
- optional = newOptional;
- boolean oldOptionalESet = optionalESet;
- optionalESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__OPTIONAL, oldOptional, optional, !oldOptionalESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetOptional() {
- boolean oldOptional = optional;
- boolean oldOptionalESet = optionalESet;
- optional = OPTIONAL_EDEFAULT;
- optionalESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__OPTIONAL, oldOptional, OPTIONAL_EDEFAULT, oldOptionalESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetOptional() {
- return optionalESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTargetEntity() {
- return targetEntity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTargetEntity(String newTargetEntity) {
- String oldTargetEntity = targetEntity;
- targetEntity = newTargetEntity;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__TARGET_ENTITY, oldTargetEntity, targetEntity));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- return ((InternalEList<?>)getPrimaryKeyJoinColumn()).basicRemove(otherEnd, msgs);
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- return ((InternalEList<?>)getJoinColumn()).basicRemove(otherEnd, msgs);
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- return basicSetJoinTable(null, msgs);
- case OrmPackage.ONE_TO_ONE__CASCADE:
- return basicSetCascade(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- return getPrimaryKeyJoinColumn();
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- return getJoinColumn();
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- return getJoinTable();
- case OrmPackage.ONE_TO_ONE__CASCADE:
- return getCascade();
- case OrmPackage.ONE_TO_ONE__FETCH:
- return getFetch();
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- return getMappedBy();
- case OrmPackage.ONE_TO_ONE__NAME:
- return getName();
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- return isOptional();
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- return getTargetEntity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- getPrimaryKeyJoinColumn().clear();
- getPrimaryKeyJoinColumn().addAll((Collection<? extends PrimaryKeyJoinColumn>)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- getJoinColumn().clear();
- getJoinColumn().addAll((Collection<? extends JoinColumn>)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- setJoinTable((JoinTable)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__CASCADE:
- setCascade((CascadeType)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__FETCH:
- setFetch((FetchType)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- setMappedBy((String)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__NAME:
- setName((String)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- setOptional((Boolean)newValue);
- return;
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- setTargetEntity((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- getPrimaryKeyJoinColumn().clear();
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- getJoinColumn().clear();
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- setJoinTable((JoinTable)null);
- return;
- case OrmPackage.ONE_TO_ONE__CASCADE:
- setCascade((CascadeType)null);
- return;
- case OrmPackage.ONE_TO_ONE__FETCH:
- unsetFetch();
- return;
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- setMappedBy(MAPPED_BY_EDEFAULT);
- return;
- case OrmPackage.ONE_TO_ONE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- unsetOptional();
- return;
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- setTargetEntity(TARGET_ENTITY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- return primaryKeyJoinColumn != null && !primaryKeyJoinColumn.isEmpty();
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- return joinColumn != null && !joinColumn.isEmpty();
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- return joinTable != null;
- case OrmPackage.ONE_TO_ONE__CASCADE:
- return cascade != null;
- case OrmPackage.ONE_TO_ONE__FETCH:
- return isSetFetch();
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- return MAPPED_BY_EDEFAULT == null ? mappedBy != null : !MAPPED_BY_EDEFAULT.equals(mappedBy);
- case OrmPackage.ONE_TO_ONE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- return isSetOptional();
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- return TARGET_ENTITY_EDEFAULT == null ? targetEntity != null : !TARGET_ENTITY_EDEFAULT.equals(targetEntity);
- }
- 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(" (fetch: ");
- if (fetchESet) result.append(fetch); else result.append("<unset>");
- result.append(", mappedBy: ");
- result.append(mappedBy);
- result.append(", name: ");
- result.append(name);
- result.append(", optional: ");
- if (optionalESet) result.append(optional); else result.append("<unset>");
- result.append(", targetEntity: ");
- result.append(targetEntity);
- result.append(')');
- return result.toString();
- }
-
-} //OneToOneImpl

Back to the top