blob: 3f881d6e192a762f119d92a09e855d36136bab65 [file] [log] [blame]
/**
* <copyright>
* </copyright>
*
* $Id: OrmSwitch.java,v 1.2 2008/02/03 16:40:54 tle Exp $
*/
package org.eclipse.jpt.core.internal.resource.orm.util;
import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.jpt.core.internal.resource.orm.*;
import org.eclipse.jpt.core.internal.resource.orm.AbstractColumn;
import org.eclipse.jpt.core.internal.resource.orm.AbstractTable;
import org.eclipse.jpt.core.internal.resource.orm.AssociationOverride;
import org.eclipse.jpt.core.internal.resource.orm.AttributeMapping;
import org.eclipse.jpt.core.internal.resource.orm.AttributeOverride;
import org.eclipse.jpt.core.internal.resource.orm.Attributes;
import org.eclipse.jpt.core.internal.resource.orm.Basic;
import org.eclipse.jpt.core.internal.resource.orm.CascadeType;
import org.eclipse.jpt.core.internal.resource.orm.Column;
import org.eclipse.jpt.core.internal.resource.orm.ColumnMapping;
import org.eclipse.jpt.core.internal.resource.orm.ColumnResult;
import org.eclipse.jpt.core.internal.resource.orm.DiscriminatorColumn;
import org.eclipse.jpt.core.internal.resource.orm.Embeddable;
import org.eclipse.jpt.core.internal.resource.orm.Embedded;
import org.eclipse.jpt.core.internal.resource.orm.EmbeddedId;
import org.eclipse.jpt.core.internal.resource.orm.Entity;
import org.eclipse.jpt.core.internal.resource.orm.EntityListener;
import org.eclipse.jpt.core.internal.resource.orm.EntityListeners;
import org.eclipse.jpt.core.internal.resource.orm.EntityMappings;
import org.eclipse.jpt.core.internal.resource.orm.EntityResult;
import org.eclipse.jpt.core.internal.resource.orm.EventMethod;
import org.eclipse.jpt.core.internal.resource.orm.FieldResult;
import org.eclipse.jpt.core.internal.resource.orm.GeneratedValue;
import org.eclipse.jpt.core.internal.resource.orm.Id;
import org.eclipse.jpt.core.internal.resource.orm.IdClass;
import org.eclipse.jpt.core.internal.resource.orm.Inheritance;
import org.eclipse.jpt.core.internal.resource.orm.JoinColumn;
import org.eclipse.jpt.core.internal.resource.orm.JoinTable;
import org.eclipse.jpt.core.internal.resource.orm.Lob;
import org.eclipse.jpt.core.internal.resource.orm.ManyToMany;
import org.eclipse.jpt.core.internal.resource.orm.ManyToOne;
import org.eclipse.jpt.core.internal.resource.orm.MapKey;
import org.eclipse.jpt.core.internal.resource.orm.MappedSuperclass;
import org.eclipse.jpt.core.internal.resource.orm.NamedColumn;
import org.eclipse.jpt.core.internal.resource.orm.NamedNativeQuery;
import org.eclipse.jpt.core.internal.resource.orm.NamedQuery;
import org.eclipse.jpt.core.internal.resource.orm.OneToMany;
import org.eclipse.jpt.core.internal.resource.orm.OneToOne;
import org.eclipse.jpt.core.internal.resource.orm.OrmPackage;
import org.eclipse.jpt.core.internal.resource.orm.PersistenceUnitDefaults;
import org.eclipse.jpt.core.internal.resource.orm.PersistenceUnitMetadata;
import org.eclipse.jpt.core.internal.resource.orm.PostLoad;
import org.eclipse.jpt.core.internal.resource.orm.PostPersist;
import org.eclipse.jpt.core.internal.resource.orm.PostRemove;
import org.eclipse.jpt.core.internal.resource.orm.PostUpdate;
import org.eclipse.jpt.core.internal.resource.orm.PrePersist;
import org.eclipse.jpt.core.internal.resource.orm.PreRemove;
import org.eclipse.jpt.core.internal.resource.orm.PreUpdate;
import org.eclipse.jpt.core.internal.resource.orm.PrimaryKeyJoinColumn;
import org.eclipse.jpt.core.internal.resource.orm.QueryHint;
import org.eclipse.jpt.core.internal.resource.orm.SecondaryTable;
import org.eclipse.jpt.core.internal.resource.orm.SequenceGenerator;
import org.eclipse.jpt.core.internal.resource.orm.SqlResultSetMapping;
import org.eclipse.jpt.core.internal.resource.orm.Table;
import org.eclipse.jpt.core.internal.resource.orm.TableGenerator;
import org.eclipse.jpt.core.internal.resource.orm.Transient;
import org.eclipse.jpt.core.internal.resource.orm.TypeMapping;
import org.eclipse.jpt.core.internal.resource.orm.UniqueConstraint;
import org.eclipse.jpt.core.internal.resource.orm.Version;
/**
* <!-- 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.jpt.core.internal.resource.orm.OrmPackage
* @generated
*/
public class OrmSwitch<T>
{
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static OrmPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public OrmSwitch()
{
if (modelPackage == null)
{
modelPackage = OrmPackage.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 OrmPackage.ENTITY_MAPPINGS:
{
EntityMappings entityMappings = (EntityMappings)theEObject;
T result = caseEntityMappings(entityMappings);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.PERSISTENCE_UNIT_METADATA:
{
PersistenceUnitMetadata persistenceUnitMetadata = (PersistenceUnitMetadata)theEObject;
T result = casePersistenceUnitMetadata(persistenceUnitMetadata);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.PERSISTENCE_UNIT_DEFAULTS:
{
PersistenceUnitDefaults persistenceUnitDefaults = (PersistenceUnitDefaults)theEObject;
T result = casePersistenceUnitDefaults(persistenceUnitDefaults);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.TYPE_MAPPING:
{
TypeMapping typeMapping = (TypeMapping)theEObject;
T result = caseTypeMapping(typeMapping);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MAPPED_SUPERCLASS:
{
MappedSuperclass mappedSuperclass = (MappedSuperclass)theEObject;
T result = caseMappedSuperclass(mappedSuperclass);
if (result == null) result = caseTypeMapping(mappedSuperclass);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ENTITY:
{
Entity entity = (Entity)theEObject;
T result = caseEntity(entity);
if (result == null) result = caseTypeMapping(entity);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.EMBEDDABLE:
{
Embeddable embeddable = (Embeddable)theEObject;
T result = caseEmbeddable(embeddable);
if (result == null) result = caseTypeMapping(embeddable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ATTRIBUTES:
{
Attributes attributes = (Attributes)theEObject;
T result = caseAttributes(attributes);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ATTRIBUTE_MAPPING:
{
AttributeMapping attributeMapping = (AttributeMapping)theEObject;
T result = caseAttributeMapping(attributeMapping);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.COLUMN_MAPPING:
{
ColumnMapping columnMapping = (ColumnMapping)theEObject;
T result = caseColumnMapping(columnMapping);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.RELATIONSHIP_MAPPING:
{
RelationshipMapping relationshipMapping = (RelationshipMapping)theEObject;
T result = caseRelationshipMapping(relationshipMapping);
if (result == null) result = caseAttributeMapping(relationshipMapping);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MULTI_RELATIONSHIP_MAPPING:
{
MultiRelationshipMapping multiRelationshipMapping = (MultiRelationshipMapping)theEObject;
T result = caseMultiRelationshipMapping(multiRelationshipMapping);
if (result == null) result = caseRelationshipMapping(multiRelationshipMapping);
if (result == null) result = caseAttributeMapping(multiRelationshipMapping);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.SINGLE_RELATIONSHIP_MAPPING:
{
SingleRelationshipMapping singleRelationshipMapping = (SingleRelationshipMapping)theEObject;
T result = caseSingleRelationshipMapping(singleRelationshipMapping);
if (result == null) result = caseRelationshipMapping(singleRelationshipMapping);
if (result == null) result = caseAttributeMapping(singleRelationshipMapping);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ID:
{
Id id = (Id)theEObject;
T result = caseId(id);
if (result == null) result = caseAttributeMapping(id);
if (result == null) result = caseColumnMapping(id);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ID_IMPL:
{
IdImpl idImpl = (IdImpl)theEObject;
T result = caseIdImpl(idImpl);
if (result == null) result = caseId(idImpl);
if (result == null) result = caseAttributeMapping(idImpl);
if (result == null) result = caseColumnMapping(idImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.EMBEDDED_ID:
{
EmbeddedId embeddedId = (EmbeddedId)theEObject;
T result = caseEmbeddedId(embeddedId);
if (result == null) result = caseAttributeMapping(embeddedId);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.EMBEDDED_ID_IMPL:
{
EmbeddedIdImpl embeddedIdImpl = (EmbeddedIdImpl)theEObject;
T result = caseEmbeddedIdImpl(embeddedIdImpl);
if (result == null) result = caseEmbeddedId(embeddedIdImpl);
if (result == null) result = caseAttributeMapping(embeddedIdImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.BASIC:
{
Basic basic = (Basic)theEObject;
T result = caseBasic(basic);
if (result == null) result = caseAttributeMapping(basic);
if (result == null) result = caseColumnMapping(basic);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.BASIC_IMPL:
{
BasicImpl basicImpl = (BasicImpl)theEObject;
T result = caseBasicImpl(basicImpl);
if (result == null) result = caseBasic(basicImpl);
if (result == null) result = caseAttributeMapping(basicImpl);
if (result == null) result = caseColumnMapping(basicImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.VERSION:
{
Version version = (Version)theEObject;
T result = caseVersion(version);
if (result == null) result = caseAttributeMapping(version);
if (result == null) result = caseColumnMapping(version);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.VERSION_IMPL:
{
VersionImpl versionImpl = (VersionImpl)theEObject;
T result = caseVersionImpl(versionImpl);
if (result == null) result = caseVersion(versionImpl);
if (result == null) result = caseAttributeMapping(versionImpl);
if (result == null) result = caseColumnMapping(versionImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MANY_TO_ONE:
{
ManyToOne manyToOne = (ManyToOne)theEObject;
T result = caseManyToOne(manyToOne);
if (result == null) result = caseSingleRelationshipMapping(manyToOne);
if (result == null) result = caseRelationshipMapping(manyToOne);
if (result == null) result = caseAttributeMapping(manyToOne);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MANY_TO_ONE_IMPL:
{
ManyToOneImpl manyToOneImpl = (ManyToOneImpl)theEObject;
T result = caseManyToOneImpl(manyToOneImpl);
if (result == null) result = caseManyToOne(manyToOneImpl);
if (result == null) result = caseSingleRelationshipMapping(manyToOneImpl);
if (result == null) result = caseRelationshipMapping(manyToOneImpl);
if (result == null) result = caseAttributeMapping(manyToOneImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ONE_TO_MANY:
{
OneToMany oneToMany = (OneToMany)theEObject;
T result = caseOneToMany(oneToMany);
if (result == null) result = caseMultiRelationshipMapping(oneToMany);
if (result == null) result = caseRelationshipMapping(oneToMany);
if (result == null) result = caseAttributeMapping(oneToMany);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ONE_TO_MANY_IMPL:
{
OneToManyImpl oneToManyImpl = (OneToManyImpl)theEObject;
T result = caseOneToManyImpl(oneToManyImpl);
if (result == null) result = caseOneToMany(oneToManyImpl);
if (result == null) result = caseMultiRelationshipMapping(oneToManyImpl);
if (result == null) result = caseRelationshipMapping(oneToManyImpl);
if (result == null) result = caseAttributeMapping(oneToManyImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ONE_TO_ONE:
{
OneToOne oneToOne = (OneToOne)theEObject;
T result = caseOneToOne(oneToOne);
if (result == null) result = caseSingleRelationshipMapping(oneToOne);
if (result == null) result = caseRelationshipMapping(oneToOne);
if (result == null) result = caseAttributeMapping(oneToOne);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ONE_TO_ONE_IMPL:
{
OneToOneImpl oneToOneImpl = (OneToOneImpl)theEObject;
T result = caseOneToOneImpl(oneToOneImpl);
if (result == null) result = caseOneToOne(oneToOneImpl);
if (result == null) result = caseSingleRelationshipMapping(oneToOneImpl);
if (result == null) result = caseRelationshipMapping(oneToOneImpl);
if (result == null) result = caseAttributeMapping(oneToOneImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MANY_TO_MANY:
{
ManyToMany manyToMany = (ManyToMany)theEObject;
T result = caseManyToMany(manyToMany);
if (result == null) result = caseMultiRelationshipMapping(manyToMany);
if (result == null) result = caseRelationshipMapping(manyToMany);
if (result == null) result = caseAttributeMapping(manyToMany);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MANY_TO_MANY_IMPL:
{
ManyToManyImpl manyToManyImpl = (ManyToManyImpl)theEObject;
T result = caseManyToManyImpl(manyToManyImpl);
if (result == null) result = caseManyToMany(manyToManyImpl);
if (result == null) result = caseMultiRelationshipMapping(manyToManyImpl);
if (result == null) result = caseRelationshipMapping(manyToManyImpl);
if (result == null) result = caseAttributeMapping(manyToManyImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.EMBEDDED:
{
Embedded embedded = (Embedded)theEObject;
T result = caseEmbedded(embedded);
if (result == null) result = caseAttributeMapping(embedded);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.EMBEDDED_IMPL:
{
EmbeddedImpl embeddedImpl = (EmbeddedImpl)theEObject;
T result = caseEmbeddedImpl(embeddedImpl);
if (result == null) result = caseEmbedded(embeddedImpl);
if (result == null) result = caseAttributeMapping(embeddedImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.TRANSIENT:
{
Transient transient_ = (Transient)theEObject;
T result = caseTransient(transient_);
if (result == null) result = caseAttributeMapping(transient_);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.TRANSIENT_IMPL:
{
TransientImpl transientImpl = (TransientImpl)theEObject;
T result = caseTransientImpl(transientImpl);
if (result == null) result = caseTransient(transientImpl);
if (result == null) result = caseAttributeMapping(transientImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ASSOCIATION_OVERRIDE:
{
AssociationOverride associationOverride = (AssociationOverride)theEObject;
T result = caseAssociationOverride(associationOverride);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ATTRIBUTE_OVERRIDE:
{
AttributeOverride attributeOverride = (AttributeOverride)theEObject;
T result = caseAttributeOverride(attributeOverride);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ATTRIBUTE_OVERRIDE_IMPL:
{
AttributeOverrideImpl attributeOverrideImpl = (AttributeOverrideImpl)theEObject;
T result = caseAttributeOverrideImpl(attributeOverrideImpl);
if (result == null) result = caseAttributeOverride(attributeOverrideImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.CASCADE_TYPE:
{
CascadeType cascadeType = (CascadeType)theEObject;
T result = caseCascadeType(cascadeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.CASCADE_TYPE_IMPL:
{
CascadeTypeImpl cascadeTypeImpl = (CascadeTypeImpl)theEObject;
T result = caseCascadeTypeImpl(cascadeTypeImpl);
if (result == null) result = caseCascadeType(cascadeTypeImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.NAMED_COLUMN:
{
NamedColumn namedColumn = (NamedColumn)theEObject;
T result = caseNamedColumn(namedColumn);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ABSTRACT_COLUMN:
{
AbstractColumn abstractColumn = (AbstractColumn)theEObject;
T result = caseAbstractColumn(abstractColumn);
if (result == null) result = caseNamedColumn(abstractColumn);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.COLUMN:
{
Column column = (Column)theEObject;
T result = caseColumn(column);
if (result == null) result = caseAbstractColumn(column);
if (result == null) result = caseNamedColumn(column);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.COLUMN_IMPL:
{
ColumnImpl columnImpl = (ColumnImpl)theEObject;
T result = caseColumnImpl(columnImpl);
if (result == null) result = caseColumn(columnImpl);
if (result == null) result = caseAbstractColumn(columnImpl);
if (result == null) result = caseNamedColumn(columnImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.COLUMN_RESULT:
{
ColumnResult columnResult = (ColumnResult)theEObject;
T result = caseColumnResult(columnResult);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.DISCRIMINATOR_COLUMN:
{
DiscriminatorColumn discriminatorColumn = (DiscriminatorColumn)theEObject;
T result = caseDiscriminatorColumn(discriminatorColumn);
if (result == null) result = caseNamedColumn(discriminatorColumn);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ENTITY_LISTENERS:
{
EntityListeners entityListeners = (EntityListeners)theEObject;
T result = caseEntityListeners(entityListeners);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ENTITY_LISTENER:
{
EntityListener entityListener = (EntityListener)theEObject;
T result = caseEntityListener(entityListener);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ENTITY_RESULT:
{
EntityResult entityResult = (EntityResult)theEObject;
T result = caseEntityResult(entityResult);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.EVENT_METHOD:
{
EventMethod eventMethod = (EventMethod)theEObject;
T result = caseEventMethod(eventMethod);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.FIELD_RESULT:
{
FieldResult fieldResult = (FieldResult)theEObject;
T result = caseFieldResult(fieldResult);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.GENERATED_VALUE:
{
GeneratedValue generatedValue = (GeneratedValue)theEObject;
T result = caseGeneratedValue(generatedValue);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.GENERATED_VALUE_IMPL:
{
GeneratedValueImpl generatedValueImpl = (GeneratedValueImpl)theEObject;
T result = caseGeneratedValueImpl(generatedValueImpl);
if (result == null) result = caseGeneratedValue(generatedValueImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ID_CLASS:
{
IdClass idClass = (IdClass)theEObject;
T result = caseIdClass(idClass);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.INHERITANCE:
{
Inheritance inheritance = (Inheritance)theEObject;
T result = caseInheritance(inheritance);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.JOIN_COLUMN:
{
JoinColumn joinColumn = (JoinColumn)theEObject;
T result = caseJoinColumn(joinColumn);
if (result == null) result = caseAbstractColumn(joinColumn);
if (result == null) result = caseNamedColumn(joinColumn);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.JOIN_COLUMN_IMPL:
{
JoinColumnImpl joinColumnImpl = (JoinColumnImpl)theEObject;
T result = caseJoinColumnImpl(joinColumnImpl);
if (result == null) result = caseJoinColumn(joinColumnImpl);
if (result == null) result = caseAbstractColumn(joinColumnImpl);
if (result == null) result = caseNamedColumn(joinColumnImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.JOIN_TABLE:
{
JoinTable joinTable = (JoinTable)theEObject;
T result = caseJoinTable(joinTable);
if (result == null) result = caseAbstractTable(joinTable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.JOIN_TABLE_IMPL:
{
JoinTableImpl joinTableImpl = (JoinTableImpl)theEObject;
T result = caseJoinTableImpl(joinTableImpl);
if (result == null) result = caseJoinTable(joinTableImpl);
if (result == null) result = caseAbstractTable(joinTableImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.LOB:
{
Lob lob = (Lob)theEObject;
T result = caseLob(lob);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MAP_KEY:
{
MapKey mapKey = (MapKey)theEObject;
T result = caseMapKey(mapKey);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.MAP_KEY_IMPL:
{
MapKeyImpl mapKeyImpl = (MapKeyImpl)theEObject;
T result = caseMapKeyImpl(mapKeyImpl);
if (result == null) result = caseMapKey(mapKeyImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.QUERY:
{
Query query = (Query)theEObject;
T result = caseQuery(query);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.NAMED_NATIVE_QUERY:
{
NamedNativeQuery namedNativeQuery = (NamedNativeQuery)theEObject;
T result = caseNamedNativeQuery(namedNativeQuery);
if (result == null) result = caseQuery(namedNativeQuery);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.NAMED_QUERY:
{
NamedQuery namedQuery = (NamedQuery)theEObject;
T result = caseNamedQuery(namedQuery);
if (result == null) result = caseQuery(namedQuery);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.POST_LOAD:
{
PostLoad postLoad = (PostLoad)theEObject;
T result = casePostLoad(postLoad);
if (result == null) result = caseEventMethod(postLoad);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.POST_PERSIST:
{
PostPersist postPersist = (PostPersist)theEObject;
T result = casePostPersist(postPersist);
if (result == null) result = caseEventMethod(postPersist);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.POST_REMOVE:
{
PostRemove postRemove = (PostRemove)theEObject;
T result = casePostRemove(postRemove);
if (result == null) result = caseEventMethod(postRemove);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.POST_UPDATE:
{
PostUpdate postUpdate = (PostUpdate)theEObject;
T result = casePostUpdate(postUpdate);
if (result == null) result = caseEventMethod(postUpdate);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.PRE_PERSIST:
{
PrePersist prePersist = (PrePersist)theEObject;
T result = casePrePersist(prePersist);
if (result == null) result = caseEventMethod(prePersist);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.PRE_REMOVE:
{
PreRemove preRemove = (PreRemove)theEObject;
T result = casePreRemove(preRemove);
if (result == null) result = caseEventMethod(preRemove);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.PRE_UPDATE:
{
PreUpdate preUpdate = (PreUpdate)theEObject;
T result = casePreUpdate(preUpdate);
if (result == null) result = caseEventMethod(preUpdate);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.PRIMARY_KEY_JOIN_COLUMN:
{
PrimaryKeyJoinColumn primaryKeyJoinColumn = (PrimaryKeyJoinColumn)theEObject;
T result = casePrimaryKeyJoinColumn(primaryKeyJoinColumn);
if (result == null) result = caseNamedColumn(primaryKeyJoinColumn);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.QUERY_HINT:
{
QueryHint queryHint = (QueryHint)theEObject;
T result = caseQueryHint(queryHint);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.ABSTRACT_TABLE:
{
AbstractTable abstractTable = (AbstractTable)theEObject;
T result = caseAbstractTable(abstractTable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.TABLE:
{
Table table = (Table)theEObject;
T result = caseTable(table);
if (result == null) result = caseAbstractTable(table);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.SECONDARY_TABLE:
{
SecondaryTable secondaryTable = (SecondaryTable)theEObject;
T result = caseSecondaryTable(secondaryTable);
if (result == null) result = caseAbstractTable(secondaryTable);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.GENERATOR:
{
Generator generator = (Generator)theEObject;
T result = caseGenerator(generator);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.SEQUENCE_GENERATOR:
{
SequenceGenerator sequenceGenerator = (SequenceGenerator)theEObject;
T result = caseSequenceGenerator(sequenceGenerator);
if (result == null) result = caseGenerator(sequenceGenerator);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.SEQUENCE_GENERATOR_IMPL:
{
SequenceGeneratorImpl sequenceGeneratorImpl = (SequenceGeneratorImpl)theEObject;
T result = caseSequenceGeneratorImpl(sequenceGeneratorImpl);
if (result == null) result = caseSequenceGenerator(sequenceGeneratorImpl);
if (result == null) result = caseGenerator(sequenceGeneratorImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.SQL_RESULT_SET_MAPPING:
{
SqlResultSetMapping sqlResultSetMapping = (SqlResultSetMapping)theEObject;
T result = caseSqlResultSetMapping(sqlResultSetMapping);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.TABLE_GENERATOR:
{
TableGenerator tableGenerator = (TableGenerator)theEObject;
T result = caseTableGenerator(tableGenerator);
if (result == null) result = caseGenerator(tableGenerator);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.TABLE_GENERATOR_IMPL:
{
TableGeneratorImpl tableGeneratorImpl = (TableGeneratorImpl)theEObject;
T result = caseTableGeneratorImpl(tableGeneratorImpl);
if (result == null) result = caseTableGenerator(tableGeneratorImpl);
if (result == null) result = caseGenerator(tableGeneratorImpl);
if (result == null) result = defaultCase(theEObject);
return result;
}
case OrmPackage.UNIQUE_CONSTRAINT:
{
UniqueConstraint uniqueConstraint = (UniqueConstraint)theEObject;
T result = caseUniqueConstraint(uniqueConstraint);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Entity Mappings</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 interpreting the object as an instance of '<em>Entity Mappings</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEntityMappings(EntityMappings object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Persistence Unit Metadata</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 interpreting the object as an instance of '<em>Persistence Unit Metadata</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePersistenceUnitMetadata(PersistenceUnitMetadata object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Persistence Unit Defaults</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 interpreting the object as an instance of '<em>Persistence Unit Defaults</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePersistenceUnitDefaults(PersistenceUnitDefaults object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Type Mapping</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 interpreting the object as an instance of '<em>Type Mapping</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTypeMapping(TypeMapping object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Mapped Superclass</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 interpreting the object as an instance of '<em>Mapped Superclass</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMappedSuperclass(MappedSuperclass object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Entity</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 interpreting the object as an instance of '<em>Entity</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEntity(Entity object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Embeddable</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 interpreting the object as an instance of '<em>Embeddable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEmbeddable(Embeddable object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Attributes</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 interpreting the object as an instance of '<em>Attributes</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAttributes(Attributes object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Attribute Mapping</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 interpreting the object as an instance of '<em>Attribute Mapping</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAttributeMapping(AttributeMapping object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Column Mapping</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 interpreting the object as an instance of '<em>Column Mapping</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseColumnMapping(ColumnMapping object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Relationship Mapping</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 interpreting the object as an instance of '<em>Relationship Mapping</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRelationshipMapping(RelationshipMapping object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Multi Relationship Mapping</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 interpreting the object as an instance of '<em>Multi Relationship Mapping</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMultiRelationshipMapping(MultiRelationshipMapping object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Single Relationship Mapping</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 interpreting the object as an instance of '<em>Single Relationship Mapping</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSingleRelationshipMapping(SingleRelationshipMapping object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Id</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 interpreting the object as an instance of '<em>Id</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseId(Id object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Id Impl</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 interpreting the object as an instance of '<em>Id Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIdImpl(IdImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Embedded Id</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 interpreting the object as an instance of '<em>Embedded Id</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEmbeddedId(EmbeddedId object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Embedded Id Impl</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 interpreting the object as an instance of '<em>Embedded Id Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEmbeddedIdImpl(EmbeddedIdImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Basic</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 interpreting the object as an instance of '<em>Basic</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBasic(Basic object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Basic Impl</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 interpreting the object as an instance of '<em>Basic Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseBasicImpl(BasicImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Version</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 interpreting the object as an instance of '<em>Version</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVersion(Version object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Version Impl</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 interpreting the object as an instance of '<em>Version Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseVersionImpl(VersionImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Many To One</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 interpreting the object as an instance of '<em>Many To One</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseManyToOne(ManyToOne object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Many To One Impl</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 interpreting the object as an instance of '<em>Many To One Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseManyToOneImpl(ManyToOneImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>One To Many</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 interpreting the object as an instance of '<em>One To Many</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOneToMany(OneToMany object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>One To Many Impl</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 interpreting the object as an instance of '<em>One To Many Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOneToManyImpl(OneToManyImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>One To One</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 interpreting the object as an instance of '<em>One To One</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOneToOne(OneToOne object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>One To One Impl</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 interpreting the object as an instance of '<em>One To One Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseOneToOneImpl(OneToOneImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Many To Many</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 interpreting the object as an instance of '<em>Many To Many</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseManyToMany(ManyToMany object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Many To Many Impl</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 interpreting the object as an instance of '<em>Many To Many Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseManyToManyImpl(ManyToManyImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Embedded</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 interpreting the object as an instance of '<em>Embedded</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEmbedded(Embedded object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Embedded Impl</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 interpreting the object as an instance of '<em>Embedded Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEmbeddedImpl(EmbeddedImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Transient</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 interpreting the object as an instance of '<em>Transient</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTransient(Transient object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Transient Impl</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 interpreting the object as an instance of '<em>Transient Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTransientImpl(TransientImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Association Override</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 interpreting the object as an instance of '<em>Association Override</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAssociationOverride(AssociationOverride object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Attribute Override</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 interpreting the object as an instance of '<em>Attribute Override</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAttributeOverride(AttributeOverride object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Attribute Override Impl</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 interpreting the object as an instance of '<em>Attribute Override Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAttributeOverrideImpl(AttributeOverrideImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Cascade Type</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 interpreting the object as an instance of '<em>Cascade Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCascadeType(CascadeType object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Cascade Type Impl</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 interpreting the object as an instance of '<em>Cascade Type Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCascadeTypeImpl(CascadeTypeImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Named Column</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 interpreting the object as an instance of '<em>Named Column</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamedColumn(NamedColumn object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Column</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 interpreting the object as an instance of '<em>Abstract Column</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractColumn(AbstractColumn object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Column</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 interpreting the object as an instance of '<em>Column</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseColumn(Column object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Column Impl</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 interpreting the object as an instance of '<em>Column Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseColumnImpl(ColumnImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Column Result</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 interpreting the object as an instance of '<em>Column Result</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseColumnResult(ColumnResult object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Discriminator Column</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 interpreting the object as an instance of '<em>Discriminator Column</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDiscriminatorColumn(DiscriminatorColumn object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Entity Listeners</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 interpreting the object as an instance of '<em>Entity Listeners</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEntityListeners(EntityListeners object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Entity Listener</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 interpreting the object as an instance of '<em>Entity Listener</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEntityListener(EntityListener object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Entity Result</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 interpreting the object as an instance of '<em>Entity Result</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEntityResult(EntityResult object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Field Result</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 interpreting the object as an instance of '<em>Field Result</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseFieldResult(FieldResult object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Generated Value</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 interpreting the object as an instance of '<em>Generated Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseGeneratedValue(GeneratedValue object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Generated Value Impl</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 interpreting the object as an instance of '<em>Generated Value Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseGeneratedValueImpl(GeneratedValueImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Id Class</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 interpreting the object as an instance of '<em>Id Class</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIdClass(IdClass object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Inheritance</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 interpreting the object as an instance of '<em>Inheritance</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseInheritance(Inheritance object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Join Column</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 interpreting the object as an instance of '<em>Join Column</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseJoinColumn(JoinColumn object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Join Column Impl</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 interpreting the object as an instance of '<em>Join Column Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseJoinColumnImpl(JoinColumnImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Join Table</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 interpreting the object as an instance of '<em>Join Table</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseJoinTable(JoinTable object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Join Table Impl</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 interpreting the object as an instance of '<em>Join Table Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseJoinTableImpl(JoinTableImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Lob</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 interpreting the object as an instance of '<em>Lob</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseLob(Lob object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Map Key</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 interpreting the object as an instance of '<em>Map Key</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMapKey(MapKey object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Map Key Impl</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 interpreting the object as an instance of '<em>Map Key Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMapKeyImpl(MapKeyImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Query</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 interpreting the object as an instance of '<em>Query</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseQuery(Query object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Event Method</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 interpreting the object as an instance of '<em>Event Method</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEventMethod(EventMethod object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Named Native Query</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 interpreting the object as an instance of '<em>Named Native Query</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamedNativeQuery(NamedNativeQuery object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Named Query</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 interpreting the object as an instance of '<em>Named Query</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamedQuery(NamedQuery object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Post Load</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 interpreting the object as an instance of '<em>Post Load</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePostLoad(PostLoad object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Post Persist</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 interpreting the object as an instance of '<em>Post Persist</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePostPersist(PostPersist object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Post Remove</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 interpreting the object as an instance of '<em>Post Remove</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePostRemove(PostRemove object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Post Update</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 interpreting the object as an instance of '<em>Post Update</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePostUpdate(PostUpdate object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Pre Persist</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 interpreting the object as an instance of '<em>Pre Persist</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePrePersist(PrePersist object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Pre Remove</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 interpreting the object as an instance of '<em>Pre Remove</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePreRemove(PreRemove object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Pre Update</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 interpreting the object as an instance of '<em>Pre Update</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePreUpdate(PreUpdate object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Query Hint</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 interpreting the object as an instance of '<em>Query Hint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseQueryHint(QueryHint object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Table</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 interpreting the object as an instance of '<em>Abstract Table</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractTable(AbstractTable object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Sql Result Set Mapping</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 interpreting the object as an instance of '<em>Sql Result Set Mapping</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSqlResultSetMapping(SqlResultSetMapping object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Primary Key Join Column</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 interpreting the object as an instance of '<em>Primary Key Join Column</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePrimaryKeyJoinColumn(PrimaryKeyJoinColumn object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Secondary Table</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 interpreting the object as an instance of '<em>Secondary Table</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSecondaryTable(SecondaryTable object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Generator</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 interpreting the object as an instance of '<em>Generator</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseGenerator(Generator object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Sequence Generator</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 interpreting the object as an instance of '<em>Sequence Generator</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSequenceGenerator(SequenceGenerator object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Sequence Generator Impl</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 interpreting the object as an instance of '<em>Sequence Generator Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSequenceGeneratorImpl(SequenceGeneratorImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Table</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 interpreting the object as an instance of '<em>Table</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTable(Table object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Table Generator</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 interpreting the object as an instance of '<em>Table Generator</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTableGenerator(TableGenerator object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Table Generator Impl</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 interpreting the object as an instance of '<em>Table Generator Impl</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTableGeneratorImpl(TableGeneratorImpl object)
{
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Unique Constraint</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 interpreting the object as an instance of '<em>Unique Constraint</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUniqueConstraint(UniqueConstraint object)
{
return null;
}
/**
* Returns the result of interpreting 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 interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
public T defaultCase(EObject object)
{
return null;
}
} //OrmSwitch