|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Routine'.
From 5WD-02-Foundation-2002-12
4.27 SQL-invoked routines
An SQL-invoked routine is described by a routine descriptor. A routine descriptor includes:
- The routine name of the SQL-invoked routine.
- The specific name of the SQL-invoked routine.
- The routine authorization identifier of the SQL-invoked routine.
- The name of the language in which the body of the SQL-invoked routine is written.
- For each of the SQL-invoked routine's SQL parameters, the
The following features are supported:
SQLRoutinesPackage.getRoutine()
Method Summary | |
java.lang.String |
getAuthorizationID()
Returns the value of the 'Authorization ID' attribute. |
java.lang.String |
getCreationTS()
Returns the value of the 'Creation TS' attribute. |
java.lang.String |
getExternalName()
Returns the value of the 'External Name' attribute. |
org.eclipse.emf.common.util.EList |
getInputParameters()
Gets a list of IN and INOUT parameters associated with this routine. |
java.lang.String |
getLanguage()
Returns the value of the 'Language' attribute. |
java.lang.String |
getLastAlteredTS()
Returns the value of the 'Last Altered TS' attribute. |
org.eclipse.emf.common.util.EList |
getOutputParameters()
Gets a list of OUT and INOUT parameters associated with this routine. |
org.eclipse.emf.common.util.EList |
getParameters()
Returns the value of the 'Parameters' containment reference list. |
java.lang.String |
getParameterStyle()
Returns the value of the 'Parameter Style' attribute. |
Schema |
getSchema()
Returns the value of the 'Schema' reference. |
java.lang.String |
getSecurity()
Returns the value of the 'Security' attribute. |
org.eclipse.emf.common.util.EList |
getSource()
Returns the value of the 'Source' containment reference list. |
java.lang.String |
getSpecificName()
Returns the value of the 'Specific Name' attribute. |
DataAccess |
getSqlDataAccess()
Returns the value of the 'Sql Data Access' attribute. |
boolean |
isDeterministic()
Returns the value of the 'Deterministic' attribute. |
void |
setAuthorizationID(java.lang.String value)
Sets the value of the ' Authorization ID ' attribute. |
void |
setCreationTS(java.lang.String value)
Sets the value of the ' Creation TS ' attribute. |
void |
setDeterministic(boolean value)
Sets the value of the ' Deterministic ' attribute. |
void |
setExternalName(java.lang.String value)
Sets the value of the ' External Name ' attribute. |
void |
setLanguage(java.lang.String value)
Sets the value of the ' Language ' attribute. |
void |
setLastAlteredTS(java.lang.String value)
Sets the value of the ' Last Altered TS ' attribute. |
void |
setParameterStyle(java.lang.String value)
Sets the value of the ' Parameter Style ' attribute. |
void |
setSchema(Schema value)
Sets the value of the ' Schema ' reference. |
void |
setSecurity(java.lang.String value)
Sets the value of the ' Security ' attribute. |
void |
setSpecificName(java.lang.String value)
Sets the value of the ' Specific Name ' attribute. |
void |
setSqlDataAccess(DataAccess value)
Sets the value of the ' Sql Data Access ' attribute. |
Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject |
addEAnnotation, addEAnnotationDetail, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
getName, setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotations |
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 |
public java.lang.String getSpecificName()
setSpecificName(String)
,
SQLRoutinesPackage.getRoutine_SpecificName()
public void setSpecificName(java.lang.String value)
Specific Name
' attribute.
value
- the new value of the 'Specific Name' attribute.getSpecificName()
public java.lang.String getLanguage()
If the meaning of the 'Language' attribute isn't clear, there really should be more of a description here...
Since there are many languages, rather than constrain ourselves to an enumerated list which is difficult to subclass in the EMF environment, we have chosen to use strings. JAVA SQL PERL C ADA COBOL FORTRAN MUMPS PASCAL PLI and so on...setLanguage(String)
,
SQLRoutinesPackage.getRoutine_Language()
public void setLanguage(java.lang.String value)
Language
' attribute.
value
- the new value of the 'Language' attribute.getLanguage()
public java.lang.String getParameterStyle()
If the meaning of the 'Parameter Style' attribute isn't clear, there really should be more of a description here...
Paraphrased from 5WD-02-Foundation-2002-12 The spec only calls for two. Though it seems like an easy choice for enumeration as in the language attribute, other vendors have different styles and since enumeration is not good to subclass within the EMF tooling framework, a string representation is used. 11.50setParameterStyle(String)
,
SQLRoutinesPackage.getRoutine_ParameterStyle()
public void setParameterStyle(java.lang.String value)
Parameter Style
' attribute.
value
- the new value of the 'Parameter Style' attribute.getParameterStyle()
public boolean isDeterministic()
setDeterministic(boolean)
,
SQLRoutinesPackage.getRoutine_Deterministic()
public void setDeterministic(boolean value)
Deterministic
' attribute.
value
- the new value of the 'Deterministic' attribute.isDeterministic()
public DataAccess getSqlDataAccess()
DataAccess
.
If the meaning of the 'Sql Data Access' attribute isn't clear, there really should be more of a description here...
5WD-02-Foundation-2002-12 11.50DataAccess
,
setSqlDataAccess(DataAccess)
,
SQLRoutinesPackage.getRoutine_SqlDataAccess()
public void setSqlDataAccess(DataAccess value)
Sql Data Access
' attribute.
value
- the new value of the 'Sql Data Access' attribute.DataAccess
,
getSqlDataAccess()
public java.lang.String getCreationTS()
setCreationTS(String)
,
SQLRoutinesPackage.getRoutine_CreationTS()
public void setCreationTS(java.lang.String value)
Creation TS
' attribute.
value
- the new value of the 'Creation TS' attribute.getCreationTS()
public java.lang.String getLastAlteredTS()
setLastAlteredTS(String)
,
SQLRoutinesPackage.getRoutine_LastAlteredTS()
public void setLastAlteredTS(java.lang.String value)
Last Altered TS
' attribute.
value
- the new value of the 'Last Altered TS' attribute.getLastAlteredTS()
public java.lang.String getAuthorizationID()
setAuthorizationID(String)
,
SQLRoutinesPackage.getRoutine_AuthorizationID()
public void setAuthorizationID(java.lang.String value)
Authorization ID
' attribute.
value
- the new value of the 'Authorization ID' attribute.getAuthorizationID()
public java.lang.String getSecurity()
setSecurity(String)
,
SQLRoutinesPackage.getRoutine_Security()
public void setSecurity(java.lang.String value)
Security
' attribute.
value
- the new value of the 'Security' attribute.getSecurity()
public java.lang.String getExternalName()
setExternalName(String)
,
SQLRoutinesPackage.getRoutine_ExternalName()
public void setExternalName(java.lang.String value)
External Name
' attribute.
value
- the new value of the 'External Name' attribute.getExternalName()
public org.eclipse.emf.common.util.EList getParameters()
Parameter
.
It is bidirectional and its opposite is 'Routine
'.
If the meaning of the 'Parameters' containment reference list isn't clear, there really should be more of a description here...
SQLRoutinesPackage.getRoutine_Parameters()
,
Parameter.getRoutine()
public org.eclipse.emf.common.util.EList getInputParameters()
public org.eclipse.emf.common.util.EList getOutputParameters()
public org.eclipse.emf.common.util.EList getSource()
Source
.
If the meaning of the 'Source' containment reference list isn't clear, there really should be more of a description here...
SQLRoutinesPackage.getRoutine_Source()
public Schema getSchema()
Routines
'.
If the meaning of the 'Schema' reference isn't clear, there really should be more of a description here...
setSchema(Schema)
,
SQLRoutinesPackage.getRoutine_Schema()
,
Schema.getRoutines()
public void setSchema(Schema value)
Schema
' reference.
value
- the new value of the 'Schema' reference.getSchema()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |