org.eclipse.jpt.core.resource.orm
Interface XmlGeneratedValue

All Superinterfaces:
org.eclipse.emf.ecore.EObject, JpaEObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
XmlGeneratedValueImpl

public interface XmlGeneratedValue
extends JpaEObject

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.

The following features are supported:

See Also:
OrmPackage.getXmlGeneratedValue()

Method Summary
 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 value)
          Sets the value of the 'Generator' attribute.
 void setStrategy(GenerationType value)
          Sets the value of the 'Strategy' attribute.
 
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
 

Method Detail

getGenerator

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

Returns:
the value of the 'Generator' attribute.
See Also:
setGenerator(String), OrmPackage.getXmlGeneratedValue_Generator()

setGenerator

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

Parameters:
value - the new value of the 'Generator' attribute.
See Also:
getGenerator()

getStrategy

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

Returns:
the value of the 'Strategy' attribute.
See Also:
GenerationType, setStrategy(GenerationType), OrmPackage.getXmlGeneratedValue_Strategy()

setStrategy

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

Parameters:
value - the new value of the 'Strategy' attribute.
See Also:
GenerationType, getStrategy()

getGeneratorTextRange

TextRange getGeneratorTextRange()
Return the TextRange for the generator attibute. If the generator attibute does not exist return the TextRange for the generated-value element.