|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelQuery
A representation of the model object 'Model Query'. ModelQuery is an abstract class representing a query.
The following features are supported:
Name
Description
Return Type
Scope
Model Query Set
Parameters
Is External Context Dependent
Upper Bound
Lower Bound
QueryPackage.getModelQuery()
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute. |
int |
getLowerBound()
Returns the value of the 'Lower Bound' attribute. |
ModelQuerySet |
getModelQuerySet()
Returns the value of the 'Model Query Set' container reference. |
java.lang.String |
getName()
Returns the value of the 'Name' attribute. |
|
getParameters()
Returns the value of the 'Parameters' containment reference list. |
EClassifier |
getReturnType()
Returns the value of the 'Return Type' reference. |
|
getScope()
Returns the value of the 'Scope' reference list. |
int |
getUpperBound()
Returns the value of the 'Upper Bound' attribute. |
boolean |
isIsExternalContextDependent()
Returns the value of the 'Is External Context Dependent' attribute. |
void |
setDescription(java.lang.String value)
Sets the value of the ' Description ' attribute. |
void |
setIsExternalContextDependent(boolean value)
Sets the value of the ' Is External Context Dependent ' attribute. |
void |
setLowerBound(int value)
Sets the value of the ' Lower Bound ' attribute. |
void |
setModelQuerySet(ModelQuerySet value)
Sets the value of the ' Model Query Set ' container reference. |
void |
setName(java.lang.String value)
Sets the value of the ' Name ' attribute. |
void |
setReturnType(EClassifier value)
Sets the value of the ' Return Type ' reference. |
void |
setUpperBound(int value)
Sets the value of the ' Upper Bound ' attribute. |
Method Detail |
---|
java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
ModelQuery::name is the query name. In each query set the query names must be unique.
setName(String)
,
QueryPackage.getModelQuery_Name()
void setName(java.lang.String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
java.lang.String getDescription()
If the meaning of the 'Description' attribute isn't clear, there really should be more of a description here...
setDescription(String)
,
QueryPackage.getModelQuery_Description()
void setDescription(java.lang.String value)
Description
' attribute.
value
- the new value of the 'Description' attribute.getDescription()
EClassifier getReturnType()
If the meaning of the 'Return Type' reference isn't clear, there really should be more of a description here...
ModelQuery::returnType is an ecore::DataType representing the query return type.
setReturnType(EClassifier)
,
QueryPackage.getModelQuery_ReturnType()
void setReturnType(EClassifier value)
Return Type
' reference.
value
- the new value of the 'Return Type' reference.getReturnType()
getScope()
org.eclipse.emf.ecore.EClass
.
If the meaning of the 'Scope' reference list isn't clear, there really should be more of a description here...
ModelQuery::scope is the set of type on which the query is applicable. Those types are represented by ecore::DataType instances
QueryPackage.getModelQuery_Scope()
ModelQuerySet getModelQuerySet()
Queries
'.
If the meaning of the 'Model Query Set' container reference isn't clear, there really should be more of a description here...
setModelQuerySet(ModelQuerySet)
,
QueryPackage.getModelQuery_ModelQuerySet()
,
ModelQuerySet.getQueries()
void setModelQuerySet(ModelQuerySet value)
Model Query Set
' container reference.
value
- the new value of the 'Model Query Set' container reference.getModelQuerySet()
getParameters()
ModelQueryParameter
.
If the meaning of the 'Parameters' containment reference list isn't clear, there really should be more of a description here...
ModelQuery::parameters a set of ModelQueryParameter instance describing the query parameters.
QueryPackage.getModelQuery_Parameters()
boolean isIsExternalContextDependent()
"false"
.
If the meaning of the 'Is External Context Dependent' attribute isn't clear, there really should be more of a description here...
ModelQuery::isExternalContextDependent must be true if two evaluations of the same query with the same context and parameters can return different results.
setIsExternalContextDependent(boolean)
,
QueryPackage.getModelQuery_IsExternalContextDependent()
void setIsExternalContextDependent(boolean value)
Is External Context Dependent
' attribute.
value
- the new value of the 'Is External Context Dependent' attribute.isIsExternalContextDependent()
int getUpperBound()
"1"
.
If the meaning of the 'Upper Bound' attribute isn't clear, there really should be more of a description here...
setUpperBound(int)
,
QueryPackage.getModelQuery_UpperBound()
void setUpperBound(int value)
Upper Bound
' attribute.
value
- the new value of the 'Upper Bound' attribute.getUpperBound()
int getLowerBound()
"0"
.
If the meaning of the 'Lower Bound' attribute isn't clear, there really should be more of a description here...
setLowerBound(int)
,
QueryPackage.getModelQuery_LowerBound()
void setLowerBound(int value)
Lower Bound
' attribute.
value
- the new value of the 'Lower Bound' attribute.getLowerBound()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |