org.eclipse.jpt.core.resource.orm
Class XmlEntityMappings

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.jpt.core.resource.xml.AbstractJpaEObject
                  extended by org.eclipse.jpt.core.resource.xml.AbstractJpaRootEObject
                      extended by org.eclipse.jpt.core.resource.orm.XmlEntityMappings
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, XmlAccessHolder, XmlQueryContainer, JpaEObject, JpaRootEObject
Direct Known Subclasses:
XmlEntityMappings

public class XmlEntityMappings
extends AbstractJpaRootEObject
implements XmlQueryContainer, XmlAccessHolder

A representation of the model object 'Entity Mappings'. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

The following features are supported:

See Also:
OrmPackage.getXmlEntityMappings()

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetPersistenceUnitMetadata(XmlPersistenceUnitMetadata newPersistenceUnitMetadata, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 AccessType getAccess()
          Returns the value of the 'Access' attribute.
 java.lang.String getCatalog()
          Returns the value of the 'Catalog' attribute.
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 org.eclipse.emf.common.util.EList<XmlEmbeddable> getEmbeddables()
          Returns the value of the 'Embeddables' containment reference list.
 org.eclipse.emf.common.util.EList<XmlEntity> getEntities()
          Returns the value of the 'Entities' containment reference list.
 org.eclipse.emf.common.util.EList<XmlMappedSuperclass> getMappedSuperclasses()
          Returns the value of the 'Mapped Superclasses' containment reference list.
 org.eclipse.emf.common.util.EList<XmlNamedNativeQuery> getNamedNativeQueries()
          Returns the value of the 'Named Native Queries' containment reference list.
 org.eclipse.emf.common.util.EList<XmlNamedQuery> getNamedQueries()
          Returns the value of the 'Named Queries' containment reference list.
 java.lang.String getPackage()
          Returns the value of the 'Package' attribute.
 XmlPersistenceUnitMetadata getPersistenceUnitMetadata()
          Returns the value of the 'Persistence Unit Metadata' containment reference.
static org.eclipse.wst.common.internal.emf.resource.Translator getRootTranslator()
           
 java.lang.String getSchema()
          Returns the value of the 'Schema' attribute.
 org.eclipse.emf.common.util.EList<XmlSequenceGenerator> getSequenceGenerators()
          Returns the value of the 'Sequence Generators' containment reference list.
 org.eclipse.emf.common.util.EList<SqlResultSetMapping> getSqlResultSetMappings()
          Returns the value of the 'Sql Result Set Mappings' containment reference list.
 org.eclipse.emf.common.util.EList<XmlTableGenerator> getTableGenerators()
          Returns the value of the 'Table Generators' containment reference list.
 java.util.List<XmlTypeMapping> getTypeMappings()
           
 void setAccess(AccessType newAccess)
          Sets the value of the 'Access' attribute.
 void setCatalog(java.lang.String newCatalog)
          Sets the value of the 'Catalog' attribute.
 void setDescription(java.lang.String newDescription)
          Sets the value of the 'Description' attribute.
 void setPackage(java.lang.String newPackage)
          Sets the value of the 'Package' attribute.
 void setPersistenceUnitMetadata(XmlPersistenceUnitMetadata newPersistenceUnitMetadata)
          Sets the value of the 'Persistence Unit Metadata' containment reference.
 void setSchema(java.lang.String newSchema)
          Sets the value of the 'Schema' attribute.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.jpt.core.resource.xml.AbstractJpaRootEObject
getSchemaLocation, getVersion, getVersionTextRange, setSchemaLocation, setVersion
 
Methods inherited from class org.eclipse.jpt.core.resource.xml.AbstractJpaEObject
containsOffset, eAdapters, eNotify, getSelectionTextRange, getValidationTextRange, isUnset
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jpt.core.resource.xml.JpaEObject
containsOffset, getSelectionTextRange, getValidationTextRange, isUnset
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.jpt.core.resource.xml.JpaEObject
containsOffset, getSelectionTextRange, getValidationTextRange, isUnset
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getNamedQueries

public org.eclipse.emf.common.util.EList<XmlNamedQuery> getNamedQueries()
Returns the value of the 'Named Queries' containment reference list. The list contents are of type XmlNamedQuery.

If the meaning of the 'Named Queries' containment reference list isn't clear, there really should be more of a description here...

Specified by:
getNamedQueries in interface XmlQueryContainer
Returns:
the value of the 'Named Queries' containment reference list.
See Also:
OrmPackage.getXmlQueryContainer_NamedQueries()

getNamedNativeQueries

public org.eclipse.emf.common.util.EList<XmlNamedNativeQuery> getNamedNativeQueries()
Returns the value of the 'Named Native Queries' containment reference list. The list contents are of type XmlNamedNativeQuery.

If the meaning of the 'Named Native Queries' containment reference list isn't clear, there really should be more of a description here...

Specified by:
getNamedNativeQueries in interface XmlQueryContainer
Returns:
the value of the 'Named Native Queries' containment reference list.
See Also:
OrmPackage.getXmlQueryContainer_NamedNativeQueries()

getDescription

public java.lang.String getDescription()
Returns the value of the 'Description' attribute.

If the meaning of the 'Description' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String), OrmPackage.getXmlEntityMappings_Description()

setDescription

public void setDescription(java.lang.String newDescription)
Sets the value of the 'Description' attribute.

Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()

getPersistenceUnitMetadata

public XmlPersistenceUnitMetadata getPersistenceUnitMetadata()
Returns the value of the 'Persistence Unit Metadata' containment reference.

If the meaning of the 'XmlPersistence Unit Metadata' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Persistence Unit Metadata' containment reference.
See Also:
setPersistenceUnitMetadata(XmlPersistenceUnitMetadata), OrmPackage.getXmlEntityMappings_PersistenceUnitMetadata()

basicSetPersistenceUnitMetadata

public org.eclipse.emf.common.notify.NotificationChain basicSetPersistenceUnitMetadata(XmlPersistenceUnitMetadata newPersistenceUnitMetadata,
                                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setPersistenceUnitMetadata

public void setPersistenceUnitMetadata(XmlPersistenceUnitMetadata newPersistenceUnitMetadata)
Sets the value of the 'Persistence Unit Metadata' containment reference.

Parameters:
value - the new value of the 'Persistence Unit Metadata' containment reference.
See Also:
getPersistenceUnitMetadata()

getPackage

public java.lang.String getPackage()
Returns the value of the 'Package' attribute.

If the meaning of the 'Package' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Package' attribute.
See Also:
setPackage(String), OrmPackage.getXmlEntityMappings_Package()

setPackage

public void setPackage(java.lang.String newPackage)
Sets the value of the 'Package' attribute.

Parameters:
value - the new value of the 'Package' attribute.
See Also:
getPackage()

getSchema

public java.lang.String getSchema()
Returns the value of the 'Schema' attribute.

If the meaning of the 'Schema' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Schema' attribute.
See Also:
setSchema(String), OrmPackage.getXmlEntityMappings_Schema()

setSchema

public void setSchema(java.lang.String newSchema)
Sets the value of the 'Schema' attribute.

Parameters:
value - the new value of the 'Schema' attribute.
See Also:
getSchema()

getCatalog

public java.lang.String getCatalog()
Returns the value of the 'Catalog' attribute.

If the meaning of the 'Catalog' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Catalog' attribute.
See Also:
setCatalog(String), OrmPackage.getXmlEntityMappings_Catalog()

setCatalog

public void setCatalog(java.lang.String newCatalog)
Sets the value of the 'Catalog' attribute.

Parameters:
value - the new value of the 'Catalog' attribute.
See Also:
getCatalog()

getAccess

public AccessType getAccess()
Returns the value of the 'Access' attribute. The literals are from the enumeration AccessType.

If the meaning of the 'Access' attribute isn't clear, there really should be more of a description here...

Specified by:
getAccess in interface XmlAccessHolder
Returns:
the value of the 'Access' attribute.
See Also:
AccessType, setAccess(AccessType), OrmPackage.getXmlAccessHolder_Access()

setAccess

public void setAccess(AccessType newAccess)
Sets the value of the 'Access' attribute.

Specified by:
setAccess in interface XmlAccessHolder
Parameters:
value - the new value of the 'Access' attribute.
See Also:
AccessType, getAccess()

getSequenceGenerators

public org.eclipse.emf.common.util.EList<XmlSequenceGenerator> getSequenceGenerators()
Returns the value of the 'Sequence Generators' containment reference list. The list contents are of type XmlSequenceGenerator.

If the meaning of the 'Sequence Generators' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Sequence Generators' containment reference list.
See Also:
OrmPackage.getXmlEntityMappings_SequenceGenerators()

getTableGenerators

public org.eclipse.emf.common.util.EList<XmlTableGenerator> getTableGenerators()
Returns the value of the 'Table Generators' containment reference list. The list contents are of type XmlTableGenerator.

If the meaning of the 'Table Generators' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Table Generators' containment reference list.
See Also:
OrmPackage.getXmlEntityMappings_TableGenerators()

getSqlResultSetMappings

public org.eclipse.emf.common.util.EList<SqlResultSetMapping> getSqlResultSetMappings()
Returns the value of the 'Sql Result Set Mappings' containment reference list. The list contents are of type SqlResultSetMapping.

If the meaning of the 'Sql Result Set Mappings' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Sql Result Set Mappings' containment reference list.
See Also:
OrmPackage.getXmlEntityMappings_SqlResultSetMappings()

getMappedSuperclasses

public org.eclipse.emf.common.util.EList<XmlMappedSuperclass> getMappedSuperclasses()
Returns the value of the 'Mapped Superclasses' containment reference list. The list contents are of type XmlMappedSuperclass.

If the meaning of the 'Mapped Superclasses' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Mapped Superclasses' containment reference list.
See Also:
OrmPackage.getXmlEntityMappings_MappedSuperclasses()

getEntities

public org.eclipse.emf.common.util.EList<XmlEntity> getEntities()
Returns the value of the 'Entities' containment reference list. The list contents are of type XmlEntity.

If the meaning of the 'Entities' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Entities' containment reference list.
See Also:
OrmPackage.getXmlEntityMappings_Entities()

getEmbeddables

public org.eclipse.emf.common.util.EList<XmlEmbeddable> getEmbeddables()
Returns the value of the 'Embeddables' containment reference list. The list contents are of type XmlEmbeddable.

If the meaning of the 'Embeddables' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Embeddables' containment reference list.
See Also:
OrmPackage.getXmlEntityMappings_Embeddables()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class AbstractJpaRootEObject

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class AbstractJpaRootEObject

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class AbstractJpaRootEObject

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class AbstractJpaRootEObject

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class AbstractJpaRootEObject

getTypeMappings

public java.util.List<XmlTypeMapping> getTypeMappings()

getRootTranslator

public static org.eclipse.wst.common.internal.emf.resource.Translator getRootTranslator()