org.eclipse.emf.facet.efacet
Interface QueryResult


public interface QueryResult

A representation of the model object 'Query Result'. This class represents the result of a query execution.

The following features are supported:

See Also:
EFacetPackage.getQueryResult()
Generated:
Model:

Method Summary
 java.lang.Exception getException()
          Returns the value of the 'Exception' attribute.
  getParameterValues()
          Returns the value of the 'Parameter Values' containment reference list.
 Query getQuery()
          Returns the value of the 'Query' reference.
 java.lang.Object getResult()
          Returns the value of the 'Result' attribute.
 EObject getScope()
          Returns the value of the 'Scope' reference.
 EObject getSource()
          Returns the value of the 'Source' reference.
 void setException(java.lang.Exception value)
          Sets the value of the 'Exception' attribute.
 void setQuery(Query value)
          Sets the value of the 'Query' reference.
 void setResult(java.lang.Object value)
          Sets the value of the 'Result' attribute.
 void setScope(EObject value)
          Sets the value of the 'Scope' reference.
 void setSource(EObject value)
          Sets the value of the 'Source' reference.
 

Method Detail

getQuery

Query getQuery()
Returns the value of the 'Query' reference. The reference "query" references the executed query.

Returns:
the value of the 'Query' reference.
See Also:
setQuery(Query), EFacetPackage.getQueryResult_Query()
Generated:
Model:
required="true"

setQuery

void setQuery(Query value)
Sets the value of the 'Query' reference.

Parameters:
value - the new value of the 'Query' reference.
See Also:
getQuery()
Generated:

getScope

EObject getScope()
Returns the value of the 'Scope' reference. The scope references the model elements on which the query has been applied.

Returns:
the value of the 'Scope' reference.
See Also:
setScope(EObject), EFacetPackage.getQueryResult_Scope()
Generated:
Model:
required="true"

setScope

void setScope(EObject value)
Sets the value of the 'Scope' reference.

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

getParameterValues

 getParameterValues()
Returns the value of the 'Parameter Values' containment reference list. The list contents are of type ParameterValue. This is the list of the values given as parameters for the query execution.

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

getResult

java.lang.Object getResult()
Returns the value of the 'Result' attribute. This is the result returned by the query execution.

Returns:
the value of the 'Result' attribute.
See Also:
setResult(Object), EFacetPackage.getQueryResult_Result()
Generated:
Model:

setResult

void setResult(java.lang.Object value)
Sets the value of the 'Result' attribute.

Parameters:
value - the new value of the 'Result' attribute.
See Also:
getResult()
Generated:

getException

java.lang.Exception getException()
Returns the value of the 'Exception' attribute.

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

Returns:
the value of the 'Exception' attribute.
See Also:
setException(Exception), EFacetPackage.getQueryResult_Exception()
Generated:
Model:
dataType="org.eclipse.emf.facet.efacet.JavaException"

setException

void setException(java.lang.Exception value)
Sets the value of the 'Exception' attribute.

Parameters:
value - the new value of the 'Exception' attribute.
See Also:
getException()
Generated:

getSource

EObject getSource()
Returns the value of the 'Source' reference.

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

Returns:
the value of the 'Source' reference.
See Also:
setSource(EObject), EFacetPackage.getQueryResult_Source()
Generated:
Model:

setSource

void setSource(EObject value)
Sets the value of the 'Source' reference.

Parameters:
value - the new value of the 'Source' reference.
See Also:
getSource()
Generated: