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

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.common.AbstractJpaEObject
                  extended by org.eclipse.jpt.core.resource.orm.XmlGeneratedValueImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, JpaEObject, XmlGeneratedValue

public class XmlGeneratedValueImpl
extends AbstractJpaEObject
implements XmlGeneratedValue

A representation of the model object 'Generated Value'. 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.getXmlGeneratedValueImpl()

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>
 
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
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getGenerator()
          Returns the value of the 'Generator' attribute.
 TextRange getGeneratorTextRange()
          Return the TextRange for the generator attibute.
 GenerationType getStrategy()
          Returns the value of the 'Strategy' attribute.
 void setGenerator(java.lang.String newGenerator)
          Sets the value of the 'Generator' attribute.
 void setStrategy(GenerationType newStrategy)
          Sets the value of the 'Strategy' attribute.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.jpt.core.resource.common.AbstractJpaEObject
containsOffset, eAdapters, eNotify, getFullTextRange, getNode, getPlatformResource, getResource, getRoot, getSelectionTextRange, getValidationTextRange, isAllFeaturesUnset
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, 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.common.JpaEObject
containsOffset, getPlatformResource, getResource, getRoot, getSelectionTextRange, getValidationTextRange, isAllFeaturesUnset
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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

getGenerator

public java.lang.String getGenerator()
Returns the value of the 'Generator' attribute.

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

Specified by:
getGenerator in interface XmlGeneratedValue
Returns:
the value of the 'Generator' attribute.
See Also:
setGenerator(String), OrmPackage.getXmlGeneratedValue_Generator()

setGenerator

public void setGenerator(java.lang.String newGenerator)
Sets the value of the 'Generator' attribute.

Specified by:
setGenerator in interface XmlGeneratedValue
Parameters:
value - the new value of the 'Generator' attribute.
See Also:
getGenerator()

getStrategy

public GenerationType getStrategy()
Returns the value of the 'Strategy' attribute. The default value is "TABLE". The literals are from the enumeration GenerationType.

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

Specified by:
getStrategy in interface XmlGeneratedValue
Returns:
the value of the 'Strategy' attribute.
See Also:
GenerationType, setStrategy(GenerationType), OrmPackage.getXmlGeneratedValue_Strategy()

setStrategy

public void setStrategy(GenerationType newStrategy)
Sets the value of the 'Strategy' attribute.

Specified by:
setStrategy in interface XmlGeneratedValue
Parameters:
value - the new value of the 'Strategy' attribute.
See Also:
GenerationType, getStrategy()

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

toString

public java.lang.String toString()

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

getGeneratorTextRange

public TextRange getGeneratorTextRange()
Description copied from interface: XmlGeneratedValue
Return the TextRange for the generator attibute. If the generator attibute does not exist return the TextRange for the generated-value element.

Specified by:
getGeneratorTextRange in interface XmlGeneratedValue