|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.result.FilterExpression
org.eclipse.datatools.connectivity.oda.spec.result.filter.CompositeExpression
public abstract class CompositeExpression
The abstract base class for all composites of one or multiple child filter expressions. Its child expressions are ordered; their relationships are defined by its concrete extended classes.
Constructor Summary | |
---|---|
CompositeExpression()
|
Method Summary | |
---|---|
CompositeExpression |
add(FilterExpression expression)
Appends the specified FilterExpression to its collection of child expressions. |
int |
childCount()
Returns the number of child expressions in this composite. |
FilterExpression[] |
getChildren()
Returns the collection of child expressions in this composite. |
boolean |
isNegatable()
Indicates whether this expression can be negated. |
java.lang.String |
toString()
|
void |
validateSyntax(ValidationContext context)
Performs syntactic validation of this expression in the specified context. |
Methods inherited from class org.eclipse.datatools.connectivity.oda.spec.result.FilterExpression |
---|
getName, getQualifiedId, validate, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompositeExpression()
Method Detail |
---|
public CompositeExpression add(FilterExpression expression)
expression
- any type of filter expression
public int childCount()
public FilterExpression[] getChildren()
FilterExpression
; an empty array is returned if no child expression is setpublic void validateSyntax(ValidationContext context) throws OdaException
FilterExpression
validateSyntax
in class FilterExpression
context
- context for validation; may be null which would limit the scope of validation
OdaException
- if validation failed. The concrete cause is
defined by the subclass implementing this method.public boolean isNegatable()
FilterExpression
isNegatable
in class FilterExpression
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |