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

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.orm.XmlNamedQuery
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, XmlNamedQuery_2_0, XmlQuery_2_0, XmlQuery, JpaEObject

public class XmlNamedQuery
extends AbstractJpaEObject
implements XmlQuery, XmlNamedQuery_2_0

A representation of the model object 'Named Query'. 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.

See Also:
OrmPackage.getXmlNamedQuery()

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
static org.eclipse.wst.common.internal.emf.resource.Translator buildTranslator(java.lang.String elementName, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
           
 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)
           
 java.lang.String getDescription()
          Returns the value of the 'Description' attribute.
 org.eclipse.emf.common.util.EList<XmlQueryHint> getHints()
          Returns the value of the 'Hints' containment reference list.
 LockModeType_2_0 getLockMode()
          Returns the value of the 'Lock Mode' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 TextRange getNameTextRange()
           
 java.lang.String getQuery()
          Returns the value of the 'Query' attribute.
 void setDescription(java.lang.String newDescription)
          Sets the value of the 'Description' attribute.
 void setLockMode(LockModeType_2_0 newLockMode)
          Sets the value of the 'Lock Mode' attribute.
 void setName(java.lang.String newName)
          Sets the value of the 'Name' attribute.
 void setQuery(java.lang.String newQuery)
          Sets the value of the 'Query' attribute.
 java.lang.String toString()
           
 
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.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

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...

Specified by:
getDescription in interface XmlQuery_2_0
Returns:
the value of the 'Description' attribute.
See Also:
setDescription(String), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlQuery_2_0_Description()

setDescription

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

Specified by:
setDescription in interface XmlQuery_2_0
Parameters:
value - the new value of the 'Description' attribute.
See Also:
getDescription()

getName

public java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Specified by:
getName in interface XmlQuery
Returns:
the value of the 'Name' attribute.
See Also:
setName(String), OrmPackage.getXmlQuery_Name()

setName

public void setName(java.lang.String newName)
Sets the value of the 'Name' attribute.

Specified by:
setName in interface XmlQuery
Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getQuery

public java.lang.String getQuery()
Returns the value of the 'Query' attribute.

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

Specified by:
getQuery in interface XmlQuery
Returns:
the value of the 'Query' attribute.
See Also:
setQuery(String), OrmPackage.getXmlQuery_Query()

setQuery

public void setQuery(java.lang.String newQuery)
Sets the value of the 'Query' attribute.

Specified by:
setQuery in interface XmlQuery
Parameters:
value - the new value of the 'Query' attribute.
See Also:
getQuery()

getHints

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

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

Specified by:
getHints in interface XmlQuery
Returns:
the value of the 'Hints' containment reference list.
See Also:
OrmPackage.getXmlQuery_Hints()

getLockMode

public LockModeType_2_0 getLockMode()
Returns the value of the 'Lock Mode' attribute. The literals are from the enumeration LockModeType_2_0.

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

Specified by:
getLockMode in interface XmlNamedQuery_2_0
Returns:
the value of the 'Lock Mode' attribute.
See Also:
LockModeType_2_0, setLockMode(LockModeType_2_0), org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlNamedQuery_2_0_LockMode()

setLockMode

public void setLockMode(LockModeType_2_0 newLockMode)
Sets the value of the 'Lock Mode' attribute.

Specified by:
setLockMode in interface XmlNamedQuery_2_0
Parameters:
value - the new value of the 'Lock Mode' attribute.
See Also:
LockModeType_2_0, getLockMode()

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

getNameTextRange

public TextRange getNameTextRange()
Specified by:
getNameTextRange in interface XmlQuery

buildTranslator

public static org.eclipse.wst.common.internal.emf.resource.Translator buildTranslator(java.lang.String elementName,
                                                                                      org.eclipse.emf.ecore.EStructuralFeature structuralFeature)