TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.models.hierarchy.extensions
Interface Query

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
CorrelationQuery, InstanceQuery, SimpleSearchQuery, TimeBasedCorrelationQuery
All Known Implementing Classes:
CorrelationQueryImpl, InstanceQueryImpl, QueryImpl, SimpleSearchQueryImpl, TimeBasedCorrelationQueryImpl

public interface Query
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Query'.

The following features are supported:

See Also:
ExtensionsPackage.getQuery()

Method Summary
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 org.eclipse.emf.common.util.EList getOutputElements()
          Returns the value of the 'Output Elements' containment reference list.
 Query getQuery()
          Returns the value of the 'Query' container reference.
 org.eclipse.emf.common.util.EList getSources()
          Returns the value of the 'Sources' attribute list.
 org.eclipse.emf.common.util.EList getSubQuery()
          Returns the value of the 'Sub Query' containment reference list.
 boolean isCount()
          Returns the value of the 'Count' attribute.
 boolean isDistinct()
          Returns the value of the 'Distinct' attribute.
 void setCount(boolean value)
          Sets the value of the 'Count' attribute.
 void setDistinct(boolean value)
          Sets the value of the 'Distinct' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setQuery(Query value)
          Sets the value of the 'Query' container reference.
 
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

getName

public java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), ExtensionsPackage.getQuery_Name()

setName

public void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getSources

public org.eclipse.emf.common.util.EList getSources()
Returns the value of the 'Sources' attribute list. The list contents are of type String. Points to a list of resource URIs, starting EObject URIs or Query names

Returns:
the value of the 'Sources' attribute list.
See Also:
ExtensionsPackage.getQuery_Sources()

isDistinct

public boolean isDistinct()
Returns the value of the 'Distinct' attribute.

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

Returns:
the value of the 'Distinct' attribute.
See Also:
setDistinct(boolean), ExtensionsPackage.getQuery_Distinct()

setDistinct

public void setDistinct(boolean value)
Sets the value of the 'Distinct' attribute.

Parameters:
value - the new value of the 'Distinct' attribute.
See Also:
isDistinct()

isCount

public boolean isCount()
Returns the value of the 'Count' attribute.

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

Returns:
the value of the 'Count' attribute.
See Also:
setCount(boolean), ExtensionsPackage.getQuery_Count()

setCount

public void setCount(boolean value)
Sets the value of the 'Count' attribute.

Parameters:
value - the new value of the 'Count' attribute.
See Also:
isCount()

getOutputElements

public org.eclipse.emf.common.util.EList getOutputElements()
Returns the value of the 'Output Elements' containment reference list. The list contents are of type Operand. It is bidirectional and its opposite is 'Query'.

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

Returns:
the value of the 'Output Elements' containment reference list.
See Also:
ExtensionsPackage.getQuery_OutputElements(), Operand.getQuery()

getSubQuery

public org.eclipse.emf.common.util.EList getSubQuery()
Returns the value of the 'Sub Query' containment reference list. The list contents are of type Query. It is bidirectional and its opposite is 'Query'.

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

Returns:
the value of the 'Sub Query' containment reference list.
See Also:
ExtensionsPackage.getQuery_SubQuery(), getQuery()

getQuery

public Query getQuery()
Returns the value of the 'Query' container reference. It is bidirectional and its opposite is 'Sub Query'.

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

Returns:
the value of the 'Query' container reference.
See Also:
setQuery(Query), ExtensionsPackage.getQuery_Query(), getSubQuery()

setQuery

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

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

TPTP 4.1.0 Platform Project
Public API Specification