org.eclipse.emf.facet.efacet
Interface Query

All Known Subinterfaces:
JavaQuery, Literal, TypedElementRef

Deprecated. use the new eFacet metamodel in org.eclipse.emf.facet.efacet.metamodel. Cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=373672

@Deprecated
public interface Query

A representation of the model object 'Query'. A query is the abstract representation of the concept query. This class has to be sub-classed for each existing query language (Java, OCL,...)

The following features are supported:

See Also:
EFacetPackage.getQuery()
Generated:
Model:
abstract="true"

Method Summary
  getParameters()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 EClass getScope()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 boolean isCanBeCached()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 boolean isHasSideEffect()
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 void setCanBeCached(boolean value)
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 void setHasSideEffect(boolean value)
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 void setScope(EClass value)
          Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
 

Method Detail

getScope

@Deprecated
EClass getScope()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Scope' reference. The query's scope defines the type of model elements a query can be applied on.

Returns:
the value of the 'Scope' reference.
See Also:
setScope(EClass), EFacetPackage.getQuery_Scope()
Generated:
Model:

setScope

@Deprecated
void setScope(EClass value)
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Sets the value of the 'Scope' reference.

Parameters:
value - the new value of the 'Scope' reference.
See Also:
getScope()
Generated:

isHasSideEffect

@Deprecated
boolean isHasSideEffect()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Has Side Effect' attribute. The default value is "false". This attribute has to be true if the query modify the model.

Returns:
the value of the 'Has Side Effect' attribute.
See Also:
setHasSideEffect(boolean), EFacetPackage.getQuery_HasSideEffect()
Generated:
Model:
default="false"

setHasSideEffect

@Deprecated
void setHasSideEffect(boolean value)
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Sets the value of the 'Has Side Effect' attribute.

Parameters:
value - the new value of the 'Has Side Effect' attribute.
See Also:
isHasSideEffect()
Generated:

isCanBeCached

@Deprecated
boolean isCanBeCached()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Can Be Cached' attribute. The default value is "false". The attribute "canBeCached" has to be true if calling a query on the same model element will always return the same result.

Returns:
the value of the 'Can Be Cached' attribute.
See Also:
setCanBeCached(boolean), EFacetPackage.getQuery_CanBeCached()
Generated:
Model:
default="false"

setCanBeCached

@Deprecated
void setCanBeCached(boolean value)
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Sets the value of the 'Can Be Cached' attribute.

Parameters:
value - the new value of the 'Can Be Cached' attribute.
See Also:
isCanBeCached()
Generated:

getParameters

@Deprecated
 getParameters()
Deprecated. use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel

Returns the value of the 'Parameters' containment reference list. The list contents are of type Parameter.

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

Returns:
the value of the 'Parameters' containment reference list.
See Also:
EFacetPackage.getQuery_Parameters()
Generated:
Model:
containment="true"