| 
 | ||||||||||
| 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.AggregateExpression
public abstract class AggregateExpression
The abstract base class for all ODA aggregate expressions.
 An expression may be validated by an IValidator implemented
 by an extension of the org.eclipse.datatools.connectivity.oda.dynamicResultSet extension point.
 
| Method Summary | |
|---|---|
|  AggregateExpression | add(ExpressionVariable inputSourceVar)Appends the specified input source variable to this. | 
|  java.lang.String | getAlias()Gets the alias of this aggregate expression instance. | 
|  java.lang.String | getName()Gets the name of this expression type. | 
|  java.lang.String | getQualifiedId()Returns the qualified id of this expression type. | 
|  java.util.List<ExpressionVariable> | getVariables()Returns the input source variables. | 
|  boolean | ignoresDuplicateValues()Indicates whether this aggregate should ignore duplicate input values of its input source variable(s). | 
|  boolean | ignoresNullValues()Indicates whether this aggregate should ignore duplicate null values of its input source variable(s). | 
|  void | setAlias(java.lang.String alias)Specifies the alias. | 
|  void | setIgnoreDuplicateValues(boolean ignoresDups)Specifies whether this aggregate to ignore duplicate values of its input source variable(s). | 
|  void | setIgnoreNullValues(boolean ignoresNull)Specifies whether this aggregate should ignore duplicate null values of its input source variable(s). | 
|  void | setVariables(java.util.List<ExpressionVariable> variables)Sets an ordered list of input source variables. | 
|  java.lang.String | toString() | 
|  void | validate()Validates this expression. | 
|  void | validate(ValidationContext context)Validates this expression in the specified context. | 
| abstract  void | validateSyntax(ValidationContext context)Performs syntactic validation of this expression in the specified context. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public AggregateExpression add(ExpressionVariable inputSourceVar)
inputSourceVar - an ExpressionVariable that identifies the source of input values 
                  to apply in the aggregate
public java.util.List<ExpressionVariable> getVariables()
public void setVariables(java.util.List<ExpressionVariable> variables)
variables - the list of variables to set; may be an empty listpublic java.lang.String getQualifiedId()
public java.lang.String getName()
public java.lang.String getAlias()
public void setAlias(java.lang.String alias)
alias - the alias to setpublic boolean ignoresDuplicateValues()
public void setIgnoreDuplicateValues(boolean ignoresDups)
ignoresDups - true to ignore; false otherwisepublic boolean ignoresNullValues()
public void setIgnoreNullValues(boolean ignoresNull)
ignoresNull - true to ignore; false otherwise
public void validate()
              throws OdaException
OdaException
public void validate(ValidationContext context)
              throws OdaException
context - context for validation; may be null which would limit the scope of validation
OdaException - if validation failed. The concrete reason is 
          defined by the subclass implementing this method.
public abstract void validateSyntax(ValidationContext context)
                             throws OdaException
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 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 | |||||||||